This repository was archived by the owner on Jul 19, 2019. It is now read-only.
This repository was archived by the owner on Jul 19, 2019. It is now read-only.
Lession 1 - fail to run npm install & npm start #269
Closed
Description
I start to learn lession 1 with the tutorial and fail to start it.
My node.js version is v6.4.0 and npm version is v2.15.9
Here is the npm install
stderr
npm WARN package.json tutorial@1.0.0 No repository field.
npm WARN unmet dependency /home/xulei/GithubSpaces/react-router-tutorial/lessons/01-setting-up/node_modules/webpack/node_modules/enhanced-resolve requires memory-fs@'^0.2.0' but will load
npm WARN unmet dependency /home/xulei/GithubSpaces/react-router-tutorial/lessons/01-setting-up/node_modules/webpack/node_modules/memory-fs,
npm WARN unmet dependency which is version 0.3.0
npm WARN unmet dependency /home/xulei/GithubSpaces/react-router-tutorial/lessons/01-setting-up/node_modules/webpack/node_modules/uglify-js requires async@'~0.2.6' but will load
npm WARN unmet dependency /home/xulei/GithubSpaces/react-router-tutorial/lessons/01-setting-up/node_modules/webpack/node_modules/async,
npm WARN unmet dependency which is version 1.5.2
npm WARN unmet dependency /home/xulei/GithubSpaces/react-router-tutorial/lessons/01-setting-up/node_modules/webpack/node_modules/watchpack requires async@'^0.9.0' but will load
npm WARN unmet dependency /home/xulei/GithubSpaces/react-router-tutorial/lessons/01-setting-up/node_modules/webpack/node_modules/async,
npm WARN unmet dependency which is version 1.5.2
Here is npm start
stderr
> tutorial@1.0.0 start /home/xulei/GithubSpaces/react-router-tutorial/lessons/01-setting-up
> webpack-dev-server --inline --content-base .
sh: 1: webpack-dev-server: not found
npm ERR! Linux 4.4.0-45-generic
npm ERR! argv "/opt/node-v6.4.0-linux-x64/bin/node" "/usr/bin/npm" "start"
npm ERR! node v6.4.0
npm ERR! npm v2.15.9
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! tutorial@1.0.0 start: `webpack-dev-server --inline --content-base .`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the tutorial@1.0.0 start script 'webpack-dev-server --inline --content-base .'.
npm ERR! This is most likely a problem with the tutorial package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! webpack-dev-server --inline --content-base .
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs tutorial
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls tutorial
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/xulei/GithubSpaces/react-router-tutorial/lessons/01-setting-up/npm-debug.log
Metadata
Metadata
Assignees
Labels
No labels