Codimd: Can't build with node LTS 12.16.1

Created on 6 Mar 2020  路  1Comment  路  Source: hackmdio/codimd

Is current LTS version not supported? The docs only mention node versions 8-11. I get this error:

./bin/setup
(...)

gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:311:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 4.19.0-8-amd64
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/user/codimd/node_modules/scrypt
gyp ERR! node -v v12.16.1
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok 
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
engineering

Most helpful comment

Hi @pkrasicki,
Yes, it currently doesn't support node.js version 12. We're working on it.

>All comments

Hi @pkrasicki,
Yes, it currently doesn't support node.js version 12. We're working on it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SISheogorath picture SISheogorath  路  4Comments

ccoenen picture ccoenen  路  4Comments

Nebukadneza picture Nebukadneza  路  3Comments

nitwhiz picture nitwhiz  路  4Comments

ccoenen picture ccoenen  路  4Comments