Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

nextjs error can not find next/bable

Create file called .babelrc in your root directory and add this code:

{
  "presets": ["next/babel"],
  "plugins": []
}
And in .eslintrc, replace the existing code with:

{
  "extends": ["next/babel"]
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #nextjs #error #find
ADD COMMENT
Topic
Name
7+5 =