NOOB在这里,尝试遵循这个React教程:https://github.com/reactjs/react-tutorial/
README.md文件说:npm install node server.js
克隆了repo后,我运行了npm install和一堆东西(模块?)下载.但是当我尝试运行npm server.js时,我遇到了这条消息:
Specify configs in the ini-formatted file:
C:\Users\User\.npmrc
or on the command line via: npm <command> --key value
Config info can be viewed via: npm help config
npm@3.3.6 C:\Program Files\nodejs\node_modules\npm
C:\Users\User\.npmrc contains this:
key=
Run Code Online (Sandbox Code Playgroud)
有关如何启动和运行npm服务器的任何想法?我需要将此文件中的密钥设置为某些内容吗?
| 归档时间: |
|
| 查看次数: |
12389 次 |
| 最近记录: |