NPM安装没有CD的文件夹
我正在使用Windows PowerShell和管道,以创建我必须部署的应用程序包。
我的问题为“ npm install”命令,因为我不想cd cd存储poffage.json的路径。如何指示应执行“ NPM安装”的位置?我尝试了:
“ npm - -prefix c:\ mypath \ application \ clientapp install”,但它返回此错误
I'm using Windows Powershell and a pipeline in order to create the package of the application that I must deploy.
My issue regards the "npm install" command, because I don't want to CD the path where the package.json is stored. How to indicate where the "npm install" should be execute? I tried:
"npm --prefix C:\MyPath\Application\ClientApp install" but it returns this error
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试跑步
Try running