为了账号安全,请及时绑定邮箱和手机立即绑定

rpm run build err!

http://img1.sycdn.imooc.com//5e184aa500019f4408790526.jpg

 npm run build


> vue@1.0.0 build F:\workspace\ui\vue

> webpack --config webpack.config.js


internal/modules/cjs/loader.js:584

    throw err;

    ^


Error: Cannot find module 'p-try'

    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)

    at Function.Module._load (internal/modules/cjs/loader.js:508:25)

    at Module.require (internal/modules/cjs/loader.js:637:17)

    at require (internal/modules/cjs/helpers.js:22:18)

    at Object.<anonymous> (F:\workspace\ui\vue\node_modules\_p-limit@2.2.2@p-limit\index.js:2:14)

    at Module._compile (internal/modules/cjs/loader.js:701:30)

    at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)

    at Module.load (internal/modules/cjs/loader.js:600:32)

    at tryModuleLoad (internal/modules/cjs/loader.js:539:12)

    at Function.Module._load (internal/modules/cjs/loader.js:531:3)

npm ERR! code ELIFECYCLE

npm ERR! errno 1

npm ERR! vue@1.0.0 build: `webpack --config webpack.config.js`

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the vue@1.0.0 build script.

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.


npm ERR! A complete log of this run can be found in:

npm ERR!     C:\Users\7\AppData\Roaming\npm-cache\_logs\2020-01-10T09_55_56_335Z-debug.log


正在回答

1 回答

提示找不到p-try,你可以试着npm i 一下

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

rpm run build err!

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信