现在用@vue/cli安装的已经是4了吗?我装完版本号是4.4.6
现在用@vue/cli安装的已经是4了吗?我装完版本号是4.4.6
现在用@vue/cli安装的已经是4了吗?我装完版本号是4.4.6
2020-07-06
你们有没有遇到vuecli4.4.6运行报错:
INFO Starting development server...
ERROR Error: Package exports for 'D:\project\VUE\test\node_modules\colorette'
do not define a valid '.' target
Error: Package exports for 'D:\project\VUE\test\node_modules\colorette' do not d
efine a valid '.' target
at resolveExportsTarget (internal/modules/cjs/loader.js:455:13)
at resolveExports (internal/modules/cjs/loader.js:388:16)
at Function.Module._findPath (internal/modules/cjs/loader.js:487:20)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:782:27)
at Function.Module._load (internal/modules/cjs/loader.js:688:27)
at Module.require (internal/modules/cjs/loader.js:850:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (D:\project\VUE\test\node_modules\autoprefixer\lib\aut
oprefixer.js:5:17)
at Module._compile (internal/modules/cjs/loader.js:958:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:994:10)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! test@0.1.0 serve: `vue-cli-service serve`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the test@0.1.0 serve script.
npm ERR! This is probably not a problem with npm. There is likely additional log
ging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\ASUS\AppData\Roaming\npm-cache\_logs\2020-07-22T04_12_35_7
32Z-debug.log
举报