Comments (4)
With the release of ant-design v5.10.1, this is issue has now escalated to antd. This commit introduced the update: ant-design/ant-design@05878dd#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R147
Reproduction steps:
- Initialize a Yarn 2 module:
yarn init -2 -y
- Disable PnP:
yarn config set nodeLinker node-modules
- Run
yarn add antd
Error:
➤ YN0000: ┌ Link step
➤ YN0001: │ Error: While persisting /C:/Users/drew/Projects/antd-test-2/.yarn/cache/rc-slider-npm-10.3.0-594eded9f6-7e39f7d094.zip/node_modules/rc-slider/ -> /C:/Users/drew/Projects/antd-test-2/node_modules/rc-slider ENOENT: no such file or directory, mkdir 'C:\Users\drew\Projects\antd-test-2\node_modules\rc-slider\dist\~demos\:id'
➤ YN0000: └ Completed in 1s 133ms
➤ YN0000: Failed with errors in 4s 210ms
As mentioned above, the colon character (:
) is invalid on Windows (it is used by NTFS Alternate Data Streams). You can test this with the following PowerShell:
# Works:
New-Item -ItemType Directory 'node_modules\rc-slider\dist\~demos'
# Doesn't work:
New-Item -ItemType Directory 'node_modules\rc-slider\dist\~demos\:id'
Due to this issue it is no longer possible to update antd on Windows on Yarn 2 with PnP disabled.
Edit: I think I've narrowed the problem down to this commit: 2c47708
from slider.
Close by #947
from slider.
https://github.com/react-component/slider/releases/tag/v10.3.1
from slider.
Thanks for the incredibly quick fix!
from slider.
Related Issues (20)
- In Multi Range Slider is used allowCross , pushable as false and two handles have same starting point [0, 10, 10, 40]. i am able to drag the handle across the other (i.e not respecting allowCross). Any solution for this ?
- Unpredictable behaviour of a draggable track slider
- error position z-index with track handle
- ariaLabelGroupForHandles is not handled anymore HOT 2
- The code doesn't run in codesandbox.io/ because there is an error with the import( import 'rc-slider/dist/rc-slider.css' in file index.tsx) HOT 1
- Error when dragging HOT 1
- Why onAfterChange deprecated? HOT 3
- stopPropagation breaks blur() events elsewhere
- Analysis: 30% of dependency updates in this repository can be merged.
- Suggestion: Inverted Range Slider
- Suggestion/Bug: Unable to drag the handle if the initial click was not on the handle itself. HOT 3
- Update type for SliderStyles
- onChange in Range Slider for count=3 fired with old (incorrect/outdated) values when MouseUp is not detected HOT 1
- "pushable" attribute did not take effect HOT 1
- Slider can only move by one step
- Hierarchy issues when a handle is dragged
- Something weird going on - slider with marks HOT 1
- MUI Slider will not move (from UI) if value property is set
- Using styles.( track | handle ) can't replace ( track | handle )Styles property
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slider.