我正在运行linux.我可以执行类似的操作pylint --generate-rcfile > .pylintrc
,然后对生成的.pylintrc
文件进行更改以覆盖默认设置吗?如果是这样,它应该在我的~/
目录中,还是应该放在.pylint.d中?
我试图按照Ember 101中的示例进行操作.我之前已经使用过这段代码而没有任何问题.重新安装我的ubuntu 14.04后出于无关的原因,我在控制台中运行ember serve时出现错误[见下文].
我尝试了解决这个问题的方法:https://facebook.github.io/watchman/docs/troubleshooting.html#poison-inotify-add-watch.我还在.watchmanconfig ignore_dirs上添加了"node_modules"和"bower_components":https://github.com/ember-cli/ember-cli/issues/4101但没有效果.
谁知道我做错了什么/安装不正确?
错误:已触发不可恢复的条件.守望者需要你的帮助!触发条件是在timestamp = 1449200416:inotify-add-watch(/ home/john/Practice/borrowers/tests/unit/models) - >达到了用户对inotify手表总数的限制; 增加fs.inotify.max_user_watches sysctl在解决基础问题之前,所有请求都将继续失败并显示此消息.您可以在https://facebook.github.io/watchman/docs/troubleshooting.html#poison-inotify-add-watch找到有关修复此问题的更多信息.
at ChildProcess.<anonymous> (/home/john/Practice/borrowers/node_modules/ember-cli/node_modules/sane/node_modules/fb-watchman/index.js:202:17)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at maybeClose (internal/child_process.js:818:16)
at Socket.<anonymous> (internal/child_process.js:319:11)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at Pipe._onclose (net.js:469:12)
Run Code Online (Sandbox Code Playgroud)