-
Notifications
You must be signed in to change notification settings - Fork 59
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
jf yarn install - [🚨Error] invalid character 'u' looking for beginning of value #1166
Comments
Also, after setting an internal scope in npmScopes, jf yarn install freezes for a long time
|
Hey @chkp-roniz, Could you please provide more details to assist us in resolving the issue? Which version of Yarn are you using? Your input will greatly aid us in addressing this matter effectively. |
|
Hey @chkp-roniz, I noticed that you're currently using yarn v4.1.1, but it seems that the JFrog CLI doesn't support yarn version 4.x yet. While changing the specific line you mentioned might prevent the CLI from crashing, it's just one of many changes from the previous versions to v4 that needs to be done. My suggestion would be to downgrade yarn to v3.8.1 if possible. I've tested it with this version of yarn, and it works well. Additionally, you could open a feature request for yarn v4 support, and we'll consider incorporating it into our roadmap. Let me know if you have any more questions! |
I am not using scopes in my yarn project (just npmRegistryServer); hence, this line fails since
yarn config get npmScopes
isundefined
jfrog-cli-core/artifactory/commands/yarn/yarn.go
Line 323 in a063de8
Please skip if undefined and don't try to unmarshal it to JSON
The text was updated successfully, but these errors were encountered: