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

Nodejs 21 doesnt' work #117

Open
munntjlx opened this issue Mar 8, 2024 · 3 comments
Open

Nodejs 21 doesnt' work #117

munntjlx opened this issue Mar 8, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@munntjlx
Copy link

munntjlx commented Mar 8, 2024

Mostly "tons of error messages" with node21. Wondering if person doing this has abandonded the project? Its GREAT software!

@munntjlx munntjlx added the bug Something isn't working label Mar 8, 2024
@ezavgorodniy
Copy link

Speaking of abandoning the project it's kind of duplicate of

node21 can be workarounded with adding a flag to your environment variable (NODE_OPTIONS=--openssl-legacy-provider) #114

@nh8157
Copy link

nh8157 commented Mar 10, 2024

Second this. Downgrading node to 20.11.1 fixed it for me.

@oobleck
Copy link

oobleck commented May 22, 2024

Speaking of abandoning the project it's kind of duplicate of

node21 can be workarounded with adding a flag to your environment variable (NODE_OPTIONS=--openssl-legacy-provider) #114

To be clear, this workaround is for a very specific issue. I don't believe this is the issue we are facing with node 21, nor does this workaround work for me on node 21.6.2.

yarn log4brains preview results in

~/data-table-adr/node_modules/esm/esm.js:1
const __global__ = <snip>;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

TypeError: Function.prototype.apply was called on undefined, which is a undefined and not a function
    at qo (~/workspace/data-table-adr/node_modules/esm/esm.js:1:223175)
    at Uo (~/workspace/data-table-adr/node_modules/esm/esm.js:1:222896)
    at $o (~/workspace/data-table-adr/node_modules/esm/esm.js:1:224488)
    at wu (~/workspace/data-table-adr/node_modules/esm/esm.js:1:227324)
    at Eu (~/workspace/data-table-adr/node_modules/esm/esm.js:1:227999)
    at Module.<anonymous> (~/workspace/data-table-adr/node_modules/esm/esm.js:1:295976)
    at n (~/workspace/data-table-adr/node_modules/esm/esm.js:1:279589)
    at Object.<anonymous> (~/workspace/data-table-adr/node_modules/log4brains/dist/log4brains:5:18)
    at Module._compile (node:internal/modules/cjs/loader:1378:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1437:10)

Node.js v21.6.2
�[2K�[1G�[31merror�[39m Command failed with exit code 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants