npm ERR! code MODULE_NOT_FOUND
npm ERR! Cannot find module 'internal/fs'
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2017-08-31T14_40_22_428Z-debug.log
[root@localhost vue-longyuan-store-front]# rm -rf npm-debug.log
[root@localhost vue-longyuan-store-front]# npm install -g ssr
npm ERR! code MODULE_NOT_FOUND
npm ERR! Cannot find module 'internal/fs'
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2017-08-31T14_40_47_705Z-debug.log
[root@localhost vue-longyuan-store-front]# npm install -g graceful-fs
npm ERR! code MODULE_NOT_FOUND
npm ERR! Cannot find module 'internal/fs'
解决办法
先切换node到低版本node4.x 安装后在切换node8.x高版本 用n模块管理
安装的firefox和chromium 不能使用或者报错
如崩溃或者找不到路径或者不能联网 或者server not found(重新连接哈网络)
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
libnss3.so(NSS_3.19.1)(64bit) is needed by google-chrome-stable-60.0.3112.113-1.x86_64
libstdc++.so.6(GLIBCXX_3.4.18)(64bit) is needed by google-chrome-stable-60.0.3112.113-1.x86_64
libc.so.6(GLIBC_2.14)(64bit) is needed by google-chrome-stable-60.0.3112.113-1.x86_64
libc.so.6(GLIBC_2.15)(64bit) is needed by google-chrome-stable-60.0.3112.113-1.x86_64
libgdk-3.so.0()(64bit) is needed by google-chrome-stable-60.0.3112.113-1.x86_64
libgtk-3.so.0()(64bit) is needed by google-chrome-stable-60.0.3112.113-1.x86_64
libstdc++.so.6(GLIBCXX_3.4.14)(64bit) is needed by google-chrome-stable-60.0.3112.113-1.x86_64
libstdc++.so.6(GLIBCXX_3.4.15)(64bit) is needed by google-chrome-stable-60.0.3112.113-1.x86_64
libstdc++.so.6(GLIBCXX_3.4.19)(64bit) is needed by google-chrome-stable-60.0.3112.113-1.x86_64
** Found 9 pre-existing rpmdb problem(s), 'yum check' output follows:
google-chrome-stable-60.0.3112.101-1.x86_64 has missing requires of libnss3.so(NSS_3.19.1)(64bit)
google-chrome-stable-60.0.3112.101-1.x86_64 has missing requires of libstdc++.so.6(GLIBCXX_3.4.18)(64bit)
google-chrome-stable-60.0.3112.101-1.x86_64 has missing requires of libc.so.6(GLIBC_2.14)(64bit)
google-chrome-stable-60.0.3112.101-1.x86_64 has missing requires of libc.so.6(GLIBC_2.15)(64bit)
google-chrome-stable-60.0.3112.101-1.x86_64 has missing requires of libgdk-3.so.0()(64bit)
google-chrome-stable-60.0.3112.101-1.x86_64 has missing requires of libgtk-3.so.0()(64bit)
google-chrome-stable-60.0.3112.101-1.x86_64 has missing requires of libstdc++.so.6(GLIBCXX_3.4.14)(64bit)
google-chrome-stable-60.0.3112.101-1.x86_64 has missing requires of libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
google-chrome-stable-60.0.3112.101-1.x86_64 has missing requires of libstdc++.so.6(GLIBCXX_3.4.19)(64bit)
Your transaction was saved, rerun it with: yum load-transaction /tmp/yum_save_tx-2017-09-04-10-40T_3RsN.yumtx
[root@localhost yum.repos.d]# ls
CentOS-Base.repo chromium-el6.repo goggle-chrome.repo
CentOS-Debuginfo.repo chromium-el6.repo.1 google-chrome.repo
CentOS-Media.repo epel.repo index.html
CentOS-Vault.repo epel.repo.rpmsave
[root@localhost yum.repos.d]# vim chromium-el6.repo
[root@localhost yum.repos.d]# yum remove google
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Remove Process
No Match for argument: google
Repository google-chrome is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* base: mirrors.sohu.com
* extras: mirrors.sohu.com
* updates: mirrors.sohu.com
http://people.centos.org/hughesjr/chromium/6/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'people.centos.org'"
Trying other mirror.
http://dl.google.com/linux/chrome/rpm/stable/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'dl.google.com'"
Trying other mirror.
No Packages marked for removal
[root@localhost yum.repos.d]# yum remove google-chorme
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Remove Process
No Match for argument: google-chorme
Repository google-chrome is listed more than once in the configuration
Loading mirror speeds from cached hostfile
^C^C^C^C * base: mirrors.sohu.com
* extras: mirrors.sohu.com
* updates: mirrors.sohu.com
^[[A^[[A^[[A^C
exit
^Chttp://people.centos.org/hughesjr/chromium/6/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'people.centos.org'"
Trying other mirror.
[root@localhost yum.repos.d]# yum remove google-chrome
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package google-chrome-stable.x86_64 0:60.0.3112.101-1 will be erased
--> Finished Dependency Resolution
Repository google-chrome is listed more than once in the configuration
chromium-el6 | 1.9 kB 00:00
google-chrome | 951 B 00:00
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Removing:
google-chrome-stable x86_64 60.0.3112.101-1 installed 232 M
Transaction Summary
================================================================================
Remove 1 Package(s)
Installed size: 232 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Erasing : google-chrome-stable-60.0.3112.101-1.x86_64 1/1
xdg-icon-resource: size argument must be numeric
Try 'xdg-icon-resource --help' for more information.
Verifying : google-chrome-stable-60.0.3112.101-1.x86_64 1/1
Removed:
google-chrome-stable.x86_64 0:60.0.3112.101-1
Complete!
[root@localhost yum.repos.d]# yum remove chromium
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package chromium.x86_64 0:31.0.1650.63-2.el6 will be erased
--> Finished Dependency Resolution
Repository google-chrome is listed more than once in the configuration
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Removing:
chromium x86_64 31.0.1650.63-2.el6 @chromium-el6 123 M
Transaction Summary
================================================================================
Remove 1 Package(s)
Installed size: 123 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Erasing : chromium-31.0.1650.63-2.el6.x86_64 1/1
Verifying : chromium-31.0.1650.63-2.el6.x86_64 1/1
Removed:
chromium.x86_64 0:31.0.1650.63-2.el6
Complete!
[root@localhost yum.repos.d]#
npm install -g ssr pm2
解决办法
先切换node到低版本node4.x 安装后在切换node8.x高版本 用n模块管理
安装的firefox和chromium 不能使用或者报错
如崩溃或者找不到路径或者不能联网 或者server not found(重新连接哈网络)
解决办法
卸载
在重新安装