We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
blueprint build doesn't work with moduleResolution
blueprint build
{ "extends": "@tsconfig/node20/tsconfig.json", "compilerOptions": { "resolveJsonModule": true, "module": "Preserve", "moduleResolution": "bundler" } }
D:\Projects\my-learn\ton-contract> npx blueprint build 1 01/21/2025 09:24:28 PM Error: ENOENT: no such file or directory, scandir 'D:\Projects\my-learn\ton-contract\wrappers' at async Object.readdir (node:internal/fs/promises:948:18) at async findCompiles (D:\Projects\my-learn\ton-contract\node_modules\.pnpm\@[email protected]_@[email protected]_@[email protected]_@[email protected]_rt4e6qdu5c7mzkkkcx7zvte7j4\node_modules\@ton\blueprint\dist\utils\selection.utils.js:37:19) at async selectCompile (D:\Projects\my-learn\ton-contract\node_modules\.pnpm\@[email protected]_@[email protected]_@[email protected]_@[email protected]_rt4e6qdu5c7mzkkkcx7zvte7j4\node_modules\@ton\blueprint\dist\cli\build.js:12:42) at async build (D:\Projects\my-learn\ton-contract\node_modules\.pnpm\@[email protected]_@[email protected]_@[email protected]_@[email protected]_rt4e6qdu5c7mzkkkcx7zvte7j4\node_modules\@ton\blueprint\dist\cli\build.js:32:21) at async main (D:\Projects\my-learn\ton-contract\node_modules\.pnpm\@[email protected]_@[email protected]_@[email protected]_@[email protected]_rt4e6qdu5c7mzkkkcx7zvte7j4\node_modules\@ton\blueprint\dist\cli\cli.js:91:5) { errno: -4058, code: 'ENOENT', syscall: 'scandir', path: 'D:\\Projects\\my-learn\\ton-contract\\wrappers' }
If module is classic in tsconfig.json it works:
tsconfig.json
{ "extends": "@tsconfig/node20/tsconfig.json", "compilerOptions": { "resolveJsonModule": true, "module": "NodeNext", "moduleResolution": "nodenext" } }
D:\Projects\my-learn\ton-contract> npx blueprint build 1 01/21/2025 09:24:48 PM Using file: MainContract Build script running, compiling MainContract ✅ Compiled successfully! Cell BOC result: { "hash": "4834417f4be3ad0ec96e1d6d60c2ba9c86113ee51cfc9c68cb974853f1e0a6a7",
The text was updated successfully, but these errors were encountered:
Probably it's an issue with ts-node
Sorry, something went wrong.
No branches or pull requests
blueprint build
doesn't work with moduleResolutionIf module is classic in
tsconfig.json
it works:The text was updated successfully, but these errors were encountered: