angular icon indicating copy to clipboard operation
angular copied to clipboard

npm run demo error

Open bmadhan90 opened this issue 8 years ago • 12 comments

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

[email protected] 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! [email protected] 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 [email protected] 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>

bmadhan90 avatar May 25 '18 04:05 bmadhan90

Same error here.

grigoreme avatar May 25 '18 10:05 grigoreme

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

travist avatar Jun 01 '18 03:06 travist

same issue here, do we have a solution.

``$ npm run demo

[email protected] 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! [email protected] 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 [email protected] 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``

kikkiraj avatar Jun 04 '18 16:06 kikkiraj

still same error.

bmadhan90 avatar Jun 07 '18 02:06 bmadhan90

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.

kaleguy avatar Jun 26 '18 18:06 kaleguy

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

Narasinha avatar Jul 05 '18 07:07 Narasinha

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?

kaleguy avatar Jul 05 '18 10:07 kaleguy

@kaleguy We are using Windows 10

Narasinha avatar Jul 05 '18 11:07 Narasinha

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 [email protected] 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.

kaleguy avatar Jul 05 '18 13:07 kaleguy

@kaleguy Thank you ! Please update instructions as well

Narasinha avatar Jul 10 '18 10:07 Narasinha

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.

kaleguy avatar Jul 16 '18 22:07 kaleguy

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

travist avatar Sep 05 '18 04:09 travist