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

"invalid character 'u' looking for beginning of value" when running jf yarn install in Yarn 4 project #2664

Closed
RobinDinkel opened this issue Aug 23, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@RobinDinkel
Copy link

RobinDinkel commented Aug 23, 2024

Describe the bug

When I run "jf yarn install" in my Yarn 4 project I receive the following error:

09:47:20 [🚨Error] invalid character 'u' looking for beginning of value

Current behavior

jf yarn install
09:47:19 [Debug] JFrog CLI version: 2.63.2
09:47:19 [Debug] OS/Arch: linux/amd64
09:47:19 [Debug] Trace ID for JFrog Platform logs: 92e835809fc8ca2a
09:47:19 [🔵Info] Running Yarn...
09:47:19 [Debug] Preparing to read the config file redacted/.jfrog/projects/yarn.yaml
09:47:19 [Debug] Found resolver in the config file redacted/.jfrog/projects/yarn.yaml
09:47:19 [Debug] Preparing prerequisites.
09:47:19 [Debug] Found Yarn executable at: /usr/bin/yarn
09:47:19 [Debug] Working directory set to: redacted
09:47:19 [Debug] Found Yarn executable at: /usr/bin/yarn
09:47:19 [Debug] Sending HTTP GET request to: redacted/artifactory/api/system/version
09:47:19 [Debug] Artifactory response: 200
09:47:19 [Debug] JFrog Artifactory version is: 7.90.6
09:47:19 [Debug] Sending npm auth request
09:47:19 [Debug] Sending HTTP GET request to:redacted/artifactory/api/npm/auth
09:47:19 [Debug] Sending HTTP GET request to:redacted/api/repositories/redacted
09:47:20 [🔵Info] Trace ID for JFrog Platform logs: 92e835809fc8ca2a
09:47:20 [🚨Error] invalid character 'u' looking for beginning of value

Reproduction steps

Create Yarn 4 project
Run jf c add
Run jf yarn-config
Run yarn install

Expected behavior

The dependencies are downloaded.

JFrog CLI version

2.63.2

Operating system type and version

Ubuntu 20.04

JFrog Artifactory version

7.90.6

JFrog Xray version

3.88.12

@RobinDinkel RobinDinkel added the bug Something isn't working label Aug 23, 2024
@EyalDelarea
Copy link
Contributor

Hi @RobinDinkel,

This issue has already been reported in our jfrog-cli-core project, where the logic for handling it resides. As I mentioned in this issue, we currently do not support Yarn v4.

We will provide updates once support is added to our roadmap and share progress as it happens.

I'm closing this issue to avoid duplication. Thank you for bringing this to our attention!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants