When installing node using the direct deployment method, internal/modules/cjs/loader.js:583 appears
After downloading the node package and decompressing it, establish a soft connection
Configure node
ln -s /root/node-v10.16.3-linux-x64/bin/node /usr/local/bin/node
Configure npm
ln -s /root/node-v10.16.3-linux-x64/bin/npm /usr/local/bin/npm
But when using npm install “XX”, I got a crazy error. I saw that it was an error when establishing a soft connection on the Internet.
Error: Cannot find module’/root/install’
Solution:
ln -sf /root/node-v10.16.3-linux-x64/bin/npm /usr/local/bin/npm
OK, solve
Read More:
- Linux: Configure Network address through Netplan
- Kylin arm64 linux configure: error: cannot guess build type; you must specify one
- [Solved] Linux program error: dpkg is interrupted. You must manually run ‘sudo dpkg — configure – a’
- [Solved] Linux error E: dpkg is broken, you must manually run ‘sudo dpkg –configure -a’ to resolve this issue
- Linux Nagios failed to log in to internal server error (Fixed)
- [Solved] Centos7 Error: gcc: configure: error: in build‘: configure: error: no acceptable C compiler found in $PATH
- [Solved] Execute ./configure Error: [error]configure: error: You need a C++ compiler for C++ support.
- Fastplanner compilation error: Could not find a package configuration file provided by “cmake_modules”
- [Solved] Linux Error: mipsel-linux-gcc: fatal error: no input files
- Solution of device eth0 does not see to be present, delaying initialization. Error in network card under Linux
- Ubuntu: rabbitmq reports an error; Solution error: unable to connect to node rabbit@localhost : nodedown
- ./configure Command Execute error (Centos7 Install erlang)
- [Solved] Linux — 9 — txt files are copied from windows to Linux and read error
- Solution to gzip: stdin: invalid compressed data — format violated error in decompressing. Tgz file under Linux
- [Solved] Node uploads files to FTP server error: timed out while making data connection
- [Solved] configure: error: no acceptable C compiler found in $PATH
- [Solved] configure:error:no acceptable C compiler found in $PATH
- npm ERR! Failed at the [email protected] install script.
- Ubuntu Error: dpkg: error processing package mysql-community-server (–configure):
- [Solved] Ubuntu Error: ./configure: error: the HTTP gzip module requires the zlib library.