Giter VIP home page Giter VIP logo

Comments (3)

drewfish avatar drewfish commented on August 26, 2024

Yeah, I get an error too with a fresh git clone:

  • clone, cd into directory
  • npm install
  • npm run build:ts
  • node --eval 'Error.stackTraceLimit=50; require(".")'

It shows this error:

/Users/folta/tmp/etcd3/node_modules/grpc/src/node/index.js:141
      builder = ProtoBuf.loadProtoFile(filename);
                         ^

TypeError: ProtoBuf.loadProtoFile is not a function
    at Object.load (/Users/folta/tmp/etcd3/node_modules/grpc/src/node/index.js:141:26)
    at Object.<anonymous> (/Users/folta/tmp/etcd3/lib/src/connection-pool.js:8:23)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/folta/tmp/etcd3/lib/src/index.js:7:27)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at [eval]:1:27
    at ContextifyScript.Script.runInThisContext (vm.js:25:33)
    at Object.runInThisContext (vm.js:97:38)
    at Object.<anonymous> ([eval]-wrapper:6:22)
    at Module._compile (module.js:570:32)
    at evalScript (bootstrap_node.js:354:27)
    at run (bootstrap_node.js:123:11)
    at run (bootstrap_node.js:390:7)
    at startup (bootstrap_node.js:122:9)
    at bootstrap_node.js:505:3

from etcd3.

connor4312 avatar connor4312 commented on August 26, 2024

Okay, thanks for the reports. I looks like grpc changed under us and the patch is no longer effective (and regardless should no longer be necessary with grpc/grpc#11515). I've unpublished 0.2.1, I'll revisit this tomorrow.

from etcd3.

connor4312 avatar connor4312 commented on August 26, 2024

Sorry for the delay, there were some other test failures I needed to address.

I've published 0.2.2 which resolves these issues. Please let me know if you hit any more problems!

from etcd3.

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.