win10创建mpvue快速模板一直出问题

在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不会自动更新了。

阅读 3.6k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题