How to Delete node_modules - Deep Nested Folder in Windows

前端 未结 30 1059
逝去的感伤
逝去的感伤 2020-12-02 03:25

Upon trying to remove the node_modules directory created by npm install:

The source file name(s) are larger than is su

30条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-02 04:07

    Sometimes, even if you install rimraf globally you can have a local rimraf dependency (SASS usually have it). In this case I would run following commands:

    Follow first 2 steps as usagidon recommended, if you have issues or errors try

    npm uninstall rimraf & rimraf node_modules
    

    this will delete local rimraf and use the global one

提交回复
热议问题