Ionic View Upload Error


#1
Error saving app ID: Error: Error: EPERM: operation not permitted, open 'F:\Sync\Design\Project\Ionic\CostaEventiFinal\.io-config.json'
    at C:\Users\User\AppData\Roaming\npm\node_modules\ionic\node_modules\ionic-app-lib\lib\io-config.js:191:27
    at fs.js:1305:7
    at FSReqWrap.oncomplete (fs.js:123:15)

Can i resolve this issue?


#2

ionic info and content of package.json please.
Also, what command exactly are you running?


#3

Yesterday works right

The command is simply :slight_smile: ionic upload

I try with run as administrator and without administrator but the result is the same

Cordova CLI: 6.5.0
Ionic Framework Version: 2.2.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.3.6
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v6.8.0
Xcode version: Not installed
{
  "name": "costa-eventi-app",
  "author": "Filippo Di Costanzo",
  "homepage": "http://www.amalficoastevents.it/",
  "private": true,
  "scripts": {
    "clean": "ionic-app-scripts clean",
    "build": "ionic-app-scripts build",
    "ionic:build": "ionic-app-scripts build",
    "ionic:serve": "ionic-app-scripts serve"
  },
  "dependencies": {
    "@angular/common": "2.4.8",
    "@angular/compiler": "2.4.8",
    "@angular/compiler-cli": "2.4.8",
    "@angular/core": "2.4.8",
    "@angular/forms": "2.4.8",
    "@angular/http": "2.4.8",
    "@angular/platform-browser": "2.4.8",
    "@angular/platform-browser-dynamic": "2.4.8",
    "@angular/platform-server": "2.4.8",
    "@ionic/storage": "2.0.0",
    "@ngx-translate/core": "^6.0.1",
    "@ngx-translate/http-loader": "0.0.3",
    "@types/date-fns": "^2.6.0",
    "angularfire2": "^2.0.0-beta.8",
    "babel-core": "^6.24.1",
    "date-fns": "^1.28.2",
    "firebase": "^3.9.0",
    "intl": "^1.2.5",
    "ion2-calendar": "^1.0.1",
    "ionic-angular": "2.2.0",
    "ionic-native": "2.4.1",
    "ionic2-calendar": "^0.2.3",
    "ionicons": "3.0.0",
    "jsbarcode": "^3.6.0",
    "moment": "^2.17.1",
    "ng2-pdf-viewer": "^1.1.0",
    "ng2-translate": "^5.0.0",
    "rxjs": "5.0.1",
    "sw-toolbox": "3.4.0",
    "zone.js": "0.7.2"
  },
  "devDependencies": {
    "@ionic/app-scripts": "1.3.6",
    "typescript": "2.0.9"
  },
  "cordovaPlugins": [
    "cordova-plugin-whitelist",
    "cordova-plugin-console",
    "cordova-plugin-statusbar",
    "cordova-plugin-device",
    "ionic-plugin-keyboard",
    "cordova-plugin-splashscreen"
  ],
  "cordovaPlatforms": [],
  "description": "Costa Eventi: Your Personal Guide to The Amalfi Coast"
}

#4

I resolve the file io-config.json was hidden on my windows so :slight_smile:


#5

Yes, that is how it is supposed to be. The “.” as first character of the file hides it.

How did you fix the problem?
Did you run ionic login again?


#6

Yes i’ve solved it. i check an other ionic project and the file wasn’t hidden.

I’ve uncheck the hidden property and now works :slight_smile: