Skip to content
Anler edited this page Jun 14, 2018 · 2 revisions

Welcome to the sheikah wiki!

Table of contents

Issues

Here is a list of issues from some of the projects dependencies that are affecting in some way or another the development of this project.

tslint - tsfmt conflict

tslint has a rule for checking the alignment of function arguments, but tsfmt seems to have a bug that doesn't honor that rule for aligment: https://github.com/Microsoft/TypeScript/issues/11629

tslint and tsconfig that extends another tsconfig

we had to add a pre-task to yarn lint in order to create a temporary tsconfig file that doesn't use extends because of this issue: https://github.com/palantir/tslint/issues/2673

Errors

ENOSPC when jest watch

$ yarn jest --watch
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)

Solution

Link to the StackOverflow response with the solution.

echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl --system
Clone this wiki locally