My Setup/versions:
Windows: 10 N 64Bit
NPM: 7.0.7
Node: v15.0.1
Problem:
I want to npm install my project, however I receive the following error:
npm ERR! Cannot read property 'matches' of undefined
Below is a screenshot of the full error:
What I have tried so far:
Reinstalling NodeJS
by removing it completely (uninstalling via windows) and removing npm/node
folders in programfiles/appdata
.
Deleting Node_module
+ package_lock.json
.
Sources:
From looking around I found that deleting node_module + package_lock.json should have already fixed my issue. Sadly this is not the case for me.
Link 1, Link 2, Link 3
If you guys require the .log
file I can edit this post and add it as well. Thank you for your time and help.