Can't build
I wanted to take another look at how fedi-fe handles nested threading, but I can't seem to build it. I've tried a few different ways, even installing Node 15.0.1 (same as GitLab CI) through asdf, but it fails when I run yarn start
:
➜ fedi-fe git:(master) ✗ yarn
yarn install v1.22.15
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
info fsevents@2.0.7: The platform "linux" is incompatible with this module.
info "fsevents@2.0.7" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@1.2.9: The platform "linux" is incompatible with this module.
info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
warning " > ember-async-await-helper@0.2.0" has unmet peer dependency "rsvp@>= 1.0".
warning "ember-service-worker > @rollup/plugin-replace@2.3.0" has unmet peer dependency "rollup@^1.20.0".
warning abbrev@1.1.0: Invalid bin field for "abbrev".
warning ansicolors@0.3.2: Invalid bin field for "ansicolors".
warning ansistyles@0.1.3: Invalid bin field for "ansistyles".
warning archy@1.0.0: Invalid bin field for "archy".
warning call-limit@1.1.0: Invalid bin field for "call-limit".
warning bluebird@3.5.0: Invalid bin field for "bluebird".
warning chownr@1.0.1: Invalid bin field for "chownr".
warning cmd-shim@2.0.2: Invalid bin field for "cmd-shim".
warning columnify@1.5.4: Invalid bin field for "columnify".
warning config-chain@1.1.11: Invalid bin field for "config-chain".
warning debuglog@1.0.1: Invalid bin field for "debuglog".
warning detect-indent@5.0.0: Invalid bin field for "detect-indent".
warning dezalgo@1.0.3: Invalid bin field for "dezalgo".
warning editor@1.0.0: Invalid bin field for "editor".
warning fs-vacuum@1.2.10: Invalid bin field for "fs-vacuum".
warning fs-write-stream-atomic@1.0.10: Invalid bin field for "fs-write-stream-atomic".
warning fstream@1.0.11: Invalid bin field for "fstream".
warning graceful-fs@4.1.11: Invalid bin field for "graceful-fs".
warning has-unicode@2.0.1: Invalid bin field for "has-unicode".
warning iferr@0.1.5: Invalid bin field for "iferr".
warning imurmurhash@0.1.4: Invalid bin field for "imurmurhash".
warning inflight@1.0.6: Invalid bin field for "inflight".
warning inherits@2.0.3: Invalid bin field for "inherits".
warning ini@1.3.4: Invalid bin field for "ini".
warning init-package-json@1.10.1: Invalid bin field for "init-package-json".
warning lazy-property@1.0.0: Invalid bin field for "lazy-property".
warning lockfile@1.0.3: Invalid bin field for "lockfile".
warning lodash._baseindexof@3.1.0: Invalid bin field for "lodash._baseindexof".
warning lodash._baseuniq@4.6.0: Invalid bin field for "lodash._baseuniq".
warning lodash._bindcallback@3.0.1: Invalid bin field for "lodash._bindcallback".
warning lodash._cacheindexof@3.0.2: Invalid bin field for "lodash._cacheindexof".
warning lodash._createcache@3.1.2: Invalid bin field for "lodash._createcache".
warning lodash._getnative@3.9.1: Invalid bin field for "lodash._getnative".
warning lodash.clonedeep@4.5.0: Invalid bin field for "lodash.clonedeep".
warning lodash.restparam@3.6.1: Invalid bin field for "lodash.restparam".
warning lodash.union@4.6.0: Invalid bin field for "lodash.union".
warning lodash.uniq@4.5.0: Invalid bin field for "lodash.uniq".
warning lodash.without@4.4.0: Invalid bin field for "lodash.without".
warning mississippi@1.3.0: Invalid bin field for "mississippi".
warning move-concurrently@1.0.1: Invalid bin field for "move-concurrently".
warning npm-cache-filename@1.0.2: Invalid bin field for "npm-cache-filename".
warning npm-install-checks@3.0.0: Invalid bin field for "npm-install-checks".
warning once@1.4.0: Invalid bin field for "once".
warning osenv@0.1.4: Invalid bin field for "osenv".
warning path-is-inside@1.0.2: Invalid bin field for "path-is-inside".
warning promise-inflight@1.0.1: Invalid bin field for "promise-inflight".
warning read@1.0.7: Invalid bin field for "read".
warning read-cmd-shim@1.0.1: Invalid bin field for "read-cmd-shim".
warning read-installed@4.0.3: Invalid bin field for "read-installed".
warning readdir-scoped-modules@1.0.2: Invalid bin field for "readdir-scoped-modules".
warning retry@0.10.1: Invalid bin field for "retry".
warning sha@2.0.1: Invalid bin field for "sha".
warning slide@1.1.6: Invalid bin field for "slide".
warning sorted-object@2.0.1: Invalid bin field for "sorted-object".
warning sorted-union-stream@2.1.3: Invalid bin field for "sorted-union-stream".
warning tar@2.2.1: Invalid bin field for "tar".
warning text-table@0.2.0: Invalid bin field for "text-table".
warning uid-number@0.0.6: Invalid bin field for "uid-number".
warning umask@1.1.0: Invalid bin field for "umask".
warning unique-filename@1.1.0: Invalid bin field for "unique-filename".
warning unpipe@1.0.0: Invalid bin field for "unpipe".
warning validate-npm-package-license@3.0.1: Invalid bin field for "validate-npm-package-license".
warning validate-npm-package-name@3.0.0: Invalid bin field for "validate-npm-package-name".
warning wrappy@1.0.2: Invalid bin field for "wrappy".
[5/5] Building fresh packages...
Done in 294.39s.
➜ fedi-fe git:(master) ✗ API_BASE_URL="https://gleasonator.com" yarn start
yarn run v1.22.15
$ NODE_OPTIONS=--max_old_space_size=4096 ember serve
Browserslist: caniuse-lite is outdated. Please run next command `yarn upgrade`
WARNING: Node v15.0.1 is not tested against Ember CLI on your platform. We recommend that you use the most-recent "Active LTS" version of Node.js. See https://git.io/v7S5n for details.
Ember-cli-sassdoc is enabled.
--------------- KSS ---------------
KSS available at: file:///home/alex/Projects/fedi-fe/lib/ember-cli-kss/dist/index.html
--------------- KSS ---------------
Watchman: spawn watchman ENOENT
node:events:304
throw er; // Unhandled 'error' event
^
Error: spawn watchman ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:269:19)
at onErrorNT (node:internal/child_process:465:16)
at processTicksAndRejections (node:internal/process/task_queues:80:21)
Emitted 'error' event on Client instance at:
at spawnError (/home/alex/Projects/fedi-fe/node_modules/fb-watchman/index.js:170:10)
at ChildProcess.<anonymous> (/home/alex/Projects/fedi-fe/node_modules/fb-watchman/index.js:193:5)
at ChildProcess.emit (node:events:327:20)
at ChildProcess.EventEmitter.emit (node:domain:486:12)
at Process.ChildProcess._handle.onexit (node:internal/child_process:275:12)
at onErrorNT (node:internal/child_process:465:16)
at processTicksAndRejections (node:internal/process/task_queues:80:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn watchman',
path: 'watchman',
spawnargs: [ '--no-pretty', 'get-sockname' ]
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
node:events:304
throw er; // Unhandled 'error' event
^
Error: write EPIPE
at process.target._send (node:internal/child_process:832:20)
at process.target.send (node:internal/child_process:703:19)
at /home/alex/Projects/fedi-fe/node_modules/ember-a11y-testing/node_modules/workerpool/lib/worker.js:82:22
at tryCatcher (/home/alex/Projects/fedi-fe/node_modules/rsvp/dist/rsvp.js:326:21)
at invokeCallback (/home/alex/Projects/fedi-fe/node_modules/rsvp/dist/rsvp.js:498:33)
at /home/alex/Projects/fedi-fe/node_modules/rsvp/dist/rsvp.js:562:16
at flush (/home/alex/Projects/fedi-fe/node_modules/rsvp/dist/rsvp.js:2441:7)
at processTicksAndRejections (node:internal/process/task_queues:75:11)
Emitted 'error' event on process instance at:
at node:internal/child_process:836:39
at processTicksAndRejections (node:internal/process/task_queues:75:11) {
errno: -32,
code: 'EPIPE',
syscall: 'write'
}
➜ fedi-fe git:(master) ✗ node:events:304
throw er; // Unhandled 'error' event
^
Error: write EPIPE
at process.target._send (node:internal/child_process:832:20)
at process.target.send (node:internal/child_process:703:19)
at /home/alex/Projects/fedi-fe/node_modules/ember-a11y-testing/node_modules/workerpool/lib/worker.js:82:22
at tryCatcher (/home/alex/Projects/fedi-fe/node_modules/rsvp/dist/rsvp.js:326:21)
at invokeCallback (/home/alex/Projects/fedi-fe/node_modules/rsvp/dist/rsvp.js:498:33)
at /home/alex/Projects/fedi-fe/node_modules/rsvp/dist/rsvp.js:562:16
at flush (/home/alex/Projects/fedi-fe/node_modules/rsvp/dist/rsvp.js:2441:7)
at processTicksAndRejections (node:internal/process/task_queues:75:11)
Emitted 'error' event on process instance at:
at node:internal/child_process:836:39
at processTicksAndRejections (node:internal/process/task_queues:75:11) {
errno: -32,
code: 'EPIPE',
syscall: 'write'
}