[英]Parsing error: Cannot find module 'next/babel'
I've just created a new nextjs app by runnning the command "npx create-next-app".我刚刚通过运行命令“npx create-next-app”创建了一个新的 nextjs 应用程序。 After launching my server with "yarn dev" , i got this issue like described below:
使用“yarn dev”启动我的服务器后,我遇到了如下所述的问题:
reservations\frontend\node_modules\next\dist\compiled\babel\eslint-parser.js
how can i fix that?我该如何解决?
尝试在终端中运行yarn add babel-eslint -D
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.