Versions:
- Yarn: v0.21.3
- Node: v6.9.2
- npm: 3.10.9
- Ubuntu: 16.10
Installed using: yarn global add jest (With a chown at ~/.config/yarn/global/node_modules/)
Command failed: jest -c lib/tools/testing/jest.config.json --no-cache --watch
If I run jest -c lib/tools/testing/jest.config.json --no-cache testing works 100% fine.
Error message:
fs.js:1431
throw error;
^
Error: watch /home/fooBar/dev/blah/lib/tools/testing/node_modules/core-js/modules ENOSPC
at exports._errnoException (util.js:1022:11)
at FSWatcher.start (fs.js:1429:19)
at Object.fs.watch (fs.js:1456:11)
at NodeWatcher.watchdir (/home/fooBar/.config/yarn/global/node_modules/sane/src/node_watcher.js:148:20)
at Walker.<anonymous> (/home/fooBar/.config/yarn/global/node_modules/sane/src/node_watcher.js:361:12)
at emitTwo (events.js:106:13)
at Walker.emit (events.js:191:7)
at /home/fooBar/.config/yarn/global/node_modules/walker/lib/walker.js:69:16
at go$readdir$cb (/home/fooBar/.config/yarn/global/node_modules/graceful-fs/graceful-fs.js:149:14)
at FSReqWrap.oncomplete (fs.js:123:15)
Tmp dir: yarn config set tmp /tmp/
Disk free space: df -h / (11% used)
Jest config: at lib/tools/testing/jest.config.json
{
"clearMocks": true,
"bail": true,
"transform": {
".(ts|tsx)": "<rootDir>/lib/tools/testing/node_modules/ts-jest/preprocessor.js"
},
"testResultsProcessor": "<rootDir>/lib/tools/testing/node_modules/ts-jest/coverageprocessor.js",
"testMatch": [
"**/__tests__/*.(ts|tsx|js)"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"moduleDirectories": [
"node_modules",
"<rootDir>/lib/tools/testing/node_modules"
],
"collectCoverage": true,
"coverageDirectory": "./reports/",
"coverageReporters": [
"clover",
"lcov",
"text-summary"
],
"coverageThreshold": {
"global": {
"branches": 50,
"functions": 80,
"lines": 60
}
},
"collectCoverageFrom": [
"{src,lib}/**/*.{ts,js}",
"!lib/{tools}/**/*",
"!**/{node_modules,vendor}/**"
]
}
Versions:
Installed using:
yarn global add jest(With achownat~/.config/yarn/global/node_modules/)Command failed:
jest -c lib/tools/testing/jest.config.json --no-cache --watchError message:
fs.js:1431 throw error; ^ Error: watch /home/fooBar/dev/blah/lib/tools/testing/node_modules/core-js/modules ENOSPC at exports._errnoException (util.js:1022:11) at FSWatcher.start (fs.js:1429:19) at Object.fs.watch (fs.js:1456:11) at NodeWatcher.watchdir (/home/fooBar/.config/yarn/global/node_modules/sane/src/node_watcher.js:148:20) at Walker.<anonymous> (/home/fooBar/.config/yarn/global/node_modules/sane/src/node_watcher.js:361:12) at emitTwo (events.js:106:13) at Walker.emit (events.js:191:7) at /home/fooBar/.config/yarn/global/node_modules/walker/lib/walker.js:69:16 at go$readdir$cb (/home/fooBar/.config/yarn/global/node_modules/graceful-fs/graceful-fs.js:149:14) at FSReqWrap.oncomplete (fs.js:123:15)Tmp dir:
yarn config set tmp /tmp/Disk free space:
df -h /(11% used)Jest config: at
lib/tools/testing/jest.config.json{ "clearMocks": true, "bail": true, "transform": { ".(ts|tsx)": "<rootDir>/lib/tools/testing/node_modules/ts-jest/preprocessor.js" }, "testResultsProcessor": "<rootDir>/lib/tools/testing/node_modules/ts-jest/coverageprocessor.js", "testMatch": [ "**/__tests__/*.(ts|tsx|js)" ], "moduleFileExtensions": [ "ts", "tsx", "js" ], "moduleDirectories": [ "node_modules", "<rootDir>/lib/tools/testing/node_modules" ], "collectCoverage": true, "coverageDirectory": "./reports/", "coverageReporters": [ "clover", "lcov", "text-summary" ], "coverageThreshold": { "global": { "branches": 50, "functions": 80, "lines": 60 } }, "collectCoverageFrom": [ "{src,lib}/**/*.{ts,js}", "!lib/{tools}/**/*", "!**/{node_modules,vendor}/**" ] }