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

ionic serve faild - error:Error:EPERM:operation not permitted

Open Davidlala opened this issue 10 years ago • 8 comments

capture

Davidlala avatar Jun 13 '16 12:06 Davidlala

If you're on Windows try running your Command Prompt as an Administrator (right-click and choose Run as Administrator). This will then give you the permission to create directories.

Mobius77x avatar Jun 14 '16 02:06 Mobius77x

thanks for reply, still the same error

Davidlala avatar Jun 14 '16 07:06 Davidlala

having the same error

derksacklowski avatar Jun 21 '16 16:06 derksacklowski

me too

saurabhvyas avatar Jul 10 '16 03:07 saurabhvyas

Unfortunately I'm experiencing EPERM issues again after a period of it working when running as Administrator. Argh! Have tried turning of Anti-Virus, backup software etc that may also be accessing the files to no success.

Cordova CLI: 6.1.1 Ionic Framework Version: 2.0.0-beta.11 Ionic CLI Version: 2.0.0 Ionic App Lib Version: 2.0.0 OS: Windows 8.1 Node Version: v5.11.0

Mobius77x avatar Aug 17 '16 04:08 Mobius77x

My problem was atom.io locking some files. Closing and reopening the editor solved it for me. Maybe this is somewhat related?

derksacklowski avatar Aug 17 '16 07:08 derksacklowski

@derksacklowski Thanks for that suggestion but I already tried that without success. I am using Visual Studio Code. I just had a thought that it could be an extension I'm using with that though. When I find the cause I'll re-post...

Mobius77x avatar Aug 17 '16 09:08 Mobius77x

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]