dennisreimann / uiengine

Workbench for UI-driven development
https://uiengine.uix.space/
MIT License
366 stars 25 forks source link

Run demo #30

Closed mminguezz closed 5 years ago

mminguezz commented 5 years ago

Hi, I'm try run demo but I get an error with the command "npm run demo"

14:41 $ npm run demo

> @uiengine/monorepo@ demo /Users/user/uiengine
> rimraf test/demo && sleep 1 && uiengine init --dir test/demo --demo && cd test/demo && uiengine build -s -w

sh: uiengine: command not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! @uiengine/monorepo@ demo: `rimraf test/demo && sleep 1 && uiengine init --dir test/demo --demo && cd test/demo && uiengine build -s -w`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the @uiengine/monorepo@ demo script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/user/.npm/_logs/2018-12-24T13_41_23_160Z-debug.log
dennisreimann commented 5 years ago

Hi, did you see and use the getting started guide? It looks like you are trying to run it differently.

Please try to prefix the uiengine command with npx, that should make it work.

mminguezz commented 5 years ago

I use prefix the uiengine command with npx and it work.