pham cuong
pham cuong

Reputation: 861

Npm install super slow on action:finalize

I got an issue with npm install command on mac osx today. From the debug log of npm, it stuck at action:finalize. I already tried to remove npm, nodejs & reinstall it again but the problem still exits. This problem only occurs in my machine, my colleague don't have any issue with the same package.json

Any guys know what happened during action:finalize?

npm timing action:finalize Completed in 1371804ms

Here are the logs:

npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. npm WARN deprecated [email protected]: use String.prototype.padStart() npm WARN deprecated [email protected]: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142 npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated [email protected]: this library is no longer supported ⸨ ░░░░░░⸩ ⠋ finalize:typescript: sill doSerial finalize 6000

Upvotes: 0

Views: 848

Answers (1)

froodley
froodley

Reputation: 191

We were experiencing a similar issue; it turned out to be the result of our antivirus policy. There is a folder which on a linux machine is normally ~/.npm/_lock which our AV needed to ignore.

Upvotes: 1

Related Questions