You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Recently have been upgrading to NextJS's new App/ directory router with v13.4
While utilizing the Pages directory, this was not an issue.
warn ./node_modules/bytebuffer/dist/bytebuffer-node.js
Module not found: Can't resolve 'memcpy' in '/GitHub/EVM-bootstrap/node_modules/bytebuffer/dist'
Expected behavior
There shouldn't be a dev dependency issue, I think it's to do with how the Trezor dev dependencies are working in combination with the new NextJS App directory, as the exact same repo but utilizing the Page/ directory works perfectly fine.
Screenshots
The text was updated successfully, but these errors were encountered:
Additional context I received an additional warning regarding [encoding](https://github.com/andris9/encoding#readme) dependency missing. Was able to install which resolved the warning
Which works fine when installed as its own dependency inside this front-end repository
Describe the bug
Recently have been upgrading to NextJS's new App/ directory router with v13.4
While utilizing the Pages directory, this was not an issue.
NextJS v13.4 (Page directory) (No Issue)
NextJS v13.1 (Page directory) (No Issue)
NextJS v13.4 (App directory) (Issue)
NextJS v13.1 (App directory) (Issue)
Info:
Reproduction
I have recreated the issue in this bootstrap repo branch:
https://github.com/Seranged/EVM-FE-Bootstrap/tree/trezor-nextjs-issue-reproduction
warn ./node_modules/bytebuffer/dist/bytebuffer-node.js
Module not found: Can't resolve 'memcpy' in '/GitHub/EVM-bootstrap/node_modules/bytebuffer/dist'
Import trace for requested module:
./node_modules/bytebuffer/dist/bytebuffer-node.js
./node_modules/@trezor/transport/lib/lowlevel/receive.js
./node_modules/@trezor/transport/lib/bridge/v2.js
./node_modules/@trezor/transport/lib/index.js
./node_modules/@trezor/connect/lib/data/config.js
./node_modules/@trezor/connect-web/lib/index.js
./src/app/layout.tsx
Expected behavior
There shouldn't be a dev dependency issue, I think it's to do with how the Trezor dev dependencies are working in combination with the new NextJS App directory, as the exact same repo but utilizing the Page/ directory works perfectly fine.
Screenshots
![image](https://user-images.githubusercontent.com/80223622/236628800-a6f34de8-e46c-46f1-8282-ddb3fd7dbe6d.png)
The text was updated successfully, but these errors were encountered: