I'm meant to be maintaining an Ionic app, but I cannot install Ionic on any of my machines (neither at work - Win 7) nor at home (Win 10).
Perhaps we could start with my home machine (Win 10). After the fail, I uninstalled Node completely, and restarted the machine. I re-installed Nodejs and upgraded npm such that the versions are: Nodejs: 10.4.1 NPM: 6.1.0
The output from my Powershell prompt (at elevated privileges) is:
PS F:\Code\Powershell\Toolkit> npm install -g ionic npm ERR! path C:\Users\roger\AppData\Roaming\npm\node_modules\ionic\node_modules.readable-stream.DELETE npm ERR! code ENOTEMPTY npm ERR! errno -4051 npm ERR! syscall rmdir npm ERR! ENOTEMPTY: directory not empty, rmdir 'C:\Users\roger\AppData\Roaming\npm\node_modules\ionic\node_modules.readable-stream.DELETE'
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\roger\AppData\Roaming\npm-cache_logs\2018-06-17T01_32_39_358Z-debug.log
Interestingly, the directory .readable-stream.DELETE referred to as being not empty, is empty. So, not sure what is going on there.
Any help would be great. Thanks
.readable-stream.DELETEdirectory. That seems to be the problem. I've tried all sorts of flags like -recurse -force and even tried to shorten the path using the good old subst comment. It will not be deleted. - onefootswill