Mac 终端错误“-bash: ./js: 权限被拒绝”

发布于 2024-10-28 23:38:53 字数 253 浏览 6 评论 0原文

我正在学习 JavascriptMVC,并且正在终端中运行以下命令,该命令是从 此处

./js jquery/generate/app cookbook

我是命令行新手。我所有的谷歌搜索都一无所获。我想我缺少某种配置或其他东西?

I'm learning JavascriptMVC and I'm running the following command in the Terminal, which I got from here:

./js jquery/generate/app cookbook

I'm new to the command line. All of my Googling is coming up with nothing. I imagine I'm missing some kind of configuration or something?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

夏了南城 2024-11-04 23:38:53

该错误可能意味着“js”不可执行。如果它位于当前目录中,您可以使用 chmod +x js 使其可执行。

That error likely means that 'js' isn't executable. If it's in the current directory, you can make it executable with chmod +x js.

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