Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to use after Node.js update v20.9.0 #106

Open
tamas6 opened this issue Nov 23, 2023 · 3 comments
Open

Not able to use after Node.js update v20.9.0 #106

tamas6 opened this issue Nov 23, 2023 · 3 comments

Comments

@tamas6
Copy link
Contributor

tamas6 commented Nov 23, 2023

Any command gives a long log, exactly the
.nvm/versions/node/v20.9.0/lib/node_modules/@fairdatasociety/fdp-play/dist/index.js:3

and in the end:

TypeError: Cannot set property crypto of # which has only a getter
at 479 (/Users/t6/.nvm/versions/node/v20.9.0/lib/node_modules/@fairdatasociety/fdp-play/dist/index.js:3:1308071)
at r (/Users/t6/.nvm/versions/node/v20.9.0/lib/node_modules/@fairdatasociety/fdp-play/dist/index.js:3:1496486)
at /Users/t6/.nvm/versions/node/v20.9.0/lib/node_modules/@fairdatasociety/fdp-play/dist/index.js:3:1497191
at /Users/t6/.nvm/versions/node/v20.9.0/lib/node_modules/@fairdatasociety/fdp-play/dist/index.js:3:1497414
at /Users/t6/.nvm/versions/node/v20.9.0/lib/node_modules/@fairdatasociety/fdp-play/dist/index.js:3:1497421
at /Users/t6/.nvm/versions/node/v20.9.0/lib/node_modules/@fairdatasociety/fdp-play/dist/index.js:3:81
at Object. (/Users/t6/.nvm/versions/node/v20.9.0/lib/node_modules/@fairdatasociety/fdp-play/dist/index.js:3:237)
at Module._compile (node:internal/modules/cjs/loader:1241:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
at Module.load (node:internal/modules/cjs/loader:1091:32)

Node.js v20.9.0

@tamas6
Copy link
Contributor Author

tamas6 commented Nov 23, 2023

Attempt to fix: returning to node v16 start commands (and most) are working but the followings are not
fdp-play start +
--bee-version
--bee-repo
--fairos-image
--blockchain-image

giving the stated error above

@tfius
Copy link
Contributor

tfius commented Nov 24, 2023

Seems there are issues with fdp-play and latest bee. Can you try previous versions of fdp-play and node 18 ?

@tamas6
Copy link
Contributor Author

tamas6 commented Nov 29, 2023

additional end logs for node v16

TypeError: Cannot read properties of undefined (reading 'length')
at i (/usr/local/lib/node_modules/@fairdatasociety/fdp-play/dist/index.js:3:319856)
at Object.t.parseValue (/usr/local/lib/node_modules/@fairdatasociety/fdp-play/dist/index.js:3:321530)
at /usr/local/lib/node_modules/@fairdatasociety/fdp-play/dist/index.js:3:317496
at Object. (/usr/local/lib/node_modules/@fairdatasociety/fdp-play/dist/index.js:3:319484)
at Generator.next ()
at /usr/local/lib/node_modules/@fairdatasociety/fdp-play/dist/index.js:3:314006
at new Promise ()
at n (/usr/local/lib/node_modules/@fairdatasociety/fdp-play/dist/index.js:3:313751)
at Object.parse (/usr/local/lib/node_modules/@fairdatasociety/fdp-play/dist/index.js:3:316234)
at b.initCommandClasses (/usr/local/lib/node_modules/@fairdatasociety/fdp-play/dist/index.js:3:349971)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants