Open ask4jm opened 1 month ago
i have never used vercel/nextjs so i cannot test, but try looking at this:
https://github.com/eisberg-labs/nextjs-node-loader
https://github.com/eisberg-labs/nextjs-node-loader/tree/main/examples/next-14-el-slugify
I am using Netlify and have the same error.
I already included nextjs node loader (I had another error way earlier and including this fixed it):
config.module.rules.push({ test: /\.node$/, use: [ { loader: "nextjs-node-loader", }, ], });
Sadly I still get the error from the issue:
Anyy clues!! Thanks
Error: Cannot find module './build/Release/sweph.node' Require stack: