gpt4 book ai didi

javascript - 用于 Visual Studio 的 Node.js NTVS 工具

转载 作者:行者123 更新时间:2023-11-30 05:39:55 25 4
gpt4 key购买 nike

Following status show about in my visual studio

在我的 Visual Studio 中显示以下状态我是 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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com