Zeno Franca Junior
Zeno Franca Junior

Reputation: 93

npm ERR! Object.entries is not a function

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

Answers (2)

Qrzy
Qrzy

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

Daisuke Kishino
Daisuke Kishino

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

Related Questions