ramda 0.28.0 regression in 10.0.4 (node 17)
See original GitHub issuePlugin is failing to load in a monorepo with an esm module package in it’s workspace. Had to rollback to 10.0.3. This may be on the ramda side looking at https://github.com/ramda/ramda/issues/3241.
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Failed to load plugin 'mocha' declared in '.eslintrc.cjs » ../../.eslintrc.js': Package subpath './src/find' is not defined by "exports" in ./node_modules/ramda/package.json
./packages/<package>/.eslintrc.cjs
module.exports = {
extends: ["../../.eslintrc.js"],
};
./eslintrc.js
module.exports = {
env: {
es2021: true,
},
extends: [
"airbnb-base",
"eslint:recommended",
"plugin:prettier/recommended",
"plugin:import/recommended",
"plugin:promise/recommended",
"plugin:mocha/recommended",
],
plugins: ["prettier", "promise", "mocha"],
rules: {
camelcase: "warn",
"mocha/no-mocha-arrows": "off",
"no-underscore-dangle": "warn",
"no-shadow": "off",
},
};
Issue Analytics
- State:
- Created a year ago
- Reactions:8
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Developers - ramda 0.28.0 regression in 10.0.4 (node 17) -
Plugin is failing to load in a monorepo with an esm module package in it's workspace. Had to rollback to 10.0.3. This may...
Read more >0.28.0 Upgrade Guide · Issue #3218 · ramda/ramda - GitHub
fix(applySpec): reintroduce support for arrays of nested specs and functions #2795 fixes an earlier regression in applySpec; fix(_clone): ...
Read more >ramda - npm
A practical functional library for JavaScript programmers.. Latest version: 0.28.0, last published: 10 months ago. Start using ramda in your ...
Read more >Changelog - Cypress Documentation
Fixed a regression introduced in the Electron browser in Cypress 10.8.0 where the ... Cypress dropped support for Node.js 12, 15 and 17....
Read more >try - Mercurial - Mozilla
-223,17 +224,17 @@ npm run unit ```js ... it.only('should work', ... + "resolved": "https://registry.npmjs.org/ramda/-/ramda-0.28.0.tgz", + "integrity": ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in version 10.0.5 by #326
Running into the exact same issue here updating various packages. Something definitely broke
Edit: This only breaks for us running against node 17. We also test against node 14 and node 16 and it works fine there.