blueprint icon indicating copy to clipboard operation
blueprint copied to clipboard

Wrappers folder not generated when using Tact project template (npm create ton@latest)

Open yopblip opened this issue 7 months ago • 1 comments

Hello, I have an issue when creating a Tact smart contract project using: npm create ton@latest

I select the tact project template. However, the wrappers folder is not created.

In contrast:

  • When using the func template, the wrappers folder is generated as expected.
  • The official documentation also shows a wrappers folder in the directory structure.

What I’ve tried:

  • Running the command with sudo
  • Changing npm version from 20 to 22

Neither of these helped — the wrappers folder is still not created in the Tact project.

Is this expected behavior or a bug?
If it’s expected, could the docs be updated for clarity? If not, I’d appreciate help fixing this.

Thanks!

yopblip avatar May 18 '25 20:05 yopblip

Yes, this is expected behaviour. Newly created tact contracts will use https://docs.tact-lang.org/book/config/. I'll update the docs

Alejandbel avatar May 26 '25 12:05 Alejandbel