[SOLVED] Error building ios on package

Hi, i’m having problem with ios compiling on package.
Apparently it’s a problem with the machine partition or something like that

Error output:

Using cordova-fetch for cordova-ios@4.4.0
Adding ios project…
Creating Cordova project for the iOS platform:
Path: platforms/ios
Package: com.spotmobile.pernodstorecheck
Name: P.O.S
iOS project created with cordova-ios@4.4.0
Discovered plugin “cordova-plugin-camera” in config.xml. Adding it to the project
Installing “cordova-plugin-camera” for ios
Installing “cordova-plugin-compat” for ios
Adding cordova-plugin-camera to package.json
Saved plugin info for “cordova-plugin-camera” to config.xml
Discovered plugin “cordova-plugin-file” in config.xml. Adding it to the project
Installing “cordova-plugin-file” for ios
Plugin dependency “cordova-plugin-compat@1.2.0” already fetched, using that version.
Dependent plugin “cordova-plugin-compat” already installed on ios.

The Android Persistent storage location now defaults to “Internal”. Please check this plugins README to see if you application needs any changes in its config.xml.

If this is a new application no changes are required.

If this is an update to an existing application that did not specify an “AndroidPersistentFileLocation” you may need to add:

  "<preference name="AndroidPersistentFileLocation" value="Compatibility" />"

to config.xml in order for the application to find previously stored files.

Adding cordova-plugin-file to package.json
Saved plugin info for “cordova-plugin-file” to config.xml
Discovered plugin “cordova-plugin-geolocation” in config.xml. Adding it to the project
Installing “cordova-plugin-geolocation” for ios
Plugin dependency “cordova-plugin-compat@1.2.0” already fetched, using that version.
Dependent plugin “cordova-plugin-compat” already installed on ios.
Adding cordova-plugin-geolocation to package.json
Saved plugin info for “cordova-plugin-geolocation” to config.xml
Discovered plugin “cordova-plugin-network-information” in config.xml. Adding it to the project
Installing “cordova-plugin-network-information” for ios
Adding cordova-plugin-network-information to package.json
Saved plugin info for “cordova-plugin-network-information” to config.xml
Discovered plugin “cordova-plugin-whitelist” in config.xml. Adding it to the project
Installing “cordova-plugin-whitelist” for ios
Adding cordova-plugin-whitelist to package.json
Saved plugin info for “cordova-plugin-whitelist” to config.xml
Discovered plugin “cordova-sqlite-storage” in config.xml. Adding it to the project
Installing “cordova-sqlite-storage” for ios
installing external dependencies via npm
npm install of external dependencies failed: Error: Command failed: npm install
npm ERR! tar.unpack untar error /Users/package/.npm/cordova-sqlite-storage-dependencies/1.0.3/package.tgz
npm ERR! tar.unpack untar error /Users/package/.npm/cordova-sqlite-storage-dependencies/1.0.3/package.tgz
npm ERR! tar.unpack untar error /Users/package/.npm/resolve/1.5.0/package.tgz
npm ERR! tar.unpack untar error /Users/package/.npm/shelljs/0.7.8/package.tgz
npm ERR! tar.unpack untar error /Users/package/.npm/cordova-sqlite-storage-dependencies/1.0.3/package.tgz
npm ERR! Darwin 16.7.0
npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” "install"
npm ERR! node v6.11.4
npm ERR! npm v3.10.10
npm ERR! code ENOSPC
npm ERR! errno -28
npm ERR! syscall write

npm ERR! nospc ENOSPC: no space left on device, write
npm ERR! nospc This is most likely not a problem with npm itself
npm ERR! nospc and is related to insufficient space on your system.

npm ERR! Please include the following file with any support request:
npm ERR! /Users/package/workspace/apps-fdba894c-518/cordova/plugins/cordova-sqlite-storage/npm-debug.log

Error during processing of action! Attempting to revert…
Failed to install ‘cordova-sqlite-storage’: CordovaError: Uh oh!
"/Users/package/workspace/apps-fdba894c-518/cordova/plugins/cordova-sqlite-storage/node_modules/cordova-sqlite-storage-dependencies/sqlite3.c" not found!
at copyFile (/Users/package/workspace/apps-fdba894c-518/cordova/platforms/ios/cordova/lib/plugman/pluginHandlers.js:319:36)
at copyNewFile (/Users/package/workspace/apps-fdba894c-518/cordova/platforms/ios/cordova/lib/plugman/pluginHandlers.js:351:5)
at installHelper (/Users/package/workspace/apps-fdba894c-518/cordova/platforms/ios/cordova/lib/plugman/pluginHandlers.js:269:13)
at install (/Users/package/workspace/apps-fdba894c-518/cordova/platforms/ios/cordova/lib/plugman/pluginHandlers.js:35:13)
at Object.process (/Users/package/workspace/apps-fdba894c-518/cordova/platforms/ios/cordova/node_modules/cordova-common/src/ActionStack.js:56:25)
at PluginManager.doOperation (/Users/package/workspace/apps-fdba894c-518/cordova/platforms/ios/cordova/node_modules/cordova-common/src/PluginManager.js:117:20)
at PluginManager.addPlugin (/Users/package/workspace/apps-fdba894c-518/cordova/platforms/ios/cordova/node_modules/cordova-common/src/PluginManager.js:147:17)
at Api.addPlugin (/Users/package/workspace/apps-fdba894c-518/cordova/platforms/ios/cordova/Api.js:235:10)
at handleInstall (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:594:10)
at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:357:28
Failed to restore plugin “cordova-sqlite-storage” from config.xml. You might need to try adding it again. Error: Uh oh!
"/Users/package/workspace/apps-fdba894c-518/cordova/plugins/cordova-sqlite-storage/node_modules/cordova-sqlite-storage-dependencies/sqlite3.c" not found!
Discovered plugin “ionic-plugin-keyboard” in config.xml. Adding it to the project
Failed to restore plugin “ionic-plugin-keyboard” from config.xml. You might need to try adding it again. Error: Failed to fetch plugin ionic-plugin-keyboard@~2.2.1 via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: npm: Command failed with exit code 228 Error output:
npm ERR! tar.unpack untar error /Users/package/.npm/ionic-plugin-keyboard/2.2.1/package.tgz
npm ERR! tar.unpack untar error /Users/package/.npm/ionic-plugin-keyboard/2.2.1/package.tgz
npm ERR! tar.unpack untar error /Users/package/.npm/ionic-plugin-keyboard/2.2.1/package.tgz
npm WARN P.O.S@1.1.1 No repository field.
npm WARN P.O.S@1.1.1 No license field.
npm ERR! Darwin 16.7.0
npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “install” “ionic-plugin-keyboard@~2.2.1” “–production” "–save"
npm ERR! node v6.11.4
npm ERR! npm v3.10.10
npm ERR! code ENOSPC
npm ERR! errno -28
npm ERR! syscall write

npm ERR! nospc ENOSPC: no space left on device, write
npm ERR! nospc This is most likely not a problem with npm itself
npm ERR! nospc and is related to insufficient space on your system.

npm ERR! Please include the following file with any support request:
npm ERR! /Users/package/workspace/apps-fdba894c-518/cordova/npm-debug.log
Discovered plugin “ionic-plugin-deploy” in config.xml. Adding it to the project
Installing “ionic-plugin-deploy” for ios
shell.js: internal error
Error: ENOSPC: no space left on device, write
at Error (native)
at Object.fs.writeSync (fs.js:788:20)
at copyFileSync (/Users/package/workspace/apps-fdba894c-518/cordova/platforms/ios/cordova/node_modules/shelljs/src/cp.js:34:8)
at /Users/package/workspace/apps-fdba894c-518/cordova/platforms/ios/cordova/node_modules/shelljs/src/cp.js:201:5
at Array.forEach (native)
at Object._cp (/Users/package/workspace/apps-fdba894c-518/cordova/platforms/ios/cordova/node_modules/shelljs/src/cp.js:157:11)
at Object.cp (/Users/package/workspace/apps-fdba894c-518/cordova/platforms/ios/cordova/node_modules/shelljs/src/common.js:186:23)
at copyFile (/Users/package/workspace/apps-fdba894c-518/cordova/platforms/ios/cordova/lib/plugman/pluginHandlers.js:341:15)
at copyNewFile (/Users/package/workspace/apps-fdba894c-518/cordova/platforms/ios/cordova/lib/plugman/pluginHandlers.js:351:5)
at installHelper (/Users/package/workspace/apps-fdba894c-518/cordova/platforms/ios/cordova/lib/plugman/pluginHandlers.js:269:13)

Your hard disk is full.

What is your ionic info output?

1 Like

It’s the ionic package output @Sujan12 not mine…
It’s in the cloud. I’ll test today to verify

problem solved in the last try.
Att,