K
K
Klim1612019-11-05 18:14:03
Node.js
Klim161, 2019-11-05 18:14:03

Node js libraries not found. What can be done?

Good evening! Installed node js via SSH to beget hosting. To launch the site, I want to install the parcel bundler. When typing npm -v or npm install -g parcel-bundler, the following error appears: node: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by node )
node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.16' not found (required by node)
node: /lib/x86_64-linux-gnu/libc.so.6: version ` GLIBC_2.17' not found (required by node). What can be done in this situation? I will be grateful for help.
........And is it possible to run a hosted site without npm? Initially, the site was written using Parcel bundler.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Egor Zhivagin, 2019-11-05
@Klim161

Googling the docks in a couple of minutes suggested this option: parcel buildlocally, and then transfer the finished build files to the hosting. Ready.
In general, your node does not work on hosting. Write to support

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question