My ionic serve not working even though I have node installed?
Did you try to uninstall npm and install it again
I think my problem is that my network deleted my huge node modules so I’m trying to restore , if restoring doesn’t work i will try that
What is your ionic info output?
What does npm list -g --depth=0 output?
yes, good luck man…
That doesn’t work ;c
±- cordova@7.0.1
±- ionic@3.7.0
`-- live-server@1.1.0
That’s good
ionic -v and content of your package.json?
Can you run ionic info outside of your project directory?
[WARN] You are not in an Ionic project directory. Project context may be missing.
cli packages: (C:\Users\guestuser\AppData\Roaming\npm\node_modules)
@ionic/cli-utils : 1.7.0
ionic (Ionic CLI) : 3.7.0
System:
Node : v7.3.0
OS : Windows 10
npm : 3.10.10
Json : C:\Users\guestuser\Desktop*\lol>ionic package.json
{ Error: Cannot find module 'C:\Users\guestuser\Desktop*\lol\node_modules\ionic’
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at C:\Users\guestuser\AppData\Roaming\npm\node_modules\ionic\bin\ionic:18:13 code: ‘MODULE_NOT_FOUND’ }
Great, so your Ionic in general seems to be ok. Something is broken in your project then.
Nah, the content of your package.json file in your project directory ![]()
My node modules are the problem I think .
Yes, via the package.json we will be able to find out if there is something wrong and what. Then we can give advice what you should do to fix it.
I did NPM Install again and It installed my missing node modules and it updated my ionic versions etc and it worked . 