react-app-template icon indicating copy to clipboard operation
react-app-template copied to clipboard

Sample app is not working with `vtex link`

Open PabloReszczynski opened this issue 10 months ago • 0 comments

I've been following the tutorial at https://developers.vtex.com/docs/guides/vtex-io-documentation-3-creating-the-new-app, but when it comes to linking the app to my vtex env, the server responds with a 500 error.

Reproducing steps:

  • clone the repo
  • Edit manifest.json
  • run vtex link

vtex link output:

❯ vtex link
13:14:18.458 - info: Running yarn in react
yarn install v1.22.10
warning package.json: No license field
warning [email protected]: No license field
[1/4] 🔍  Resolving packages...
success Already up-to-date.
✨  Done in 0.40s.
13:14:19.262 - info: Finished running yarn
13:14:19.263 - info: Linking app [email protected]
13:14:19.337 - info: Sending 15 files
13:14:19.339 - info: Link ID: 0aff6646583682b0
13:14:19.339 - info: Project size: 0.47MB
13:14:19.339 - info: Compressing project files...
13:14:19.399 - info: Compressed project size: 0.21MB
13:14:20.921 - info: Sending files: 100% - 0.21MB/0.21MB
13:14:21.048 - info: Build accepted for [email protected] at accountname/env [email protected]
13:14:21.656 - error: App build failed with message: invalid character '<' looking for beginning of value
13:14:21.663 - error: Error while retrieving list of versions for app example-vendor.example-app. [email protected]
13:14:21.702 - error: Request failed with status code 500 [email protected]

PabloReszczynski avatar Apr 23 '24 17:04 PabloReszczynski