最近开始在学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过很多文章了,但还是不知道该怎么办
想请教各位大大该如何处理这问题><