Closed raviradadiya0142 closed 2 months ago
Hi @raviradadiya0142 , thank you for reporting!
Could you share your package.json
file? prefer not as a screenshot but as a text (so it would be easy to copy-past)
Also, i'd recommend updating the aptos ts-sdk package to latest 1.22.2
version
Hello team, I have attached package.json.
Regards Ravi
On Mon, Jul 8, 2024 at 9:05 PM Maayan @.***> wrote:
Hi @raviradadiya0142 https://github.com/raviradadiya0142 , thank you for reporting!
Could you share your package.json file? prefer not as a screenshot but as a text (so it would be easy to copy-past)
Also, i'd recommend updating the aptos ts-sdk package to latest 1.22.2 version
— Reply to this email directly, view it on GitHub https://github.com/aptos-labs/aptos-ts-sdk/issues/457#issuecomment-2214460049, or unsubscribe https://github.com/notifications/unsubscribe-auth/BD2F6BGHLT4NKISHEZ67VTTZLKWTZAVCNFSM6AAAAABKOF7JKCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJUGQ3DAMBUHE . You are receiving this because you were mentioned.Message ID: @.***>
{ "name": "fineart_ledger_frontend_marketplace", "version": "0.1.0", "homepage": ".", "private": true, "dependencies": { "@aptos-labs/ts-sdk": "^1.22.2", "@emotion/react": "^11.9.0", "@emotion/styled": "^11.8.1", "@ethereumjs/common": "^2.4.0", "@ethereumjs/tx": "^3.3.0", "@fortawesome/fontawesome-svg-core": "^6.4.0", "@fortawesome/free-solid-svg-icons": "^6.4.0", "@fortawesome/react-fontawesome": "^0.2.0", "@mui/material": "^5.6.4", "@rarible/api-client": "^0.0.13-beta11", "@rarible/ethers-ethereum": "^0.12.78", "@rarible/protocol-ethereum-sdk": "^0.12.79", "@rarible/sdk-wallet": "^0.9.13-beta.imx.2", "@rarible/types": "^0.9.6", "@rarible/web3-ethereum": "^0.12.78", "@solana/web3.js": "^1.68.1", "@testing-library/jest-dom": "^5.16.4", "@testing-library/react": "^13.1.1", "@testing-library/user-event": "^13.5.0", "@truffle/hdwallet-provider": "^2.0.8", "@types/jest": "^28.1.1", "@types/node": "^17.0.42", "@types/react": "^18.0.12", "@types/react-dom": "^18.0.5", "autoprefixer": "10.4.5", "axios": "^0.27.2", "bootstrap": "4.6.1", "country-state-city": "^3.1.4", "crypto": "^1.0.1", "depcheck": "^1.4.3", "eth-rpc-errors": "^4.0.3", "eth-sig-util": "3.0.1", "ethereumjs-util": "^7.1.0", "ethers": "^5.7.2", "http": "^0.0.1-security", "https": "^1.0.0", "install": "^0.13.0", "ipfs-http-client": "^50.1.2", "jquery": "^3.6.0", "lodash": "^4.17.21", "moment": "^2.29.3", "npm": "^9.7.1", "os": "^0.1.2", "postcss-preset-env": "^7.4.4", "prop-types": "^15.8.1", "react": "^18.1.0", "react-bootstrap": "^2.4.0", "react-copy-to-clipboard": "^5.1.0", "react-datepicker": "^4.8.0", "react-dom": "^18.1.0", "react-flash-message": "^1.0.8", "react-icons": "^4.3.1", "react-otp-input": "^2.4.0", "react-phone-number-input": "^3.2.11", "react-redux": "^8.0.1", "react-router-dom": "^6.3.0", "react-scripts": "4.0.3", "react-select": "^5.7.3", "react-share": "^4.4.0", "react-simple-image-viewer": "^1.2.2", "redux": "^4.2.0", "redux-devtools-extension": "^2.13.9", "redux-persist": "^6.0.0", "redux-thunk": "^2.4.1", "sass": "^1.51.0", "serve": "^13.0.2", "stream": "^0.0.2", "styled-components": "^5.3.5", "sweetalert": "^2.1.2", "tslib": "^2.4.0", "typescript": "^4.7.3", "util": "^0.12.4", "uuid": "^9.0.0", "web-vitals": "^2.1.4", "web3": "^1.7.5", "web3-eth-contract": "^1.7.5", "web3-utils": "^1.7.5", "web3modal": "^1.9.12", "yup": "^0.32.11" }, "scripts": { "start": "react-scripts --max_old_space_size=4096 start", "build": "react-scripts --max_old_space_size=4096 build", "test": "react-scripts test", "eject": "react-scripts eject" }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] }, "devDependencies": { "@rarible/sdk": "^0.13.68-fix.19", "assert": "^2.0.0", "buffer": "^6.0.3", "crypto-browserify": "^3.12.0", "https-browserify": "^1.0.0", "os-browserify": "^0.3.0", "prettier": "^2.6.2", "process": "^0.11.10", "react-app-rewired": "^2.2.1", "stream-browserify": "^3.0.0", "stream-http": "^3.2.0", "url": "^0.11.0" } }
@raviradadiya0142 thanks! could you share steps to reproduce the error?
Hello Maayan, I'm working on a fine art NFT related project, in this project have Rarible SDK version 0.13.7 (old version). Now I installed a new version of Rarible SDK 0.13.68-fix.19. That time showed @./aptos-sdk/build/index.js Module not found: Can't resolve @./ts-sdk' " and I installed @aptos-labs/ts-sdk' package. after, showed Can't import the named export 'HDKey' from non EcmaScript module.
Regards Ravi
On Tue, Jul 9, 2024 at 9:44 PM Maayan @.***> wrote:
@raviradadiya0142 https://github.com/raviradadiya0142 thanks! could you share steps to reproduce the error?
— Reply to this email directly, view it on GitHub https://github.com/aptos-labs/aptos-ts-sdk/issues/457#issuecomment-2218114456, or unsubscribe https://github.com/notifications/unsubscribe-auth/BD2F6BB2QXIBWBAHELM4J4LZLQD5HAVCNFSM6AAAAABKOF7JKCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJYGEYTINBVGY . You are receiving this because you were mentioned.Message ID: @.***>
Have you checked this?
It would help us debug if you'd include a minimal, reproducible example: https://stackoverflow.com/help/minimal-reproducible-example.
This means the relevant files (package.json is a good start), the commands you're running, which specific thing you do that triggers the error, etc.
Hello team, issue solved to upgrade packages version and downgrade node js version (v16 to v14). thank you
🐛 Bug Description
Hello, I am writing to report an issue related to Can't import the named export 'HDKey' from non EcmaScript module in my development environment, and I'm using react 18 node js 16 @rarible/sdk - ^0.13.68-fix.19, @aptos-labs/ts-sdk - ^1.5.1. Please check this issue, I have an attached issue related to the Screenshot.
Thank you