Replies: 1 comment
-
|
This error is occurring because the Here are a few solutions: Solution 1: Use an older Node version (Recommended)Since you already have nvm installed, switch to Node 16 or 18: nvm install 16
nvm use 16
# or
nvm install 18
nvm use 18
# Then run your app again
npm run devSolution 2: Check if Remake has been updatedThe project might have an updated version that doesn't rely on the # Check for updates
npm outdated
# Or try installing the latest version
npm install remake@latestSolution 3: Modify the project to not use esmIf you want to stick with Node 22, you'd need to remove the dependency on require = require("esm")(module);You'd need to convert the project to use native ES modules or CommonJS without the esm wrapper, but this might require significant changes to the codebase. !!! The easiest solution is to use Node 16 or 18 with nvm, as the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I try the following-
and get- ─╯
Any help appreciated
Beta Was this translation helpful? Give feedback.
All reactions