当使用角7 CLI并尝试创建一个新的角应用程序时,我和我得到以下错误:
/bin/sh: cnpm:未找到命令
2018-11-04 13:27:17 ⌚ COMPUTER_X in ~/TEK/learn
○ → ng new firebase-auth
? Would you like to add Angular routing? No
? Which stylesheet format would you like to use? CSS
CREATE firebase-auth/README.md (1029 bytes)
....
CREATE firebase-auth
在我的服务器(CentOS 7.2)中,我安装了依赖项:
npm install
但我会说出错误:
npm ERR! code Z_BUF_ERROR
npm ERR! errno -5
npm ERR! unexpected end of file
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-02-11T21_03_20_261Z-debug.log
在/root/.npm/_logs/2018-02-11T21_03_20_261Z-debug.log中,
我正在安装与npm捆绑的当前Node.js (截至今天: 13.12.0)。但是,最新的npm版本(截至今天的版本: 6.14.4)不支持当前的Node.js版本,从而导致了以下错误:
npm WARN npm npm does not support Node.js v13.12.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm
我正在尝试使用以下命令安装jupyterlab扩展(根据):
安装jupyterlab-@4.14.3
我知道这个错误:
An error occured.
ValueError: Please install Node.js and npm before continuing installation. You may be able to install Node.js from your package manager, from conda, or directly from the Node.js website (https://nodejs.org).
See the log f