We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fs-extra is used by next-pwa but not actually in the dependencies. This makes the library totally unusable for anyone using
fs-extra
next-pwa
$ next build > Build error occurred Error: Cannot find module 'fs-extra' Require stack: - /usr/src/project/node_modules/next-pwa/index.js - /usr/src/project/next.config.js - /usr/src/project/node_modules/next/dist/next-server/server/config.js - /usr/src/project/node_modules/next/dist/build/index.js - /usr/src/project/node_modules/next/dist/cli/next-build.js - /usr/src/project/node_modules/next/dist/bin/next at Function.Module._resolveFilename (internal/modules/cjs/loader.js:966:15) at Function.Module._load (internal/modules/cjs/loader.js:842:27) at Module.require (internal/modules/cjs/loader.js:1026:19) at require (internal/modules/cjs/helpers.js:72:18) at Object.<anonymous> (/usr/src/project/node_modules/next-pwa/index.js:4:12) at Module._compile (internal/modules/cjs/loader.js:1138:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10) at Module.load (internal/modules/cjs/loader.js:986:32) at Function.Module._load (internal/modules/cjs/loader.js:879:14) at Module.require (internal/modules/cjs/loader.js:1026:19) { code: 'MODULE_NOT_FOUND', requireStack: [ '/usr/src/project/node_modules/next-pwa/index.js', '/usr/src/project/next.config.js', '/usr/src/project/node_modules/next/dist/next-server/server/config.js', '/usr/src/project/node_modules/next/dist/build/index.js', '/usr/src/project/node_modules/next/dist/cli/next-build.js', '/usr/src/project/node_modules/next/dist/bin/next' ] }
The text was updated successfully, but these errors were encountered:
Looking at the source code, the fs-extra package is only used once for something that's in the base fs module.
fs
next-pwa/index.js
Line 99 in b225d98
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
fs-extra
is used bynext-pwa
but not actually in the dependencies. This makes the library totally unusable for anyone usingfs-extra
The text was updated successfully, but these errors were encountered: