99问答网
所有问题
我用的是win7,下载了nodejs并且成功安装。但是测试js文件时总是提示错误
。这是为什么?
举报该问题
推荐答案 2016-05-11
按2次ctrl+c退出当前的node环境,然后cd命令切换到hello.js所在的目录,然后直接 node hello.js即可
追问
用cmd命令一样提示错误
温馨提示:答案为网友推荐,仅供参考
当前网址:
http://99.wendadaohang.com/zd/vWeWBW7tjXBztvBX7vO.html
相似回答
大家正在搜
相关问题
node.js安装错误是怎么回事?
为什么用mocha测试的时候提示说nodejs版本过低
win7 怎么安装nodejieba
node.js测试提示:node不是内部或外部命令
nodejs已经安装好,但是我测试js文件时提示出错。
安装nodeJs时遇到下面的问题,无法安装成功
想应用vue.js,nodejs安装成功,但是npm安装包失...
为什么我配置的nodejs无法访问