I am trying to generate build of my next-js app by running "npm run build". but unfortunately i am getting this error everytime. error getting while running npm run build here is my.eslintrc.json file .eslintrc.json and.babelrc .babelrc .
Changing next/babel
in .eslintrc
to next
worked for the warning to disappear. However, in my vscode a bunch of new errors came up related Parsing error: Cannot find module 'next/babel' As a result this answer is a great fit for this question as well: https://stackoverflow.com/a/68193974/13943679
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.