为什么Firebase显示一些奇怪的错误,因为我没有任何与点(`.`)相关的错误



为什么Firebase会显示一些奇怪的错误?我没有任何与点(.(相关的错误。

functions@ build E:deepakfunctionfunctions
tslint --project tsconfig.json && ./node_modules/.bin/tsc
'.' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! functions@ build: `tslint --project tsconfig.json && ./node_modules/.bin/tsc`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the functions@ build script.

这是因为您尝试在CMD上运行命令,它无法识别带有(./(的当前路径。将斜杠替换为反斜杠,或将完整路径(在带有反斜杠的windows样式中(放在例如:

tslint--项目tsconfig.json&amp。\node_modules.bin\tsc

这是因为windows对路径使用反斜杠

相关内容

最新更新