深圳全飞鸿
标题:
初次接触node.js
[打印本页]
作者:
zhgc
时间:
2020-2-18 13:47
标题:
初次接触node.js
下载地址:
https://nodejs.org/en/download/
已备份
project.syant\0012EndWeb\0006_NODE.JS\bin\node-v12.16.0
安装的node-v12.16.0-x64.msi,安装过程中有勾选自动安装tools
作者:
zhgc
时间:
2020-2-18 15:26
npm设置代码的方法:
F:\node_test>
npm config set registry
https://registry.npm.taobao.org
F:\node_test>
npm config get registry
https://registry.npm.taobao.org/
F:\node_test>
npm install webpack --save-dev
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN
node_test@1.0.0
No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY:
fsevents@1.2.11
(node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for
fsevents@1.2.11
: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
+
webpack@4.41.6
added 322 packages from 197 contributors in 43.626s
3 packages are looking for funding
run `npm fund` for details
F:\node_test>
欢迎光临 深圳全飞鸿 (http://www.nagomes.com/disc/)
Powered by Discuz! X3.2