ionic-cli icon indicating copy to clipboard operation
ionic-cli copied to clipboard

Ionic serve CLI Loop Error

Open danielehrhardt opened this issue 10 years ago • 6 comments

Hi, if i use the command ionic serve the gulp process is running and at sass i get a loop error: `Caught exception: Error: watch null UNKNOWN at exports._errnoException (util.js:893:11) at FSEvent.FSWatcher._handle.onchange (fs.js:1296:21)

Mind letting us know? https://github.com/driftyco/ionic-cli/issues`

My CLI: Package Current ionic 2.0.0-beta.25 unbenann1t unbenannt

danielehrhardt avatar May 25 '16 10:05 danielehrhardt

Run the CMD as Admin fix the Problem

danielehrhardt avatar May 25 '16 10:05 danielehrhardt

Could your provide the output from ionic info? Thanks

jthoms1 avatar May 31 '16 15:05 jthoms1

I have same issue.... Caught exception: Error: watch null UNKNOWN at exports._errnoException (util.js:893:11) at FSEvent.FSWatcher._handle.onchange (fs.js:1296:21)

Mind letting us know? https://github.com/driftyco/ionic-cli/issues

Opening Node CMD window as Administrator did not resolve for me.

G:\apps\MyIonic2TSProject>ionic info ? Your system information:

Cordova CLI: 6.0.0 Ionic Framework Version: 2.0.0-beta.8 Ionic CLI Version: 2.0.0-beta.30 Ionic App Lib Version: 2.0.0-beta.16 OS: Windows 7 SP1 Node Version: v5.11.0

Codzart avatar Jun 07 '16 17:06 Codzart

I am getting the same issue (or a very similar one) when I try to go through the ionic getting started guide at http://ionicframework.com/docs/v2/getting-started/installation/ and reach the 'ionic serve'

Caught exception: Error: Error watching file for changes: UNKNOWN at exports._errnoException (util.js:1007:11) at FSEvent.FSWatcher._handle.onchange (fs.js:1400:11)

Your system information:

Cordova CLI: 6.2.0 Ionic Framework Version: 2.0.0-beta.10 Ionic CLI Version: 2.0.0-beta.32 Ionic App Lib Version: 2.0.0-beta.18 OS: Windows 7 SP1 Node Version: v6.2.1

ne6toto avatar Jul 04 '16 14:07 ne6toto

I think this is caused due to npm failing to install fsevents on OS other than macOS, im getting that exception too. This is npm warn about failing to install fs events:

npm WARN optional Skipping failed optional dependency /chokidar/fsevents: npm WARN notsup Not compatible with your operating system or architecture: [email protected]

this info might help: https://github.com/nodejs/node/issues/7858

juanfernandez-gh avatar Jul 29 '16 14:07 juanfernandez-gh

Thanks for the issue! This issue appears to be associated with an old version of the Ionic CLI. Please update to the latest CLI version, which supports all versions of the Ionic Framework. If the issue is relevant and if it persists after updating to the latest CLI version, please create a new issue.

Thank you for using Ionic!

ionitron-bot[bot] avatar Jul 12 '18 17:07 ionitron-bot[bot]