Skip to content

Instantly share code, notes, and snippets.

@hallgren
Created January 8, 2015 20:18
Show Gist options
  • Save hallgren/d8b4d5e9d022f9e6ba96 to your computer and use it in GitHub Desktop.
Save hallgren/d8b4d5e9d022f9e6ba96 to your computer and use it in GitHub Desktop.
webpack error
$ webpack --progress --colors --watch
Hash: 76a8b97006fd5ef19465
Version: webpack 1.4.15
Time: 1748ms
Asset Size Chunks Chunk Names
reactize.min.js 79259 0 [emitted] main
[0] ./src/reactize.js 998 {0} [built]
+ 9 hidden modules
ERROR in ./~/react-tools/main.js
Module not found: Error: Cannot resolve 'file' or 'directory' ./vendor/fbtransform/visitors in /Users/morganhallgren/Dropbox (Upptec)/code/ssorallen/turbo-react/node_modules/react-tools
@ ./~/react-tools/main.js 3:15-55
ERROR in ./~/react/react.js
Module not found: Error: Cannot resolve 'file' or 'directory' ./lib/React in /Users/morganhallgren/Dropbox (Upptec)/code/ssorallen/turbo-react/node_modules/react
@ ./~/react/react.js 1:17-39
ERROR in ./~/react-tools/main.js
Module not found: Error: Cannot resolve module 'jstransform/visitors/type-syntax' in /Users/morganhallgren/Dropbox (Upptec)/code/ssorallen/turbo-react/node_modules/react-tools
@ ./~/react-tools/main.js 5:18-61
ERROR in ./~/react-tools/~/jstransform/src/jstransform.js
Module parse failed: /Users/morganhallgren/Dropbox (Upptec)/code/ssorallen/turbo-react/node_modules/react-tools/node_modules/jstransform/src/jstransform.js Line 84: Unexpected end of input
You may need an appropriate loader to handle this file type.
| parentScope: state.localScope,
| identifiers: {},
| tempVarI
@ ./~/react-tools/main.js 4:16-38
@ssorallen
Copy link

Try running npm install in the project directory and then re-running webpack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment