Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

grunt with new npm:install has problems on Windows #11143

Closed
@Narretz

Description

@Narretz

The new npm install / caching behavior in grunt is causing some issues. Basically, when the new npm-install scripts tries to remove the contents of the node_modules folder I am getting a whole lot of cannot remove : File or Path name too long.
This is the stupid Windows restriction on very long file paths, I think.
Because of this, the following npm install + shrinkwrap copy is never called, so I am ending up with a half empty node_modules folder.
I can empty the node_modules folder manually and call scripts/npm/install-dependencies.sh directly and this works, but I'd be running into this problem every time the shrinkwrap changes.
Is it possible to delete the contents of node_modules differently?

cc @IgorMinar

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions