如何修复文件名,目录名称或卷标签语法不正确'试图开始环境
我目前已经分叉并克隆了此 repo 并按照realme.md上的说明进行了说明。我在安装依赖项时没有问题,但是一旦我转到了使用npm run env启动WordPress实例的下一步,启动
命令,我将获得此输出:
/I.SSTATIC.NET/0MTPJ.PNG 一直试图解决这个问题几天,但无法弄清楚。
有人可以帮我吗?
我的系统是Windows 10。
I have currently forked and cloned this repo and followed the instructions on the README.md. I have no problem installing my dependencies, but once I go to the next step of starting the WordPress instance with the npm run env:start
command, I get this output:
I have been trying to trouble-shoot this for a couple of days and have not been able to figure it out.
Can someone please help me with this?
My system is a Windows 10.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我使用Env-CMD运行的NPM运行遇到了这个确切的问题。我回想起最近升级了我的NPM版本。我相信那是8.13.0。我刚刚降级到8.6.0,问题消失了。
如果您将NVM用于Windows,我建议使用此脚本来安装/更新/降级NPM。
I had this exact issue using npm run with env-cmd. I recalled recently upgrading my npm version. I believe it was 8.13.0. I just downgraded to 8.6.0 and the issue is gone.
If you are using NVM for windows, I recommend this script to install/update/downgrade NPM.
https://gist.github.com/johnmcase/d31b799b9030327091a0e74880e4c530
我也有同样的问题。我做了同样的事情。将NPM从8.13.x降至8.6,并解决了问题。
I had the same issue. I did the same thing. Downgrading npm from 8.13.x to 8.6 and the issue was resolved.