当我尝试使用Next.js运行npm run dev应用程序时,我会收到一条错误消息,上面说我没有需要的包来运行下一个带有类型记录的包:
If you are not trying to use TypeScript, please remove the tsconfig.json file from your package root (and any TypeScript files in your pages dire
当尝试使用nextjs运行命令时,npm run dev显示错误-无法加载SWC二进制文件在此处查看更多信息:https://nextjs.org/docs/messages/failed-loading-swc任何小贴士 此外,我注意到这是NextJS讨论page上的一个当前问题,它与新的锈基compiler有关,它比巴别塔更快
我从git中拉出了一个nextJS应用程序,并尝试使用npm run dev,npx next dev npm run start启动它,事实上,我运行的每个命令都给了我相同的错误。为了进一步解决问题,我按照youtube的教程开始了一个全新的项目,一次又一次地运行npx create-next-app appname。同样的错误。:3000, url: http://localhost:3000 error - Failed to load next.config.js, see more info here https:/&