I’m trying to start a new project but can’t get ionic to start. Attempting serve or build commands on old projects fails as well.
Git-Bash says ‘ionic command not found’
'Cannot find module 'module.js:471
Error: Cannot find module ‘C:\Users\Tofi\AppData\Roaming\npm\node_modules\ionic\bin\ionic’
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:393:7)
at startup (bootstrap_node.js:150:9)
I’ve run yarn upgrade, yarn add and npm install commands, to no avail. They all claim a successful install.
The script file is present, but the entire node_modules\ionic folder is missing. Was it previously absent, or is this part of the change? Wouldn’t the install process add it?
How do I get this thing running again, preferably without downgrading?