出现“defineNuxtConfig is not defined”错误

问题描述 投票:0回答:0

情况

npx nuxi init my-project-name
cd my-project-name
npm install

当我运行这个命令时,我收到错误“defineNuxtConfig is not defined.”

我尝试重新安装 node.js,但无济于事。
这个错误的原因可能是什么?

版本
节点:18.15.0
下一个:3.3.2
npm:9.5.0

重新安装 node.js 重新安装 npm、npx、typescript、nuxt 全局包

nuxt.js nuxtjs3 tsconfig
© www.soinside.com 2019 - 2024. All rights reserved.