[问题] react webpack

楼主: gn301046 (Doraemon)   2016-07-15 11:43:38
最近开始在学react,用Cloud9来做开发环境,只是在练习用webpack的时候发现
只要require("SQLite3"),之后npm run build,就会出现错误,下面是错误讯息
https://imgur.com/a/5RoJP
https://imgur.com/a/WbyjA
https://imgur.com/a/T4DYG
https://imgur.com/a/yN55s
https://imgur.com/a/fSy7c
https://imgur.com/a/Xa4Hj
https://imgur.com/a/WbjZZ
下面是webpack.config.js
https://imgur.com/a/5qhuV
package.json
https://imgur.com/a/jzTHe
已经google过很多文章了,但还是不知道该怎么办
想请教各位大大该如何处理这问题><
作者: s25g5d4 (function(){})()   2016-07-15 19:16:00
这是 binary package, 当然没办法被 webpack 包起来

Links booklink

Contact Us: admin [ a t ] ucptt.com