如何修复文件名,目录名称或卷标签语法不正确'试图开始环境

发布于 2025-02-11 11:44:10 字数 408 浏览 3 评论 0原文

我目前已经分叉并克隆了此 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:

bash 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

指尖凝香 2025-02-18 11:44:10

我使用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

岁月染过的梦 2025-02-18 11:44:10

我也有同样的问题。我做了同样的事情。将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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文