Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Using webpack breaks v21 sdk, blocking browser based dapps #297

Closed
@dashameter

Description

Trying v21 with vue the first message that greets me in the browser debug console is:

core_grpc_web_pb.js?a73b:105 Uncaught TypeError: Cannot read properties of undefined (reading 'MethodInfo')
    at eval (core_grpc_web_pb.js?a73b:105)
    at Object../node_modules/@dashevo/dapi-grpc/clients/core/v0/web/core_grpc_web_pb.js (chunk-vendors.js:1256)
    at __webpack_require__ (app.js:854)
    at fn (app.js:151)
    at eval (browser.js?6173:1)
    at Object../node_modules/@dashevo/dapi-grpc/browser.js (chunk-vendors.js:1245)
    at __webpack_require__ (app.js:854)
    at fn (app.js:151)
    at eval (broadcastTransactionFactory.js?ed7d:6)
    at Object../node_modules/@dashevo/dapi-client/lib/methods/core/broadcastTransactionFactory.js (chunk-vendors.js:640)

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions