Skip to content
Snippets Groups Projects
Open Command yarn tscw fails
  • View options
  • Command yarn tscw fails

    • View options
  • Open created by swergas

    Hi, I'm following this tutorial page https://duniter.org/fr/wiki/duniter/tutoriel-dev/chapitre-4-demarrage/ , and when I run yarn tsc there is no problem, but when I run yarn tscw I get the following output:

    $ yarn tscw
    yarn run v1.3.2
    $ tsc -w
    fs.js:1376
        throw error;
        ^
    
    Error: watch /home/quentin/prog/duniter/typescript/duniter EMFILE
        at _errnoException (util.js:1024:11)
        at FSWatcher.start (fs.js:1374:19)
        at Object.fs.watch (fs.js:1400:11)
        at watchPresentDirectory (/home/quentin/prog/duniter/typescript/duniter/node_modules/typescript/lib/tsc.js:2635:42)
        at fsWatchDirectory (/home/quentin/prog/duniter/typescript/duniter/node_modules/typescript/lib/tsc.js:2620:21)
        at Object.watchDirectory (/home/quentin/prog/duniter/typescript/duniter/node_modules/typescript/lib/tsc.js:2768:28)
        at addDirectoryWatcher (/home/quentin/prog/duniter/typescript/duniter/node_modules/typescript/lib/tsc.js:56930:21)
        at Object.watchDirectory (/home/quentin/prog/duniter/typescript/duniter/node_modules/typescript/lib/tsc.js:59955:20)
        at createDirectoryWatcher (/home/quentin/prog/duniter/typescript/duniter/node_modules/typescript/lib/tsc.js:59381:35)
        at watchFailedLookupLocationOfResolution (/home/quentin/prog/duniter/typescript/duniter/node_modules/typescript/lib/tsc.js:59348:81)
    error Command failed with exit code 1.
    info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

    And I can't find util.js and fs.js files that are mentioned in the error. Any idea?

    Edited by swergas
    • Merge request
    • Branch

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first