#Parsing error Cannot find module next
1 messages · Page 1 of 1 (latest)
Hi @fathom notch. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
how does your babel config look like?
Sorry @fathom notch, I seem to be having a bit of trouble. Don't worry though, I've pinged my supprt and they will try to fix me up! :technologist:
Perhaps try again in 15mins?
does it looks anything like this?
presets: ['@babel/preset-react', '@babel/preset-env', 'next/babel'],```
I fixed the error by adding ```
{
"extends": ["next/babel","next/core-web-vitals"]
}
i have the default nextjs structure. my sites are in the normal pages folder. ```
/** @type {import('tailwindcss').Config} /
module.exports = {
content: ["./pages/.tsx", "./components/**/*.tsx"],
theme: {
extend: {},
},
plugins: [],
};