Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48983

Error: EPERM: operation not permitted, open with help.log

$
0
0

When typing ionic serve I started to receive the following error in the Windows terminal:

Error: EPERM: operation not permitted, open 'C:\Users\Asus\.ionic\helper.log'

helper.log

[e[40mWARNe[49m] Error loading @capacitor/ios package.json: Error: Cannot find module '@capacitor/ios/package'
       
       Require stack:
       - C:\Users\Asus\AppData\Roaming\npm\node_modules\@ionic\cli\lib\project\index.js
       - C:\Users\Asus\AppData\Roaming\npm\node_modules\@ionic\cli\lib\index.js
       - C:\Users\Asus\AppData\Roaming\npm\node_modules\@ionic\cli\index.js
       - C:\Users\Asus\AppData\Roaming\npm\node_modules\@ionic\cli\bin\ionic
[e[40mWARNe[49m] Error loading @capacitor/android package.json: Error: Cannot find module '@capacitor/android/package'
       
       Require stack:
       - C:\Users\Asus\AppData\Roaming\npm\node_modules\@ionic\cli\lib\project\index.js
       - C:\Users\Asus\AppData\Roaming\npm\node_modules\@ionic\cli\lib\index.js
       - C:\Users\Asus\AppData\Roaming\npm\node_modules\@ionic\cli\index.js
       - C:\Users\Asus\AppData\Roaming\npm\node_modules\@ionic\cli\bin\ionic
[e[40mWARNe[49m] Error loading ionic-angular package.json: Error: Cannot find module 'ionic-angular/package'
       
       Require stack:
       - C:\Users\Asus\AppData\Roaming\npm\node_modules\@ionic\cli\lib\project\index.js
       - C:\Users\Asus\AppData\Roaming\npm\node_modules\@ionic\cli\lib\index.js
       - C:\Users\Asus\AppData\Roaming\npm\node_modules\@ionic\cli\index.js
       - C:\Users\Asus\AppData\Roaming\npm\node_modules\@ionic\cli\bin\ionic
[e[40mWARNe[49m] Error loading @ionic/app-scripts package.json: Error: Cannot find module '@ionic/app-scripts/package'
       
       Require stack:
       - C:\Users\Asus\AppData\Roaming\npm\node_modules\@ionic\cli\lib\project\index.js
       - C:\Users\Asus\AppData\Roaming\npm\node_modules\@ionic\cli\lib\index.js
       - C:\Users\Asus\AppData\Roaming\npm\node_modules\@ionic\cli\index.js
       - C:\Users\Asus\AppData\Roaming\npm\node_modules\@ionic\cli\bin\ionic
[e[40mWARNe[49m] Error loading @capacitor/core package.json: Error: Cannot find module '@capacitor/core/package'

...

Then what I did was :

npm uninstall -g @ionic/cli
npm uninstall @capacitor/core --save -g
npm uninstall @capacitor/cli --save -g

npm install @ionic/cli -g --save
npm install @capacitor/core --save -g
npm install @capacitor/cli --save -g

but still same issue.

Also tried : Error: EPERM: operation not permitted, open 'F:\projects\www\build\15.js' - #2 by pettrin

Any help would be much appreciated

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48983

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>