I've run into an issue with running npm install
. It's not finding the postinstall script and builds the path to the script duplicating the path, removing the slashes on the second half (eg: C:\User\Me\Repo\UserMeRepoScript.js). The script file does exist.
I have tried deleting and node-modules and package-lock. I've also tried uninstalling node.js, running npm cache clean --force
then restarting, I've also made sure %appdata%\npm
and %appdata%\npm-cache
are deleted but still getting the same issue.
node version is 14.17.0 which is needed to run the project. with npm version 6.14.13 8.5.5
Update 22/3
The issue remains but I can get NPM to run and install in powershell. I'm now facing a new issue where the conmmand twilio flex:plugins:build
is erroring out with seeming the same issue surrounding missing slashes. Unfortunately this time it's also showing the same issue in powershell.