Error: Cannot find module


#1

Hi guys I’m new with using Ionic but I’ve been coping well so far. The error below shows when I try to run Ionic serve on the project ,I am not able to even run Ionic info, in fact I am not able to run any command. Please help guys…

module.js:487
throw err;
^

Error: Cannot find module 'C:\Users\User\AppName\node_modules\ionic\bin
\ionic’
at Function.Module._resolveFilename (module.js:485:15)
at Function.Module._load (module.js:437:25)
at Function.Module.runMain (module.js:605:10)
at startup (bootstrap_node.js:158:16)
at bootstrap_node.js:575:3


#2

So how did you create an Ionic project without a running Ionic CLI?

Run npm list -g --depth=0 please.