🐛 ~ `Error while loading rule 'functional/functional-parameters': Object.fromEntries is not a function`
See original GitHub issuePlatform: MacOS, Ubuntu, and Windows NodeJS: v10.23.0 ESLint: v7.16.0
From working v3.1.0
, v3.2.0
now causes this error when running npx eslint .
:
ESLint: 7.16.0
TypeError: Error while loading rule 'functional/functional-parameters': Object.fromEntries is not a function
Occurred while linting C:\Users\Roy\OneDrive\Projects\js\js.os-paths\repo\eg\show-paths.js
at create (C:\Users\Roy\OneDrive\Projects\js\js.os-paths\repo\node_modules\eslint-plugin-functional\lib\index.js:498:48)
at Object.create (C:\Users\Roy\OneDrive\Projects\js\js.os-paths\repo\node_modules\@typescript-eslint\experimental-utils\dist\eslint-utils\RuleCreator.js:13:24)
at createRuleListeners (C:\Users\Roy\OneDrive\Projects\js\js.os-paths\repo\node_modules\eslint\lib\linter\linter.js:761:21)
at Object.keys.forEach.ruleId (C:\Users\Roy\OneDrive\Projects\js\js.os-paths\repo\node_modules\eslint\lib\linter\linter.js:931:31)
at Array.forEach (<anonymous>)
at runRules (C:\Users\Roy\OneDrive\Projects\js\js.os-paths\repo\node_modules\eslint\lib\linter\linter.js:876:34)
at Linter._verifyWithoutProcessors (C:\Users\Roy\OneDrive\Projects\js\js.os-paths\repo\node_modules\eslint\lib\linter\linter.js:1173:31)
at Linter._verifyWithoutProcessors (C:\Users\Roy\OneDrive\Projects\js\js.os-paths\repo\node_modules\eslint-plugin-eslint-comments\lib\utils\patch.js:181:42)
at Linter._verifyWithConfigArray (C:\Users\Roy\OneDrive\Projects\js\js.os-paths\repo\node_modules\eslint\lib\linter\linter.js:1271:21)
at Linter.verify (C:\Users\Roy\OneDrive\Projects\js\js.os-paths\repo\node_modules\eslint\lib\linter\linter.js:1226:25)
Using either NodeJS v12.20.0+ or holding eslint-plugin-functional to “❤️.2.0”, npx eslint .
completes without error.
GitHub CI was noted to start failing on MacOS, Ubuntu, and Windows NodeJS-v10 earlier today.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7
Top Results From Across the Web
Object.fromEntries is not a function error when using chakra-ui ...
I had to update my node version, which was at v10.17.0. I updated it to v14.17.0!
Read more >TypeError: Object.fromEntries is not a function #343 - GitHub
but when I tried to execute the yo code generator, it raised an error. Executed command : $ yo code. Output error :...
Read more >Object.fromEntries is not a function error when using next.js
Object. fromEntries is not a function error when using next.js . the culprit here is the version of node.js installed. here are the...
Read more >TypeError: Object.fromEntries is not a function - Microsoft Learn
TypeError : Object.fromEntries is not a function. I am trying to setup my dev environment for SPFx development.
Read more >How do I get the method "Object.fromEntries( )" to work?
fromEntries(array) console.log(obj) …it logs the same error message as before: TypeError: Object.fromEntries is not a function at Object.
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
Ahh, damn. There was a weird problem when I made the release. I should have tested it afterwards. I’ll mark that release and broken and try and get a new fixed release out soon.
Looks good; local and CI passing. Thanks for the attention!