fairDataSociety / fdp-play

Orchestration CLI for spinning up local development Bee cluster and FDP environment with Docker
BSD 3-Clause "New" or "Revised" License
12 stars 5 forks source link

fdp-play error #140

Closed TheBojda closed 2 months ago

TheBojda commented 5 months ago

If I run fdp-play by any command like fdp-play help, it throws:

TypeError: Cannot set property crypto of #<Object> which has only a getter
    at 479 (/usr/local/lib/node_modules/@fairdatasociety/fdp-play/dist/index.js:3:1352913)
    at r (/usr/local/lib/node_modules/@fairdatasociety/fdp-play/dist/index.js:3:1621580)
    at /usr/local/lib/node_modules/@fairdatasociety/fdp-play/dist/index.js:3:1622285
    at /usr/local/lib/node_modules/@fairdatasociety/fdp-play/dist/index.js:3:1622508
    at /usr/local/lib/node_modules/@fairdatasociety/fdp-play/dist/index.js:3:1622515
    at /usr/local/lib/node_modules/@fairdatasociety/fdp-play/dist/index.js:3:81
    at Object.<anonymous> (/usr/local/lib/node_modules/@fairdatasociety/fdp-play/dist/index.js:3:237)
    at Module._compile (node:internal/modules/cjs/loader:1358:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
    at Module.load (node:internal/modules/cjs/loader:1208:32)

Node.js v20.13.1
Aviksaikat commented 5 months ago

use node 18.

TheBojda commented 5 months ago

I've sent a PR that fixes this. https://github.com/fairDataSociety/fdp-play/pull/141

nugaon commented 2 months ago

fixed in #141