Giter VIP home page Giter VIP logo

Comments (17)

SilentCicero avatar SilentCicero commented on May 27, 2024

from ethjs.

SilentCicero avatar SilentCicero commented on May 27, 2024

from ethjs.

SilentCicero avatar SilentCicero commented on May 27, 2024

from ethjs.

kumavis avatar kumavis commented on May 27, 2024

not sure why these were installed for you, they should be dev-deps

from ethjs.

sulliwane avatar sulliwane commented on May 27, 2024

Ahah, thanks for your quick update. I confirm it's not reproducible using v0.3.9 ! Many thanks

Sorry it was late night when I discovered what was causing my CI to fail, and I didn't check that indeed, it was only affecting dev dependencies. I'm doing transpilation in my CI system, which is why I'm also installing dev-deps...

I love the great work you are doing with EthJS. It's light, it's pure js (js-sha over keccack, elliptic over secp256k1...etc), and it's totally modular. Thanks for that

from ethjs.

roschler avatar roschler commented on May 27, 2024

After reading this issue I updated to 0.3.9. As soon as I did that I started getting a run-time error about "babel" when I tried to run my Node.js app. I reverted back to 0.3.6 and the error went away and I could run my app again:

module.js:549
throw err;
^

Error: Cannot find module 'babel-runtime/regenerator'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/home/use/Documents/GitHub/node_modules/ethjs-query/lib/index.js:3:20)
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)
Waiting for the debugger to disconnect...

from ethjs.

SilentCicero avatar SilentCicero commented on May 27, 2024

from ethjs.

roschler avatar roschler commented on May 27, 2024

Can you expand on how your trying to run it Robert?

I have a feeling that I don't really know what you're asking but here goes. I'm simply executing my Node.js app and the error happens in the web page that requires eth.js when the require operation takes place.

from ethjs.

SilentCicero avatar SilentCicero commented on May 27, 2024

from ethjs.

roschler avatar roschler commented on May 27, 2024

from ethjs.

artem-a avatar artem-a commented on May 27, 2024

Hi, I have the same problem. I installed the latest version in an empty application, ran and got an error

2018-05-10T18:29:43.802Z - debug:  Error: Cannot find module 'babel-runtime/regenerator'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:571:15)
    at Function.Module._load (internal/modules/cjs/loader.js:497:25)
    at Module.require (internal/modules/cjs/loader.js:626:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.<anonymous> (........node_modules/ethjs-query/lib/index.js:3:20)
    at Module._compile (internal/modules/cjs/loader.js:678:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10)
    at Module.load (internal/modules/cjs/loader.js:589:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:528:12)
    at Function.Module._load (internal/modules/cjs/loader.js:520:3)

from ethjs.

artem-a avatar artem-a commented on May 27, 2024

versions 0.3.6, 0.3.8 work fine
versions 0.3.7, 0.3.9 broken

from ethjs.

vldmkr avatar vldmkr commented on May 27, 2024

@roschler @artem-a As a workaround, you can install babel-plugin-transform-runtime next to the [email protected] as dev dependency. It solves the problem. But something is wrong, since the guilty ethjs-query module already contains this dependency.

from ethjs.

roschler avatar roschler commented on May 27, 2024

from ethjs.

SilentCicero avatar SilentCicero commented on May 27, 2024

from ethjs.

SilentCicero avatar SilentCicero commented on May 27, 2024

from ethjs.

SilentCicero avatar SilentCicero commented on May 27, 2024

from ethjs.

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.