Skip to content

Trezor: Webpack build broken on master. #3920

@JoeGruffins

Description

@JoeGruffins

master is currently 391d8a5

A minor trezor-connect version bump moved a file that was needed by Trezor. @matheusd figured this out and here is the diff to make current master move the correct files, also from @matheusd :

diff --git a/webpack/trezor.js b/webpack/trezor.js
index 3fa4713f5..fe0545e28 100644
--- a/webpack/trezor.js
+++ b/webpack/trezor.js
@@ -53,7 +53,8 @@ module.exports = {
 
         new CopyWebpackPlugin({
             patterns: [
-                { from: "./node_modules/trezor-connect/data", to: "data" }
+                { from: "./node_modules/trezor-connect/data", to: "data" },
+                { from: "./node_modules/@trezor/transport/messages.json", to: "data/messages" }
             ]
         }),

Staying on version 8 will however show this warning:

index.js:172 trezor-connect version 8 has been deprecated. Please start using @trezor/connect version 9 https://www.npmjs.com/package/@trezor/connect

#3911 also closes this issue by bumping the version and placing the correct files in the correct place, albeit without webpack at the moment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions