soundbounce-v2
soundbounce-v2 copied to clipboard
Will not compile
I'm not a Javascript writer but the install fails with the following errors. Should I use specific versions of Node and Yarn?
#yarn install
yarn install v1.13.0
warning package.json: "dependencies" has dependency "ellipsize" with range "^0.0.3" that collides with a dependency in "devDependencies" of the same name with version "0.0.2"
warning [email protected]: "dependencies" has dependency "ellipsize" with range "^0.0.3" that collides with a dependency in "devDependencies" of the same name with version "0.0.2"
[1/5] Validating package.json...
warning [email protected]: "dependencies" has dependency "ellipsize" with range "^0.0.3" that collides with a dependency in "devDependencies" of the same name with version "0.0.2"
[2/5] Resolving packages...
warning Lockfile has incorrect entry for "[email protected]". Ignoring it.
[3/5] Fetching packages...
warning Pattern ["lodash@latest"] is trying to unpack in the same destination "/usr/local/share/.cache/yarn/v4/npm-lodash-4.17.4-78203a4d1c328ae1d86dca6460e369b57f4055ae/node_modules/lodash" as pattern ["lodash@^4.17.2","lodash@^4.17.4","lodash@^4.2.0","lodash@^4.2.1","lodash@^4.16.2","lodash@^4.17.4","lodash@^4.2.0","lodash@^4.2.0","lodash@^4.2.0","lodash@^4.2.0","lodash@^4.2.0","lodash@^4.2.0","lodash@^4.2.0","lodash@^4.6.1","lodash@^4.2.0","lodash@^4.2.0","lodash@^4.2.0","lodash@^4.1.0","lodash@^4.0.0","lodash@^4.0.0","lodash@^4.17.3","lodash@^4.0.1","lodash@^4.0.0","lodash@^4.6.1","lodash@^4.2.0","lodash@^4.2.0"]. This could result in non-deterministic behavior, skipping.
warning Pattern ["node-fetch"] is trying to unpack in the same destination "/usr/local/share/.cache/yarn/v4/npm-node-fetch-1.6.3-dc234edd6489982d58e8f0db4f695029abcd8c04/node_modules/node-fetch" as pattern ["node-fetch@^1.0.1"]. This could result in non-deterministic behavior, skipping.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
warning " > [email protected]" has incorrect peer dependency "react@^16".
warning " > [email protected]" has incorrect peer dependency "react-dom@^16".
warning " > [email protected]" has incorrect peer dependency "prop-types@^15.5.10".
warning " > [email protected]" has incorrect peer dependency "three@^0.83.0".
[5/5] Building fresh packages...
error /opt/soundbounce-v2/node_modules/flow-bin: Command failed.
Exit code: 134
Command: node lib/install.js
Arguments:
Directory: /opt/soundbounce-v2/node_modules/flow-bin
Output:
/usr/bin/node[9466]: ../src/node_contextify.cc:631:static void node::contextify::ContextifyScript::New(const v8::FunctionCallbackInfo<v8::Value>&): Assertion `args[1]->IsString()' failed.
1: 0x9518b0 node::Abort() [/usr/bin/node]
2: 0x951945 [/usr/bin/node]
3: 0x94d257 node::contextify::ContextifyScript::New(v8::FunctionCallbackInfo<v8::Value> const&) [/usr/bin/node]
4: 0xbae65f [/usr/bin/node]
5: 0xbb0622 v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*) [/usr/bin/node]
6: 0x22c3e22cfc5d
Aborted (core dumped)
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
New node versions don't seem to work, 8.x works though. For arch: https://archive.org/download/archlinux_pkg_nodejs-lts-carbon
It looks like some dependency requires a particular version of node. I haven't looked into it, but updating the "flow-bin" / "flow" package could potentially make things compile.