ton-connect / sdk

SDK for TON Connect 2.0 — a comprehensive communication protocol between wallets and apps in TON ecosystem
Apache License 2.0
329 stars 96 forks source link

[SDK]: Getting "SyntaxError: Unexpected token 'with'" while building @tonconnect/sdk #176

Open sidagwl228 opened 5 months ago

sidagwl228 commented 5 months ago

Your Question

Getting "SyntaxError: Unexpected token 'with'" while building @tonconnect/sdk@3.0.3

Context

I am running this command 'npx nx run-many --target=build --all --parallel=1' to build all the projects as stated in the developers.md file.

But for '@tonconnect/sdk@3.0.3' the build st ep fails with error "SyntaxError: Unexpected token 'with'". Checked the issues section but no such issue found for other people. Most likely this could be my local machine issue or some node version issue.

SS attached 👇

Screenshot 2024-06-05 at 3 46 59 PM

If possible can you help me in this?

What have you tried so far?

I have tried:

  1. Checking if am making any mistake while following the setup instructions.
  2. Check the issues section as well.

Relevant Code or Commands

No response

Documentation Check