current position:Home>Problems encountered in installing npmpython on linux server

Problems encountered in installing npmpython on linux server

2022-09-09 06:51:11jidushanzhu

[Question 1] After installing node, npm run dev reports an error linux A complete log of this run can be found in: npm ERR! /root/.14_23_43_189Z-debug-0.log

Maybe because other projects are copied and used, there are caches that need to be cleared first, the solution

npm cache clean --force clean cache

[Question 2] linux npm events.js:292 throw er; // Unhandled 'error' event Error: spawn xdg-open ENOENT Emitted 'error' event on ChildProcess instance at:

npm run dev is obviously 100%, and I reported this error again. The Internet says that setting environment variables and solving port occupancy are all false. I remember that every time Windows runs npm run dev, the browser will pop up, just wondering if it isLinux does not have a browser installed and can't report the error, it can be solved successfully when a browser is installed. In addition, you can also set the default not to open the browser in the vue project

Centos7 installs Google ChromeCentOS7 install Chrome

[Question 3] conda not found

Use source activate to activate to base and then use conda to create a virtual environment

linux conda creates a virtual environment

[Question 4] Open firewall and ports

Tencent server has set rules

Centosnginx installation on the system

[Linux] The solution that yum cannot be used after installing Chrome on CentOS7_petrel2015's blog-CSDN blog

copyright notice
author[jidushanzhu],Please bring the original link to reprint, thank you.
https://en.pythonmana.com/2022/252/202209090633038695.html

Random recommended