[問題] 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