Skip to content

Conversation

@Mte90
Copy link
Member

@Mte90 Mte90 commented Sep 23, 2019

Remove node_modules folder if npm has errors on update, it is the best way to fix the issue.

Remove node_modules folder if npm has errors on update, it is the best way to fix the issue.
@Mte90
Copy link
Member Author

Mte90 commented Sep 23, 2019

Basically grunt crash because doesn't find a folder, I cannot thrust on the specific package or path. So I save the npm output on a specific file (because with pipe doesn't work), I search for ENOENT that is the error of missing file.
In case there is the error I remove the node_modules folder and download again.

@tomjn tomjn added the bug label Sep 23, 2019
@Mte90 Mte90 requested a review from tomjn October 3, 2019 08:39
@tomjn tomjn merged commit dbf65fa into master Oct 8, 2019
@Mte90 Mte90 deleted the Mte90-fix-1943 branch October 21, 2019 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants