在我的视觉工作室中跟踪状态显示
我是node.js的新手...任何有关整个组件安装的帮助....
关于通过vs2012以node.js开头的有用和有用的教程

最佳答案

正确安装NPM。并确保列出的这些版本在package.json中

Try This:

 C:\Anthony\Demo\ExpressApp1\ExpressApp1>npm init
This utility will walk you through creating a package.json file.
It only covers the most common items, and tries to guess sane defaults.

See `npm help json` for definitive documentation on these fields
and exactly what they do.

Use `npm install <pkg> --save` afterwards to install a package and
save it as a dependency in the package.json file.

Press ^C at any time to quit.
name: (ExpressApp1)
version: (0.0.0)
description:
entry point: (app.js)
test command:
git repository:
keywords:
author:
license: (ISC)
About to write to C:\Anthony\Demo\ExpressApp1\ExpressApp1\package.json:

{
  "name": "ExpressApp1",
  "version": "0.0.0",
  "description": "",
  "main": "app.js",
  "dependencies": {
    "express": "~3.4.4",
    "jade": "~1.1.5",
    "stylus": "~0.42.2"
  },
  "devDependencies": {},
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"

关于javascript - 用于Visual Studio的Node.js NTVS工具,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/21448580/

10-12 05:04