Mac 终端错误“-bash: ./js: 权限被拒绝”
我正在学习 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
该错误可能意味着“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
.