Skip to content

Joshua Bowen's Notes

Hopefully my notes can help you with your software development

  • Home
  • Contact

Tag: babel

How to Fix “Parsing error: Cannot find module ‘next/babel'” in Next.js

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"]
}
jnbowen Bug Fixes, Next Leave a comment August 10, 2021August 10, 2021 1 Minute

Categories

  • AWS (1)
  • Blockchain (4)
  • Bug Fixes (3)
  • Code Interview (5)
  • Coding Tools (12)
  • CSS (4)
  • D3.js (1)
  • Data Science (22)
  • Data Structures (1)
  • Databases (8)
  • Django (2)
  • Git/Github (8)
  • iOS (2)
  • JavaScript (6)
  • Machine learning (2)
  • matplotlib (1)
  • MongoDB (1)
  • MySQL (1)
  • Next (3)
  • Node (13)
  • Node.js (16)
  • Other (5)
  • pandas (4)
  • PostgreSQL (2)
  • Python (18)
  • React (16)
  • react native (1)
  • Redis (1)
  • Sequelize (1)
  • Sockets (1)
  • SQL (7)
  • Swift (1)
  • Terminal (2)
  • testing (2)
  • typescript (3)
  • Uncategorized (5)
  • Web Basics (2)
  • Web Hosting (8)
  • Web3 (4)
  • websockets (2)
  • Xcode (2)

Recent Posts

  • How to Make Changes to a Previous Git Commit (Even Older Ones!)
  • Auto-Format Python on Save in VS Code with Black
  • 🐛 Streamlit Couldn’t Find selenium — Even Though It Was Installed
  • Troubleshooting Guide: Fixing ‘This is taking much longer than it should’ Error Preventing Expo App Project Loading in Expo Go App
  • How to Install Python Libraries in Visual Studio Code (Mac)
  • Build Realtime Chat App with Socket.io, NodeJS, and ReactJS
  • Adding TypeScript to Existing React Project
  • React Error: Attempted import error ‘X’ is not exported from
  • TypeScript Error: Generic type ‘Array’ requires 1 type argument(s).
  • Testing Event Handlers in React Testing
Blog at WordPress.com.
  • Subscribe Subscribed
    • Joshua Bowen's Notes
    • Join 40 other subscribers
    • Already have a WordPress.com account? Log in now.
    • Joshua Bowen's Notes
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar