Skip to content

jf yarn install - [🚨Error] invalid character 'u' looking for beginning of value #1166

@chkp-roniz

Description

@chkp-roniz

I am not using scopes in my yarn project (just npmRegistryServer); hence, this line fails since yarn config get npmScopes is
undefined

err = json.Unmarshal([]byte(npmScopesStr), &npmScopesMap)

Please skip if undefined and don't try to unmarshal it to JSON

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions