Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /////// WITHOUT the '.'
- > tutorial@1.0.0 start /Users/DaveVoyles/Documents/code/react-router-tutorial/lessons/10-clean-urls
- > webpack-dev-server --inline --content-base --history-api-fallback .
- http://localhost:8080/
- webpack result is served from /
- content is served from /Users/DaveVoyles/Documents/code/react-router-tutorial/lessons/10-clean-urls
- 404s will fallback to /index.html
- Hash: 86a8e0ce81db00f25266
- Version: webpack 1.13.3
- Time: 2098ms
- ////////// WITH the '.'
- DaveVoyles@Davids-MacBook-Pro ~/Documents/code/react-router-tutorial/lessons/10-clean-urls master ● npm start
- > tutorial@1.0.0 start /Users/DaveVoyles/Documents/code/react-router-tutorial/lessons/10-clean-urls
- > webpack-dev-server --inline --content-base. --history-api-fallback .
- path.js:8
- throw new TypeError('Path must be a string. Received ' +
- ^
- TypeError: Path must be a string. Received { '': true }
- at assertPath (path.js:8:11)
- at Object.posix.resolve (path.js:426:5)
- at Object.<anonymous> (/Users/DaveVoyles/Documents/code/react-router-tutorial/lessons/10-clean-urls/node_modules/webpack-dev-server/bin/webpack-dev-server.js:119:30)
- at Module._compile (module.js:413:34)
- at Object.Module._extensions..js (module.js:422:10)
- at Module.load (module.js:357:32)
- at Function.Module._load (module.js:314:12)
- at Function.Module.runMain (module.js:447:10)
- at startup (node.js:140:18)
- at node.js:1001:3
- npm ERR! Darwin 16.1.0
- npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
- npm ERR! node v5.6.0
- npm ERR! npm v3.7.2
- npm ERR! code ELIFECYCLE
- npm ERR! tutorial@1.0.0 start: `webpack-dev-server --inline --content-base. --history-api-fallback .`
- npm ERR! Exit status 1
- npm ERR!
- npm ERR! Failed at the tutorial@1.0.0 start script 'webpack-dev-server --inline --content-base. --history-api-fallback .'.
- npm ERR! Make sure you have the latest version of node.js and npm installed.
- npm ERR! If you do, 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. --history-api-fallback .
- 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 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! /Users/DaveVoyles/Documents/code/react-router-tutorial/lessons/10-clean-urls/npm-debug.log
- // SUPPORT LOG
- 0 info it worked if it ends with ok
- 1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ]
- 2 info using npm@3.7.2
- 3 info using node@v5.6.0
- 4 verbose run-script [ 'prestart', 'start', 'poststart' ]
- 5 info lifecycle tutorial@1.0.0~prestart: tutorial@1.0.0
- 6 silly lifecycle tutorial@1.0.0~prestart: no script for prestart, continuing
- 7 info lifecycle tutorial@1.0.0~start: tutorial@1.0.0
- 8 verbose lifecycle tutorial@1.0.0~start: unsafe-perm in lifecycle true
- 9 verbose lifecycle tutorial@1.0.0~start: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/Users/DaveVoyles/Documents/code/react-router-tutorial/lessons/10-clean-urls/node_modules/.bin:/usr/local/bin:/Users/DaveVoyles/.rvm/gems/ruby-2.3.1/bin:/Users/DaveVoyles/.rvm/gems/ruby-2.3.1@global/bin:/Users/DaveVoyles/.rvm/rubies/ruby-2.3.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin:/Users/DaveVoyles/.rvm/bin
- 10 verbose lifecycle tutorial@1.0.0~start: CWD: /Users/DaveVoyles/Documents/code/react-router-tutorial/lessons/10-clean-urls
- 11 silly lifecycle tutorial@1.0.0~start: Args: [ '-c',
- 11 silly lifecycle 'webpack-dev-server --inline --content-base. --history-api-fallback .' ]
- 12 silly lifecycle tutorial@1.0.0~start: Returned: code: 1 signal: null
- 13 info lifecycle tutorial@1.0.0~start: Failed to exec start script
- 14 verbose stack Error: tutorial@1.0.0 start: `webpack-dev-server --inline --content-base. --history-api-fallback .`
- 14 verbose stack Exit status 1
- 14 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:239:16)
- 14 verbose stack at emitTwo (events.js:100:13)
- 14 verbose stack at EventEmitter.emit (events.js:185:7)
- 14 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)
- 14 verbose stack at emitTwo (events.js:100:13)
- 14 verbose stack at ChildProcess.emit (events.js:185:7)
- 14 verbose stack at maybeClose (internal/child_process.js:827:16)
- 14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
- 15 verbose pkgid tutorial@1.0.0
- 16 verbose cwd /Users/DaveVoyles/Documents/code/react-router-tutorial/lessons/10-clean-urls
- 17 error Darwin 16.1.0
- 18 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
- 19 error node v5.6.0
- 20 error npm v3.7.2
- 21 error code ELIFECYCLE
- 22 error tutorial@1.0.0 start: `webpack-dev-server --inline --content-base. --history-api-fallback .`
- 22 error Exit status 1
- 23 error Failed at the tutorial@1.0.0 start script 'webpack-dev-server --inline --content-base. --history-api-fallback .'.
- 23 error Make sure you have the latest version of node.js and npm installed.
- 23 error If you do, this is most likely a problem with the tutorial package,
- 23 error not with npm itself.
- 23 error Tell the author that this fails on your system:
- 23 error webpack-dev-server --inline --content-base. --history-api-fallback .
- 23 error You can get information on how to open an issue for this project with:
- 23 error npm bugs tutorial
- 23 error Or if that isn't available, you can get their info via:
- 23 error npm owner ls tutorial
- 23 error There is likely additional logging output above.
- 24 verbose exit [ 1, true ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement