Hi everyone,
First of all, apologies if this issue has been raised before, I’ve tried to search for it using different keywords but couldn’t find anything.
I’m trying to install ForestAdmin with my local database using NPM and can’t manage to get the backend created.
Expected behavior
Lumber generate command should create the backend.
Actual behavior
When I run the Lumber generate command I’m getting the following error:
ReferenceError: BigInt is not defined
Failure Logs
/usr/local/lib/node_modules/lumber-cli/node_modules/jose/lib/help/rsa_primes.js:6
const ZERO = BigInt(0)
^
ReferenceError: BigInt is not defined
at Object. (/usr/local/lib/node_modules/lumber-cli/node_modules/jose/lib/help/rsa_primes.js:6:14)
at Module._compile (module.js:652:30)
at Object.Module._extensions…js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/usr/local/lib/node_modules/lumber-cli/node_modules/jose/lib/help/key_utils.js:9:23)
at Module._compile (module.js:652:30)
at Object.Module._extensions…js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/usr/local/lib/node_modules/lumber-cli/node_modules/jose/lib/jwk/key/base.js:7:28)
at Module._compile (module.js:652:30)
at Object.Module._extensions…js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
Context
Node version 8.10.0
node -e ‘console.log(process.versions)’
{ http_parser: ‘2.7.1’,
node: ‘8.10.0’,
v8: ‘6.2.414.50’,
uv: ‘1.18.0’,
zlib: ‘1.2.11’,
ares: ‘1.14.0’,
modules: ‘57’,
nghttp2: ‘1.30.0’,
openssl: ‘1.0.2n’,
icu: ‘60.2’,
unicode: ‘10.0’,
cldr: ‘32.0.1’,
tz: ‘2017c’ }
- Package Version:
- Express Version:
- Sequelize Version:
- Database Dialect: MySQL
- Database Version: mysql Ver 14.14 Distrib 5.7.28, for Linux (x86_64) using EditLine wrapper
- Project Name: yolandalocaladmin
Thanks in advance for your help.