简体   繁体   English

运行“npm 运行服务器”命令时出错

[英]error while running “ npm run server ” command

'.' '。' is not recognized as an internal or external command, operable program or batch file.不被识别为内部或外部命令、可运行程序或批处理文件。

在此处输入图像描述

update package.json to:将 package.json 更新为:

"server": "ts-node -P server/server.tsconfig.json server/server.ts". “服务器”:“ts-node -P 服务器/server.tsconfig.json 服务器/server.ts”。

it directly access.bin in the node_module它直接访问node_module中的.bin

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何修复:运行 npm 运行构建命令时找不到模块错误 - How to fix : cannot find Module error in while running the npm run build command npm 运行服务器错误 '.' 不被识别为内部或外部命令 - npm run server error '.' is not recognized as an internal or external command Angular 2:运行npm服务器时保存文件时出错 - Angular 2 : Error while save file when npm server is running 将应用程序迁移到Angular 6:但是在运行npm时出错,运行build --prod。 但是命令npm run build --env = prod成功运行 - Migrated application to Angular 6 : But getting errors while running npm run build --prod. But command npm run build --env=prod runs successfully Angular - 获取 sh:ng:在 Jenkins 中运行“npm run ng build”时找不到命令 - Angular - Getting sh: ng: command not found while running "npm run ng build" in Jenkins 运行npm install时rxjs版本错误 - rxjs version error while running npm install 在 angular 项目上运行 npm install 时出错 - Error while running npm install on angular project 在 angular 9 项目上运行 npm 安装时出错 - Error while running npm install on angular 9 project 如何在运行 npm install 时修复错误 - how to fix error while running npm install 在 vscode 中使用服务器部署应用程序时,如何修复 angular 应用程序中的 npm 运行构建错误? - How can i fix the npm run build error in angular application while deploying the application with server in vscode?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM