Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Could not resolve "@tact-lang/ton-abi" #11

Open
akbariandev opened this issue Jan 22, 2024 · 1 comment
Open

Could not resolve "@tact-lang/ton-abi" #11

akbariandev opened this issue Jan 22, 2024 · 1 comment

Comments

@akbariandev
Copy link

I ran the install command mentioned in README and run the script but got below error.

Could not resolve "@tact-lang/ton-abi"

 node_modules/@tact-lang/emulator/dist/emulator/ContractSystem.js:25:26:
      25 │ const ton_abi_1 = require("@tact-lang/ton-abi");~~~~~~~~~~~~~~~~~~~~

  You can mark the path "@tact-lang/ton-abi" as external to exclude it from the bundle,
  which will remove this error. You can also surround this "require" call with a try/catch
  block to handle this failure at run-time instead of bundle-time.

8:44:13 PM [vite] error while updating dependencies:
Error: Build failed with 1 error:
node_modules/@tact-lang/emulator/dist/emulator/ContractSystem.js:25:26: ERROR: Could not resolve "@tact-lang/ton-abi"
    at failureErrorWithLog (/home/mj/Projects/ton/markyton/ton/test-app/node_modules/esbuild/lib/main.js:1649:15)
    at /home/mj/Projects/ton/markyton/ton/test-app/node_modules/esbuild/lib/main.js:1058:25
    at /home/mj/Projects/ton/markyton/ton/test-app/node_modules/esbuild/lib/main.js:1525:9
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

@yourdaddy01
Copy link

Could not resolve "@tact-lang/ton-abi"

node_modules/@tact-lang/emulator/dist/emulator/ContractSystem.js:25:26:
25 │ const ton_abi_1 = require("@tact-lang/ton-abi");
╵ ~~~~~~~~~~~~~~~~~~~~

You can mark the path "@tact-lang/ton-abi" as external to exclude it from the bundle,
which will remove this error. You can also surround this "require" call with a try/catch
block to handle this failure at run-time instead of bundle-time.

8:44:13 PM [vite] error while updating dependencies:
Error: Build failed with 1 error:
node_modules/@tact-lang/emulator/dist/emulator/ContractSystem.js:25:26: ERROR: Could not resolve "@tact-lang/ton-abi"
at failureErrorWithLog (/home/mj/Projects/ton/markyton/ton/test-app/node_modules/esbuild/lib/main.js:1649:15)
at /home/mj/Projects/ton/markyton/ton/test-app/node_modules/esbuild/lib/main.js:1058:25
at /home/mj/Projects/ton/markyton/ton/test-app/node_modules/esbuild/lib/main.js:1525:9
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants