PHPLint,JSLint和我最近遇到了"你可以动态地抓取你的JS代码",同时阅读有关某些IDE的内容.
那么,这是什么掉毛人人都知道,而我呢?
我试图在本地运行npm,并运行npm init,创建了package.json.这是我的package.json
"name": "ironic-ui",
"version": "1.0.0",
"description": "======================== Team and repository tags ========================",
"main": "test-shim.js",
"directories": {
"doc": "doc"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://git.openstack.org/openstack/ironic-ui"
},
"author": "",
"license": "ISC"
}
Run Code Online (Sandbox Code Playgroud)
丢失了什么吗?或者我需要安装更多东西吗?我收到错误"缺少脚本:lint"谢谢
我遇到部署Firebase云功能的问题.
重现步骤
预期结果
期望使用firebase-tools来部署云功能.
实际结果
收到以下错误消息:
? firebase deploy
=== Deploying to '<projects>'...
i deploying functions
Running command: npm --prefix "$RESOURCE_DIR" run lint
npm ERR! path ...path\firebaseFunction\%RESOURCE_DIR%\package.json
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open '...path\firebaseFunction\%RESOURCE_DIR%\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete …Run Code Online (Sandbox Code Playgroud)