formio / angular

JSON powered forms for Angular
https://formio.github.io/angular-demo
MIT License
615 stars 462 forks source link

npm run demo error #176

Closed bmadhan90 closed 5 years ago

bmadhan90 commented 6 years ago

PS C:\Users\madhan\Downloads\Working Ex\angular-formio-master> npm run demo

angular-formio@2.0.0-alpha.8 demo C:\Users\madhan\Downloads\Working Ex\angular-formio-master gulp build; concurrently --raw "webpack-dev-server --open" "npm run test:watch"

[11:54:45] Using gulpfile ~\Downloads\Working Ex\angular-formio-master\gulpfile.js [11:54:45] Task 'build;' is not in your gulpfile [11:54:45] Please check the documentation for proper gulpfile formatting npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! angular-formio@2.0.0-alpha.8 demo: gulp build; concurrently --raw "webpack-dev-server --open" "npm run test:watch" npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the angular-formio@2.0.0-alpha.8 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! C:\Users\madhan\AppData\Roaming\npm-cache_logs\2018-05-25T03_54_45_232Z-debug.log PS C:\Users\madhan\Downloads\Working Ex\angular-formio-master>

grigoreme commented 6 years ago

Same error here.

travist commented 6 years ago

I am not getting this error. The task exists within the gulpfile.

kikkiraj commented 5 years ago

same issue here, do we have a solution.

``$ npm run demo

angular-formio@2.0.0-rc.2 demo c:\Development\FormIOApp\angular-formio gulp build; concurrently --raw "webpack-dev-server --open" "npm run test:watch"

[11:24:48] Using gulpfile c:\Development\FormIOApp\angular-formio\gulpfile.js [11:24:48] Task 'build;' is not in your gulpfile [11:24:48] Please check the documentation for proper gulpfile formatting npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! angular-formio@2.0.0-rc.2 demo: gulp build; concurrently --raw "webpack-dev-server --open" "npm run test:watch" npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the angular-formio@2.0.0-rc.2 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! C:\Users\SM\AppData\Roaming\npm-cache_logs\2018-06-04T16_24_48_150Z-debug.log``

bmadhan90 commented 5 years ago

still same error.

kaleguy commented 5 years ago

This seems to be a windows issue. Windows doesn't like the semi-colon after "build".

Tried changing the semi-colon to "&&" but then got other errors on Windows. Seems to run OK on Ubuntu.

Narasinha commented 5 years ago

@kaleguy : I'm also facing same issue. Please can you explain me where excellently needs to be changed

kaleguy commented 5 years ago

I couldn't get it to work on Windows even after fixing the semi colon. Works fine on Mac or Ubuntu with no changes though. What OS are you using?

Narasinha commented 5 years ago

@kaleguy We are using Windows 10

kaleguy commented 5 years ago

If you are running Windows on a desktop (and not an AWS virtual machine) you should be able to get the app working with Docker. If you need instructions I'll upload some. On Thu, Jul 5, 2018 at 7:20 AM Narasinha notifications@github.com wrote:

@kaleguy We are using Windows 10

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

Narasinha commented 5 years ago

@kaleguy Thank you ! Please update instructions as well

kaleguy commented 5 years ago

Just added Dockerized version PR. https://github.com/kaleguy/angular-formio/tree/docker

Should work on Windows, check it out.

BTW angular-starterkit works fine on Windows, issue is with this project's setup, not with Form.io.

travist commented 5 years ago

Fixed with the latest. The demo is now hosted @ https://github.com/formio/angular-demo.