2014-01-30 12 views
2

Following status show about in my visual studio爲Visual Studio的

以下狀態顯示有關我的Visual Studio 我是新來的Node.js的Node.js的NTVS工具...任何人幫助對整個組件的安裝.... 和有關以node.js開頭的有幫助的教程通過vs2012

+2

按照此[鏈接](http://geekswithblogs.net/shaunxu/archive/2013/11/22/node.js-tool-for- visual-studio.aspx)會幫助你.. – Sandy

+0

謝謝@Sandeep –

回答

1

正確安裝您的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"