Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

npm ERR! Object.entries is not a function

Tags:

npm

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?

like image 703
Zeno Franca Junior Avatar asked May 09 '18 14:05

Zeno Franca Junior


2 Answers

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

like image 53
Qrzy Avatar answered Nov 14 '22 02:11

Qrzy


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.

like image 7
Daisuke Kishino Avatar answered Nov 14 '22 02:11

Daisuke Kishino