已经按照官网说的Npm安装:npm install flyio --save.
var Fly=require("flyio/dist/npm/wx")
var fly=new Fly
但是报错
These dependencies were not found:
- fs in ./~/flyio/src/node/index.js, ./~/request/lib/har.js and 2 others
- dgram in ./~/sntp/lib/index.js, ./~/native-dns/lib/server.js and 2 others
To install them, you can run: npm install --save fs dgram
我解决了,
但是跟冉娃娃不一样,
需要在
webpack.base.conf.js文件里面配置