Advertisement
DaveVoyles

React router pull request

Nov 15th, 2016
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.84 KB | None | 0 0
  1. /////// WITHOUT the '.'
  2.  
  3. > tutorial@1.0.0 start /Users/DaveVoyles/Documents/code/react-router-tutorial/lessons/10-clean-urls
  4. > webpack-dev-server --inline --content-base --history-api-fallback .
  5.  
  6. http://localhost:8080/
  7. webpack result is served from /
  8. content is served from /Users/DaveVoyles/Documents/code/react-router-tutorial/lessons/10-clean-urls
  9. 404s will fallback to /index.html
  10. Hash: 86a8e0ce81db00f25266
  11. Version: webpack 1.13.3
  12. Time: 2098ms
  13.  
  14.  
  15.  
  16. ////////// WITH the '.'
  17. DaveVoyles@Davids-MacBook-Pro  ~/Documents/code/react-router-tutorial/lessons/10-clean-urls   master ●  npm start
  18.  
  19. > tutorial@1.0.0 start /Users/DaveVoyles/Documents/code/react-router-tutorial/lessons/10-clean-urls
  20. > webpack-dev-server --inline --content-base. --history-api-fallback .
  21.  
  22. path.js:8
  23. throw new TypeError('Path must be a string. Received ' +
  24. ^
  25.  
  26. TypeError: Path must be a string. Received { '': true }
  27. at assertPath (path.js:8:11)
  28. at Object.posix.resolve (path.js:426:5)
  29. 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)
  30. at Module._compile (module.js:413:34)
  31. at Object.Module._extensions..js (module.js:422:10)
  32. at Module.load (module.js:357:32)
  33. at Function.Module._load (module.js:314:12)
  34. at Function.Module.runMain (module.js:447:10)
  35. at startup (node.js:140:18)
  36. at node.js:1001:3
  37.  
  38. npm ERR! Darwin 16.1.0
  39. npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
  40. npm ERR! node v5.6.0
  41. npm ERR! npm v3.7.2
  42. npm ERR! code ELIFECYCLE
  43. npm ERR! tutorial@1.0.0 start: `webpack-dev-server --inline --content-base. --history-api-fallback .`
  44. npm ERR! Exit status 1
  45. npm ERR!
  46. npm ERR! Failed at the tutorial@1.0.0 start script 'webpack-dev-server --inline --content-base. --history-api-fallback .'.
  47. npm ERR! Make sure you have the latest version of node.js and npm installed.
  48. npm ERR! If you do, this is most likely a problem with the tutorial package,
  49. npm ERR! not with npm itself.
  50. npm ERR! Tell the author that this fails on your system:
  51. npm ERR! webpack-dev-server --inline --content-base. --history-api-fallback .
  52. npm ERR! You can get information on how to open an issue for this project with:
  53. npm ERR! npm bugs tutorial
  54. npm ERR! Or if that isn't available, you can get their info via:
  55. npm ERR! npm owner ls tutorial
  56. npm ERR! There is likely additional logging output above.
  57.  
  58. npm ERR! Please include the following file with any support request:
  59. npm ERR! /Users/DaveVoyles/Documents/code/react-router-tutorial/lessons/10-clean-urls/npm-debug.log
  60.  
  61.  
  62.  
  63.  
  64. // SUPPORT LOG
  65. 0 info it worked if it ends with ok
  66. 1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ]
  67. 2 info using npm@3.7.2
  68. 3 info using node@v5.6.0
  69. 4 verbose run-script [ 'prestart', 'start', 'poststart' ]
  70. 5 info lifecycle tutorial@1.0.0~prestart: tutorial@1.0.0
  71. 6 silly lifecycle tutorial@1.0.0~prestart: no script for prestart, continuing
  72. 7 info lifecycle tutorial@1.0.0~start: tutorial@1.0.0
  73. 8 verbose lifecycle tutorial@1.0.0~start: unsafe-perm in lifecycle true
  74. 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
  75. 10 verbose lifecycle tutorial@1.0.0~start: CWD: /Users/DaveVoyles/Documents/code/react-router-tutorial/lessons/10-clean-urls
  76. 11 silly lifecycle tutorial@1.0.0~start: Args: [ '-c',
  77. 11 silly lifecycle 'webpack-dev-server --inline --content-base. --history-api-fallback .' ]
  78. 12 silly lifecycle tutorial@1.0.0~start: Returned: code: 1 signal: null
  79. 13 info lifecycle tutorial@1.0.0~start: Failed to exec start script
  80. 14 verbose stack Error: tutorial@1.0.0 start: `webpack-dev-server --inline --content-base. --history-api-fallback .`
  81. 14 verbose stack Exit status 1
  82. 14 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:239:16)
  83. 14 verbose stack at emitTwo (events.js:100:13)
  84. 14 verbose stack at EventEmitter.emit (events.js:185:7)
  85. 14 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)
  86. 14 verbose stack at emitTwo (events.js:100:13)
  87. 14 verbose stack at ChildProcess.emit (events.js:185:7)
  88. 14 verbose stack at maybeClose (internal/child_process.js:827:16)
  89. 14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
  90. 15 verbose pkgid tutorial@1.0.0
  91. 16 verbose cwd /Users/DaveVoyles/Documents/code/react-router-tutorial/lessons/10-clean-urls
  92. 17 error Darwin 16.1.0
  93. 18 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
  94. 19 error node v5.6.0
  95. 20 error npm v3.7.2
  96. 21 error code ELIFECYCLE
  97. 22 error tutorial@1.0.0 start: `webpack-dev-server --inline --content-base. --history-api-fallback .`
  98. 22 error Exit status 1
  99. 23 error Failed at the tutorial@1.0.0 start script 'webpack-dev-server --inline --content-base. --history-api-fallback .'.
  100. 23 error Make sure you have the latest version of node.js and npm installed.
  101. 23 error If you do, this is most likely a problem with the tutorial package,
  102. 23 error not with npm itself.
  103. 23 error Tell the author that this fails on your system:
  104. 23 error webpack-dev-server --inline --content-base. --history-api-fallback .
  105. 23 error You can get information on how to open an issue for this project with:
  106. 23 error npm bugs tutorial
  107. 23 error Or if that isn't available, you can get their info via:
  108. 23 error npm owner ls tutorial
  109. 23 error There is likely additional logging output above.
  110. 24 verbose exit [ 1, true ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement