kwasi ezor
kwasi ezor

Reputation: 11

Parsing error: Cannot find module 'next/babel'

I've just created a new nextjs app by runnning the command "npx create-next-app". After launching my server with "yarn dev" , i got this issue like described below:

reservations\frontend\node_modules\next\dist\compiled\babel\eslint-parser.js

how can i fix that?

Upvotes: 1

Views: 6225

Answers (1)

rzuberi
rzuberi

Reputation: 9

Try running yarn add babel-eslint -D in your terminal.

Upvotes: 0

Related Questions