FrontendMasters / angular-components

[Course] Code for the AngularJS 1.x Components & ES6 Course

Home Page:https://frontendmasters.com/courses/angular-components-es6/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bug-step-01 Failed at the ng-blog@1.0.0 start script 'gulp'

athergeek opened this issue · comments

commented

for step-01, while doing npm start, i am getting following error.

12 error Windows_NT 10.0.10586
13 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "start"
14 error node v4.4.0
15 error npm v2.14.20
16 error code ELIFECYCLE
17 error ng-blog@1.0.0 start: gulp
17 error Exit status 1
18 error Failed at the ng-blog@1.0.0 start script 'gulp'.
18 error This is most likely a problem with the ng-blog package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error gulp
18 error You can get information on how to open an issue for this project with:
18 error npm bugs ng-blog
18 error Or if that isn't available, you can get their info via:
18 error
18 error npm owner ls ng-blog
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]

commented

For some reasons, the babel loader settings mentioned on babel-loader page did't worked for me,
https://github.com/babel/babel-loader

i had to use exactly the same settings that scott mentioned, and it worked for me.

This works
{ test: /.js$/, loader: 'babel?stage=2', exclude: /(node_modules|bower_components)/}