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
Trying to build a NextJS project and got this error
`./node_modules/@certusone/wormhole-sdk/node_modules/@injectivelabs/sdk-ts/dist/esm/core/utils/Denom/DenomClient.js
Attempted import error: 'TokenInfo' is not exported from '@injectivelabs/token-metadata' (imported as 'TokenInfo').
Got this error:
`./node_modules/@certusone/wormhole-sdk/node_modules/@injectivelabs/sdk-ts/dist/esm/core/utils/Denom/DenomClient.js
Attempted import error: 'TokenInfo' is not exported from '@injectivelabs/token-metadata' (imported as 'TokenInfo').
Build failed because of webpack errors
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.`
Expected behavior
Should be successfully
Solution recommendation
The text was updated successfully, but these errors were encountered:
I ran into this error myself. it happens because Injective team misused semver in their own packages and made breaking changes in a minor version update while using the caret ^ notation (which allows for minor version bumps).
I ran into this error myself. it happens because Injective team misused semver in their own packages and made breaking changes in a minor version update while using the caret ^ notation (which allows for minor version bumps).
Description and context
Trying to build a NextJS project and got this error
`./node_modules/@certusone/wormhole-sdk/node_modules/@injectivelabs/sdk-ts/dist/esm/core/utils/Denom/DenomClient.js
Attempted import error: 'TokenInfo' is not exported from '@injectivelabs/token-metadata' (imported as 'TokenInfo').
Import trace for requested module:
./node_modules/@certusone/wormhole-sdk/node_modules/@injectivelabs/sdk-ts/dist/esm/core/utils/Denom/DenomClient.js
./node_modules/@certusone/wormhole-sdk/node_modules/@injectivelabs/sdk-ts/dist/esm/core/utils/Denom/index.js
./node_modules/@certusone/wormhole-sdk/node_modules/@injectivelabs/sdk-ts/dist/esm/core/utils/index.js
./node_modules/@certusone/wormhole-sdk/node_modules/@injectivelabs/sdk-ts/dist/esm/core/index.js
./node_modules/@certusone/wormhole-sdk/node_modules/@injectivelabs/sdk-ts/dist/esm/index.js
./node_modules/@certusone/wormhole-sdk/lib/esm/token_bridge/injective.js
./node_modules/@certusone/wormhole-sdk/lib/esm/token_bridge/index.js
./node_modules/@certusone/wormhole-sdk/lib/esm/index.js`
Node Version:
20.9.0
Npm Version:
10.1.0
OS:
Mac
NPM Package Version:
^0.10.15
Steps to reproduce
"@certusone/wormhole-sdk": "^0.10.15",
Experienced behavior
Got this error:
`./node_modules/@certusone/wormhole-sdk/node_modules/@injectivelabs/sdk-ts/dist/esm/core/utils/Denom/DenomClient.js
Attempted import error: 'TokenInfo' is not exported from '@injectivelabs/token-metadata' (imported as 'TokenInfo').
Import trace for requested module:
./node_modules/@certusone/wormhole-sdk/node_modules/@injectivelabs/sdk-ts/dist/esm/core/utils/Denom/DenomClient.js
./node_modules/@certusone/wormhole-sdk/node_modules/@injectivelabs/sdk-ts/dist/esm/core/utils/Denom/index.js
./node_modules/@certusone/wormhole-sdk/node_modules/@injectivelabs/sdk-ts/dist/esm/core/utils/index.js
./node_modules/@certusone/wormhole-sdk/node_modules/@injectivelabs/sdk-ts/dist/esm/core/index.js
./node_modules/@certusone/wormhole-sdk/node_modules/@injectivelabs/sdk-ts/dist/esm/index.js
./node_modules/@certusone/wormhole-sdk/lib/esm/token_bridge/injective.js
./node_modules/@certusone/wormhole-sdk/lib/esm/token_bridge/index.js
./node_modules/@certusone/wormhole-sdk/lib/esm/index.js
Expected behavior
Should be successfully
Solution recommendation
The text was updated successfully, but these errors were encountered: