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

Yarn 3 YN0001- Error while persisting #20

Closed
pedronastasi opened this issue Oct 24, 2022 · 2 comments
Closed

Yarn 3 YN0001- Error while persisting #20

pedronastasi opened this issue Oct 24, 2022 · 2 comments

Comments

@pedronastasi
Copy link

pedronastasi commented Oct 24, 2022

I'm getting YN0001- Error while persisting.... on windows when I run yarn install . Version Yarn 3.2.3

It occurs during the linking process. I'm using node-modules linker.

➤ YN0001: │ Error: While persisting /C:/Users/.../AppData/Local/Yarn/Berry/cache/json-schema-library-npm-7.2.0-542ab2e6c3-8.zip/node_modules/json-schema-library/ -> /C:/Users/...backstage/node_modules/json-schema-library ENOENT: no such file or directory, open 'C:\Users\PNastasi\Documents\eg-group\backstage\node_modules\json-schema-library\profiles\develop-doValidations-2022-09-28 15:37:34.txt'

I created this issue before in yarn in the following link: yarnpkg/berry#4985. and their verdict it was cause to the colon in the file that is not allowed on windows https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#naming-conventions:~:text=except%20for%20the,%3A%20(colon)

@sagold
Copy link
Owner

sagold commented Oct 24, 2022

Hi pedronastasi,

there was indeed a profile output published to npm. I have removed the file and excluded it from publishing. You have a clean package available with v7.2.1.

Can you verify that this solves your issue?

Cheers.

@pedronastasi
Copy link
Author

Yes, It is solved

@sagold sagold closed this as completed Oct 24, 2022
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