最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

nuxt.js - Can't start Nuxt project from scratch - Cannot read properties of undefined (reading 'some') -

programmeradmin0浏览0评论

Can't start a Nuxt project from scratch, getting this error:

ERROR Cannot start nuxt: Cannot read properties of undefined (reading 'some') nuxi 13:10:24

at /C:/Users/sergi/Documents/Nuxt3/Tutorials/udemy-tutorial/udemy-tutorial/node_modules/nuxt/dist/shared/nuxt.B7-cu52A.mjs:3776:21
at /C:/Users/sergi/Documents/Nuxt3/Tutorials/udemy-tutorial/udemy-tutorial/node_modules/hookable/dist/index.mjs:48:66
at /C:/Users/sergi/Documents/Nuxt3/Tutorials/udemy-tutorial/udemy-tutorial/node_modules/hookable/dist/index.mjs:48:56
at async generateApp (/C:/Users/sergi/node_modules/.pnpm/[email protected]/node_modules/nuxt3/dist/index.mjs:2225:3)
at async _applyPromised (/C:/Users/sergi/node_modules/.pnpm/[email protected]/node_modules/perfect-debounce/dist/index.mjs:54:10)

I'm using npm 11.2.0 and node v22.14.0

package.json:

{ "name": "nuxt-app", "private": true, "type": "module", "scripts": { "build": "nuxt build", "dev": "nuxt dev", "generate": "nuxt generate", "preview": "nuxt preview", "postinstall": "nuxt prepare" }, "dependencies": { "nuxt": "^3.16.0", "vue": "^3.5.13", "vue-router": "^4.5.0" } }

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论