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

Error while installing with yarn #516

Closed
vlkpa opened this issue Mar 7, 2023 · 5 comments · Fixed by #520
Closed

Error while installing with yarn #516

vlkpa opened this issue Mar 7, 2023 · 5 comments · Fixed by #520

Comments

@vlkpa
Copy link

vlkpa commented Mar 7, 2023

yarn@3.1.1
yarn add rc-pagination

I am facing this error

Error: While persisting /C:/<project>/.yarn/cache/rc-pagination-npm-3.3.0-1838abafd7-6b40cb2ab6.zip/node_modules/rc-pagination/ -> /C:/<project>/node_modules/rc-pagination ENOENT: no such file or directory, mkdir 'C:\<project>\node_modules\rc-pagination\dist\~demos\:id'

@sabitalizade
Copy link

also i faced this error and cant resolve

@teamco
Copy link

teamco commented Mar 15, 2023

under windows os you have no ability to create a folder or file name started from colon :)
e.g. C:\<project>\node_modules\rc-pagination\dist\~demos\:id

@duan602728596
Copy link

The same problem. The current solution in window is

"resolutions": {
    "rc-pagination": "3.2.0"
}

if you use yarn.

@duypham90
Copy link

I still got error in window for now

Error: While persisting /E:/Projects/.yarn/cache/rc-pagination-npm-3.3.0-1838abafd7-6b40cb2ab6.zip/node_modules/rc-pagination/ -> /E:/Projects/node_modules/rc-pagination ENOENT: no such file or directory, mkdir 'E:\Projects\node_modules\rc-pagination\dist~demos:id'

@joesdu
Copy link

joesdu commented Mar 24, 2023

I still got error in window for now

Error: While persisting /G:/antdpro6-template/.yarn/cache/rc-pagination-npm-3.3.0-1838abafd7-6b40cb2ab6.zip/node_modules/rc-pagination/ -> /G:/antdpro6-template/node_modules/antd/node_modules/rc-pagination ENOENT: no such file or directory, mkdir 'G:\antdpro6-template\node_modules\antd\node_modules\rc-pagination\dist~demos:id'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants