Reputation: 93
My project show this error when i try to run npm install for any package:
npm ERR! Object.entries is not a function
someone with same error?
Upvotes: 6
Views: 4777
Reputation: 186
Updating npm to latest version (6.0.1) resolves this issue.
It's been reported here: https://github.com/npm/npm-audit-report/issues/9
Upvotes: 12
Reputation: 71
The same error occurred.
There is a possibility of bug of npm 6.0.0.
Downgrading to npm 5.8.0 no longer causes errors.
Upvotes: 7