Closed martinwells closed 8 years ago
Also, builds are emitting:
Version: webpack 1.12.13
Time: 2774ms
Asset Size Chunks Chunk Names
32400f4e08932a94d8bfd2422702c446.eot 70.8 kB [emitted]
db812d8a70a4e88e888744c1c9a27e89.woff2 66.6 kB [emitted]
a35720c2fed2c7f043bc7e4ffb45e073.woff 83.6 kB [emitted]
a3de2170e4e9df77161ea5d3f31b2668.ttf 142 kB [emitted]
f775f9cca88e21d45bebe185b27c0e5b.svg 366 kB [emitted]
main-21351e157a7adebc3681.js 499 bytes 0 [emitted] main
main-21351e157a7adebc3681.css 25.5 kB 0 [emitted] main
main-21351e157a7adebc3681.js.map 4.63 kB 0 [emitted] main
main-21351e157a7adebc3681.css.map 106 bytes 0 [emitted] main
[0] multi main 52 bytes {0} [built] [2 errors]
+ 4 hidden modules
ERROR in Loader /home/ec2-user/coverage.io/node_modules/babel/index.js didn't return a function
@ multi main
ERROR in Bootstrap's JavaScript requires jQuery
@ multi main
Child extract-text-webpack-plugin:
Asset Size Chunks Chunk Names
32400f4e08932a94d8bfd2422702c446.eot 70.8 kB [emitted]
db812d8a70a4e88e888744c1c9a27e89.woff2 66.6 kB [emitted]
a35720c2fed2c7f043bc7e4ffb45e073.woff 83.6 kB [emitted]
a3de2170e4e9df77161ea5d3f31b2668.ttf 142 kB [emitted]
f775f9cca88e21d45bebe185b27c0e5b.svg 366 kB [emitted]
+ 16 hidden modules
Managed to get rid of the build errors by removing babel and install babel-loader only.
Still see the other errors though. Any tips on how to debug this?
This turned out to be my use of a .env file, which included NODE_PATH=./src (even with export NODE_PATH set as well).
Removing the .env file solved the issue.
When trying to run on production (but only on an AWS linux server). Local production works fine.
Here's my NPM list: any ideas?