We just released a new version of
next-multilingual where one of the core change was supporting localized APIs and now the Netlify build is failing (while it is working on Vercel and locally).
The Netlify application is: ttps://next-multilingual.netlify.app
Here is the error log:
6:49:22 PM: ──────────────────────────────────────────────────────────────── 6:49:22 PM: Dependencies installation error 6:49:22 PM: ──────────────────────────────────────────────────────────────── 6:49:22 PM: 6:49:22 PM: Error message 6:49:22 PM: A Netlify Function failed to require one of its dependencies. 6:49:22 PM: Please make sure it is present in the site's top-level "package.json". 6:49:22 PM: In file "/opt/build/repo/.netlify/functions-internal/next_index/next_index.js" 6:49:22 PM: Cannot find module '../webpack-runtime.js' from '/opt/build/repo/.netlify/functions-internal/next_index/nextPage/pages'
The public repository of the application can be found here: GitHub - Avansai/next-multilingual-example: Standalone `next-multilingual` example application.