Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialModesto Javier Espín Giménez
7,783 PointsThere's an error when running the last command, npm run build.index.js
Everything was going smooth like in the video except in the last step, where I get this message:
npm ERR! Windows_NT 6.3.9600 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin " "build/index.js" npm ERR! node v6.10.3 npm ERR! npm v3.10.10
npm ERR! missing script: build/index.js npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request: npm ERR! C:\Users\MJ\Documents\Programación\babel-workshop\babel-workshop\npm-debug.log
I'm totally new with Node.js, so I have no idea what does all this mean. Any clue?
oleh obiuh
Courses Plus Student 45 Pointsoleh obiuh
Courses Plus Student 45 PointsLook here: https://teamtreehouse.com/community/invalid-configuration-object-when-running-npm-run-build-with-webpack-221
Just change your code in webpack.config.js