Giter VIP home page Giter VIP logo

Comments (4)

Lemmmy avatar Lemmmy commented on July 16, 2024

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:

  1. Initialize a Yarn 2 module: yarn init -2 -y
  2. Disable PnP: yarn config set nodeLinker node-modules
  3. 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.

yoyo837 avatar yoyo837 commented on July 16, 2024

Close by #947

from slider.

yoyo837 avatar yoyo837 commented on July 16, 2024

https://github.com/react-component/slider/releases/tag/v10.3.1

from slider.

Lemmmy avatar Lemmmy commented on July 16, 2024

Thanks for the incredibly quick fix!

from slider.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.