Error: ENOENT: no such file or directory, open '/root/.ionic/daemon.log'


#1

I had this error on windows 10, i did a fresh Ubuntu install over windows erasing everything, still…after i download newest nodejs version and newest ionic and cordova version i get this error when i try to use ionic…how!!!

ionic info [WARN] You are not in an Ionic project directory. Project context may be missing.

cli packages: (/usr/lib/node_modules)

@ionic/cli-utils : 1.12.0
ionic (Ionic CLI) : 3.12.0

System:

Node : v8.6.0
npm : 5.3.0
OS : Linux 4.10


#2

Solved running NPM INSTALL on terminal