cxtom / fecs-git-hooks Goto Github PK
View Code? Open in Web Editor NEWfecs-git-hooks
fecs-git-hooks
运行 sudo npm install fecs-git-hooks -g的时候遇到的问题
/usr/local/bin/fecs-hook -> /usr/local/lib/node_modules/fecs-git-hooks/bin/fecs-hook │| |/
│| * 02f091b - Merge pull request #24 from nicoder/patch-1 (7 months ago) <Ruan YiFeng>
> [email protected] install /usr/local/lib/node_modules/fecs-git-hooks │| |\
> fecs -v && node ./lib/install.js │| | * 82b24f7 - fix typo (7 months ago) <Nicolas Dermine>
│* | | 326c77a - edit Readme (7 months ago) <ruanyf>
fecs 0.8.5-beta.9 │|/ /
Trace: { [Error: EACCES: permission denied, open '/usr/local/.git/hooks/pre-commit'] │* | 56c16bb - Merge pull request #23 from luoxiaobatman/master (7 months ago) <Ruan YiFeng>
errno: -13, │|\ \
code: 'EACCES', │| |/
syscall: 'open', │|/|
path: '/usr/local/.git/hooks/pre-commit' } │| * aaf1144 - fix readme (7 months ago) <luoxiao>
at Object.<anonymous> (/usr/local/lib/node_modules/fecs-git-hooks/lib/install.js:14:13) │|/
at Module._compile (module.js:413:34) │* b3dd15d - Merge pull request #20 from qiuyuntao/master (8 months ago) <Ruan YiFeng>
at Object.Module._extensions..js (module.js:422:10) │|\
at Module.load (module.js:357:32) │| * fc03b25 - lack of a comma in demo 15 webpack.config.js (8 months ago) <yuntao.qyt>
at Function.Module._load (module.js:314:12) │Kevin at Mac.local in ~/workspace/webpack-demos on master
at Function.Module.runMain (module.js:447:10) │$ tig
at startup (node.js:141:18) │Kevin at Mac.local in ~/workspace/webpack-demos on master
at node.js:933:3
发现项目根目录下的 .fecsrc 文件里的配置不起作用。在命令行下执行 fecs xx.js 发现 .fecsrc 里的配置有效,但 git commit 时,发现 .fecsrc 里的配置无效,还是按照默认的规则作检查。
如题
可以考虑使用postinstall命令,在install成功时自动执行脚本吗
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.