[[+content_image]]
A
A
Alexander2020-09-21 21:55:10
1C-Bitrix
Alexander, 2020-09-21 21:55:10

Why is npm not working and breaking the console?

After running npm install -g @vue/cli @vue/cli-service-global in an attempt to install vue-cli on CentOS based BitrixVM, npm fails with the following error:

[[email protected] ~]$ npm install -g @vue/cli @vue/cli-service-global
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated @hapi/[email protected]: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated [email protected]: this library is no longer supported
Killed.............] - fetchMetadata: sill resolveWithNewModule [email protected] checking installable status

After that, the test cursor disappears in the console and npm cannot install the packages.
Dies on Killed............] | loadRequestedDeps: sill install loadAllDepsIntoIdealTree
And the course breaks in the client. Those. exit terminates the connection and exits to the system console, and there is NO cursor in it either.
Checked on two different terminal emulators.

How is this even possible?

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
A
acwartz, 2020-09-22
@acwartz

See if npm has enough RAM to run and if there is a swap file and how big it is.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question