npm err! fibers@4.0.2 install: `node build.js || nodejs build.js` when installing Vuetify in Nuxt(NPM错误!在Nuxt中安装Vuentify时,fires@4.0.2 install:`node build.js||NodeJS build.js`)
问题描述
我使用npx create-nuxt-app
但在运行dev servernpm run dev
时出现以下错误
╭──────────────────────────────────────────────────────────────────╮
│ │
│ ✖ Nuxt Fatal Error │
│ │
│ Error: Module `@nuxtjs/vuetify` not found. Please ensure │
│ `@nuxtjs/vuetify` is in `devDependencies` and installed. │
│ HINT: During build step, for npm/yarn, `NODE_ENV=production` │
│ or `--production` should NOT be used. │
│ │
╰──────────────────────────────────────────────────────────────────╯
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! src@1.0.0 dev: `nuxt`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the src@1.0.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
当我尝试运行npm install
时,它显示错误(此消息取自npm-cache日志)
781 verbose stack Error: fibers@4.0.2 install: `node build.js || nodejs build.js`
781 verbose stack Exit status 1
781 verbose stack at EventEmitter.<anonymous> (C:Program Files
odejs
ode_modules
pm
ode_modules
pm-lifecycleindex.js:332:16)
781 verbose stack at EventEmitter.emit (events.js:321:20)
781 verbose stack at ChildProcess.<anonymous> (C:Program Files
odejs
ode_modules
pm
ode_modules
pm-lifecyclelibspawn.js:55:14)
781 verbose stack at ChildProcess.emit (events.js:321:20)
781 verbose stack at maybeClose (internal/child_process.js:1026:16)
781 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
782 verbose pkgid fibers@4.0.2
783 verbose cwd H:\_medical_reports_(_arkham_asylum_)OthersCodeWebvscodegit ravelersofbanagladeshclientsrc
784 verbose Windows_NT 6.1.7601
785 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install"
786 verbose node v13.8.0
787 verbose npm v6.13.6
788 error code ELIFECYCLE
789 error errno 1
790 error fibers@4.0.2 install: `node build.js || nodejs build.js`
790 error Exit status 1
791 error Failed at the fibers@4.0.2 install script.
791 error This is probably not a problem with npm. There is likely additional logging output above.
792 verbose exit [ 1, true ]
这是一个全新的Nuxt应用,我没有碰过任何文件
我还尝试使用Vue cli创建Nuxt应用程序,它起作用了(没有使用vutify),当我尝试安装vutify时,它也出现了类似的错误
我使用的是今天全新安装的Vue 2.9.6和节点13.8.0
推荐答案
node
版本14在Windows计算机上使用vutify创建nuxt应用程序时会导致此问题。目前唯一已知的解决方案是将node
降级到版本12 LTS。
引用:
nuxt/create-nuxt-app
nuxt-community/vuetify-module
编辑:link for all node releases downloads
这篇关于NPM错误!在Nuxt中安装Vuentify时,fires@4.0.2 install:`node build.js||NodeJS build.js`的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:NPM错误!在Nuxt中安装Vuentify时,fires@4.0.2 install:`node build.js||NodeJS build.js`


- addEventListener 在 IE 11 中不起作用 2022-01-01
- 400或500级别的HTTP响应 2022-01-01
- Fetch API 如何获取响应体? 2022-01-01
- Quasar 2+Apollo:错误:找不到ID为默认的Apollo客户端。如果您在组件设置之外,请使用ProvideApolloClient() 2022-01-01
- Flexslider 箭头未正确显示 2022-01-01
- 失败的 Canvas 360 jquery 插件 2022-01-01
- CSS媒体查询(最大高度)不起作用,但为什么? 2022-01-01
- 使用RSelum从网站(报纸档案)中抓取多个网页 2022-09-06
- Css:将嵌套元素定位在父元素边界之外一点 2022-09-07
- 如何使用 JSON 格式的 jQuery AJAX 从 .cfm 页面输出查 2022-01-01