Skip to content
New issue

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

webstudio builder cli failure #4761

Open
dvago opened this issue Jan 19, 2025 · 2 comments
Open

webstudio builder cli failure #4761

dvago opened this issue Jan 19, 2025 · 2 comments

Comments

@dvago
Copy link

dvago commented Jan 19, 2025

Dear team,

I'm trying to update my project but when running the flow to host the content to Vercel I get stuck on the below.

I tried to resolve the issue by deleting the .webstudio folder and re-initializing the project with npx webstudio@latest init and the flag --template SSG.

 ✗ npx webstudio@latest
npm warn using --force Recommended protections disabled.
│
◇  Where would you like to deploy your project?
│  Static Site Generation (SSG) Vercel
│
◇  Project data synchronized successfully
│
◇  Scaffolding the project files
SyntaxError: Expected double-quoted property name in JSON at position 570 (line 22 column 5)
    at JSON.parse (<anonymous>)
    at mergeJsonInto (file:///Users/[HIDDEN]/.npm/_npx/09d2825a8fb9a5f8/node_modules/webstudio/lib/cli.js:5963:16)
    at async copyTemplates (file:///Users/[HIDDEN]/.npm/_npx/09d2825a8fb9a5f8/node_modules/webstudio/lib/cli.js:6005:5)
    at async prebuild (file:///Users/[HIDDEN]/.npm/_npx/09d2825a8fb9a5f8/node_modules/webstudio/lib/cli.js:6043:5)
    at async build (file:///Users/[HIDDEN]/.npm/_npx/09d2825a8fb9a5f8/node_modules/webstudio/lib/cli.js:6495:3)
    at async Object.initFlow [as handler] (file:///Users/[HIDDEN]/.npm/_npx/09d2825a8fb9a5f8/node_modules/webstudio/lib/cli.js:6559:3)

Note: I changed the user path to [HIDDEN].
Note 2: The project correctly publishes in your .io domain so I must expect something is wrong with the local process.

@TrySound
Copy link
Member

Please share a project link so we could debug it

@dvago
Copy link
Author

dvago commented Jan 19, 2025

Please share a project link so we can debug it

Sent you the ID via email, check the yandex domain one.

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

No branches or pull requests

2 participants