Closed
Description
yarp.js
does not build with Node.js versions:
- v12.22.1
- v14.17.0
- v16.3.0
But builds with Node.js version v4.9.1.
Steps for reproducing the issue
- Node.js installed through NVM
- node version: v14.17.0 (Latest LTS: Fermium)
- npm version: v6.14.13
- YARP installed through the superbuild sources.
- version: 3.4.3
- Superbuild dependencies installed through conda.
- Superbuild commit abe2cb9, built with ProjectTags "LatestRelease".
- yarp.js branch
master
, commit 56df066.
Yarp.js build failed with error:
$ cd ~/dev/yarp.js
$ npm install
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated npmconf@2.1.3: this package has been reintegrated into npm and is now out of date with respect to npm
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated natives@1.1.6: This module relies on Node.js's internals and will break at some point. Do not use it, and update to graceful-fs@4.x.
> YarpJS@1.0.0 install /Users/nunoguedelha/dev/yarp.js
> cmake-js
fs.js:45
} = primordials;
^
ReferenceError: primordials is not defined
at fs.js:45:5
at req_ (/Users/nunoguedelha/dev/yarp.js/node_modules/natives/index.js:143:24)
at Object.req [as require] (/Users/nunoguedelha/dev/yarp.js/node_modules/natives/index.js:55:10)
at Object.<anonymous> (/Users/nunoguedelha/dev/yarp.js/node_modules/graceful-fs/fs.js:1:37)
at Module._compile (internal/modules/cjs/loader.js:1068:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
at Module.load (internal/modules/cjs/loader.js:933:32)
at Function.Module._load (internal/modules/cjs/loader.js:774:14)
at Module.require (internal/modules/cjs/loader.js:957:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object.<anonymous> (/Users/nunoguedelha/dev/yarp.js/node_modules/graceful-fs/graceful-fs.js:3:27)
at Module._compile (internal/modules/cjs/loader.js:1068:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
at Module.load (internal/modules/cjs/loader.js:933:32)
at Function.Module._load (internal/modules/cjs/loader.js:774:14)
at Module.require (internal/modules/cjs/loader.js:957:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! YarpJS@1.0.0 install: `cmake-js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the YarpJS@1.0.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/nunoguedelha/.npm/_logs/2021-06-07T14_15_39_766Z-debug.log
Works with...
- node version: v4.9.1
- npm version: v2.15.11
So the maximum Node.js supporting yarp.js is somewhere in between. We need support for knowing what is the latest LTS version supporting the current yarp.js
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment