Giter Club home page Giter Club logo

Comments (3)

ezavgorodniy avatar ezavgorodniy commented on September 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

from log4brains.

nh8157 avatar nh8157 commented on September 22, 2024

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

from log4brains.

oobleck avatar oobleck commented on September 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.

from log4brains.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.