在npm install 的时候一直提示这些错误:
npm WARN deprecated bfj-node4@5.3.1: Switch to the bfj
package for fixes and new features!
npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
uglifyjs-webpack-plugin@0.4.6 postinstall E:gitmpvuemptestnode_moduleswebpacknode_modulesuglifyjs-webpack-plugin
node lib/post_install.js
npm WARN rollback Rolling back node-pre-gyp@0.10.0 failed (this is probably harmless): EPERM: operation not permitted, lstat 'E:gitmpvuemptestnode_modulesfseventsnode_modules'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN vue-loader@13.7.2 requires a peer of vue-template-compiler@^2.0.0 but none is installed. You must install peer dependencies yourself.
运行小程序的时候问题也不大,就是pages里新增加的页面main.json的page不会自动更新了。