Skip to content

magician-margatroid/rnv-next.js-webpack-1.0.0-rc.9

Repository files navigation

Sample Next.js app with ReNative 1.0.0-rc9, where webpack configs in next.config.js do not take effect, so bundling will fail with following error:

  Error: Module not found: Can't resolve 'fs/promises'

  Import trace for requested module:
    ./node_modules/@sap-cloud-sdk/connectivity/dist/http-agent/index.js
    ./node_modules/@sap-cloud-sdk/connectivity/dist/index.js
    ./src/app/index.tsx
    ./src/pages/index.tsx

  https://nextjs.org/docs/messages/module-not-found

Development

  1. nvm use to use node 18
  2. yarn with yarn@1 to install dependencies.
  3. yarn start to run the app
  4. Visit http://localhost:8091 in browser.
  5. Building will fail with error above.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published