【发布时间】:2016-12-21 11:42:55
【问题描述】:
我是 NPM 和 node.js 的新手,我尝试运行这个 MIT 项目
https://github.com/quran/quran.com-frontend
我听从了开发者的指示
0-npm install dotenv --save
1- update the API_URL, in development.env file, from localhost to api.quran.com
2-To start the app,run ====> npm run dev
3- Go to http://localhost:8001 in your browser
我很少收到此警告消息
'env' is not recognized as an internal or external command, operable program or batch file.
'env' is not recognized as an internal or external command.
但是它构建项目没有其他错误,但是当我检查本地主机地址时它不起作用,出了什么问题?
【问题讨论】:
-
您确定第 2 点是
run npm run dev吗?你试过npm run dev吗? -
是的,只是, npm run dev ,在命令行中同样的事情也不起作用ٍ @Sven 31415
标签: node.js github npm npm-install