question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ramda 0.28.0 regression in 10.0.4 (node 17)

See original GitHub issue

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 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:closed
  • Created a year ago
  • Reactions:8
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
lo1tumacommented, May 27, 2022

Fixed in version 10.0.5 by #326

2reactions
simlucommented, Apr 12, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found