-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
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
core-js dependency #6
Comments
I'm not sure I understand the what the issue is? Is it possible to reproduce? Thanks. |
Sorry, this is the error I was getting on build: $ yarn build
internal/modules/cjs/loader.js:1088
throw err;
^
Error: Cannot find module 'core-js/modules/es.string.replace.js'
Require stack:
- /home/pierre/s/use-nft/node_modules/csso-webpack-plugin/lib/index.js
- /home/pierre/s/use-nft/node_modules/package-build-stats/build/config/makeWebpackConfig.js
- /home/pierre/s/use-nft/node_modules/package-build-stats/build/utils/build.utils.js
- /home/pierre/s/use-nft/node_modules/package-build-stats/build/getPackageStats.js
- /home/pierre/s/use-nft/node_modules/package-build-stats/build/index.js
- /home/pierre/s/use-nft/node_modules/rollpkg/dist/bundlephobiaStats.js
- /home/pierre/s/use-nft/node_modules/rollpkg/dist/cli.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1085:15)
at Function.Module._load (internal/modules/cjs/loader.js:928:27)
at Module.require (internal/modules/cjs/loader.js:1145:19)
at require (internal/modules/cjs/helpers.js:75:18)
at Object.<anonymous> (/home/pierre/s/use-nft/node_modules/csso-webpack-plugin/lib/index.js:6:1)
at Module._compile (internal/modules/cjs/loader.js:1256:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1277:10)
at Module.load (internal/modules/cjs/loader.js:1105:32)
at Function.Module._load (internal/modules/cjs/loader.js:967:14)
at Module.require (internal/modules/cjs/loader.js:1145:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/pierre/s/use-nft/node_modules/csso-webpack-plugin/lib/index.js',
'/home/pierre/s/use-nft/node_modules/package-build-stats/build/config/makeWebpackConfig.js',
'/home/pierre/s/use-nft/node_modules/package-build-stats/build/utils/build.utils.js',
'/home/pierre/s/use-nft/node_modules/package-build-stats/build/getPackageStats.js',
'/home/pierre/s/use-nft/node_modules/package-build-stats/build/index.js',
'/home/pierre/s/use-nft/node_modules/rollpkg/dist/bundlephobiaStats.js',
'/home/pierre/s/use-nft/node_modules/rollpkg/dist/cli.js'
]
} |
Temporary fix for: #6 Which is caused by: pastelsky/package-build-stats#37 Which is caused by: zoobestik/csso-webpack-plugin#28
I added |
Oh that’s great, thank you! |
Yeah I hadn't seen the error before and wasn't able to reproduce it until I regenerated |
Interestingly, I noticed this issue by migrating a new project to So I suspect |
Also remove core-js, see rafgraph/rollpkg#6 (comment)
Also: - Remove core-js, see rafgraph/rollpkg#6 (comment) - Dependabot checks: move to weekly.
Fixed in [email protected] |
Also: - Remove core-js, see rafgraph/rollpkg#6 (comment) - Dependabot checks: move to weekly.
Hi, thanks for rollpkg, I started to use it on a few projects and it feels great!
I just wanted to open this issue to track one I was having with the
csso-webpack-plugin
dependency (viapackage-build-stats
): zoobestik/csso-webpack-plugin#28The temporary fix is to have
core-js
as adevDependency
in my library. Untilcsso-webpack-plugin
andpackage-build-stats
receive publish a new version, maybecore-js
could be added asdependency
in rollpkg?The text was updated successfully, but these errors were encountered: