我使用了npm init进行安装,再根据视频安装rollup的时候就开始报错了
来源:2-7 模块化 - rollup安装
慕用0863198
2019-12-07
npm i --save-dev rollup rollup-plugin-node-reslove rollup-plugin-babel babel-plugin-external-helpers babel-preset-latest
npm WARN deprecated babel-preset-latest@6.24.1: We’re super ?? excited that you’re trying to use ES2017+ syntax, but instead of making more yearly presets ?? , Babel now has a better preset that we recommend you use instead: npm install babel-preset-env --save-dev. preset-env without options will compile ES2015+ down to ES5 just like using all the presets together and thus is more future proof. It also allows you to target specific browsers so that Babel can do less work and you can ship native ES2015+ to user ?? ! We are also in the process of releasing v7, so please give http://babeljs.io/blog/2017/09/12/planning-for-7.0 a read and help test it out in beta! Thanks so much for using Babel ??, please give us a follow on Twitter @babeljs for news on Babel, join slack.babeljs.io for discussion/development and help support the project at opencollective.com/babel
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/rollup-plugin-node-reslove - Not found
npm ERR! 404
npm ERR! 404 ‘rollup-plugin-node-reslove@latest’ is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\wuyou\AppData\Roaming\npm-cache_logs\2019-12-07T07_02_16_619Z-debug.log
这个情况是为什么呢
1回答
-
resolve 写错了吧
012019-12-07
相似问题