gpt4 book ai didi

node.js - Sublime Cofee-Script 插件错误 : EACCES, 权限被拒绝 '/.DocumentRevisions-V100'

转载 作者:太空宇宙 更新时间:2023-11-04 02:34:29 25 4
gpt4 key购买 nike

我安装了 CoffeeScript ,它通过终端工作正常。我在这里通过 sublime 克隆并安装了 Coffee-Script 插件: https://github.com/jashkenas/coffee-script-tmbundle

我按照自述文件说明进行操作:

cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/
git clone git://github.com/jashkenas/coffee-script-tmbundle CoffeeScript

现在,当我在 sublime 中按命令 B 激活转换时...我收到以下错误:

/usr/local/lib/node_modules/coffee-script/lib/coffee-script/command.js:134
throw err;
^
Error: EACCES, permission denied '/.DocumentRevisions-V100'
at Object.fs.readdirSync (fs.js:654:18)
at compilePath (/usr/local/lib/node_modules/coffee-script/lib/coffee- script/command.js:128:20)
at compilePath (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/command.js:140:23)
at Object.exports.run (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/command.js:95:21)
at Object.<anonymous> (/usr/local/lib/node_modules/coffee-script/bin/coffee:7:41)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3

[Finished in 0.1s with exit code 8]

我的猜测是,sublime 没有管理访问权限。我知道如果我授予自己访问权限,我将通过“sudo”进行操作,但是在这种情况下如何授予 Sublime 访问权限?

谢谢大家!

-将

最佳答案

我以为是权限问题。

sudo chown -R user3546595 coffee-script-tmbundle

关于node.js - Sublime Cofee-Script 插件错误 : EACCES, 权限被拒绝 '/.DocumentRevisions-V100',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23771253/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com