Hey just wanted to check to see if this was happening to anyone else?
All of a sudden my ios ionic cloud builds started to fail due to “Error: ENOSPC: no space left on device, write”
I tried it a few times and each time I get a similar (but different) error relating to disk space, ie:
2017-09-05 05:55:19.597 xcodebuild[19571:134013104] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/kc/f8g8tr7n1054j1nzrkkvyzpr0000gq/T/Hauul Driver_2017-09-05_05-55-19.593.xcdistributionlogs'.
** INTERNAL ERROR: Uncaught exception **
** INTERNAL ERROR: Uncaught exception **
Uncaught Exception: *** -[NSConcreteFileHandle writeData:]: No space left on device
Uncaught Exception: *** -[NSConcreteFileHandle writeData:]: No space left on device
Stack:
Stack:
0 __exceptionPreprocess (in CoreFoundation)
1 objc_exception_throw (in libobjc.A.dylib)
2 +[NSException raise:format:] (in CoreFoundation)
3 -[NSConcreteFileHandle writeData:] (in Foundation)
4 -[DVTFileLogger logMessage:forAspect:logLevel:] (in DVTFoundation)
5 -[IDEDistributionFileLogger logMessage:forAspect:logLevel:] (in IDEFoundation)
6 -[DVTLogAspect _logAtLogLevel:withFormat:] (in DVTFoundation)
7 -[DVTTask runLoggingOutputWithLogAspect:error:] (in DVTFoundation)
8 -[IDEDistributionCreateIPAStep runWithError:] (in IDEFoundation)
9 -[IDEDistributionProcessingPipeline process:] (in IDEFoundation)
10 -[IDEDistributionPackagingStep loadFromPropertyList:error:] (in IDEFoundation)
11 -[IDEDistributionDriver runWithDestinationPath:error:] (in IDEFoundation)
12 -[Xcode3CommandLineBuildTool _distributeArchiveAndExit] (in Xcode3Core)
13 -[Xcode3CommandLineBuildTool run] (in Xcode3Core)
14 0x000000010061e202 (in xcodebuild)
15 start (in libdyld.dylib)
OR like this
iOS project created with cordova-ios@4.3.1
shell.js: internal error
Error: ENOSPC: no space left on device, write
at Error (native)
at Object.fs.writeSync (fs.js:786:20)
at copyFileSync (/Users/package/workspace/apps-ec1dc4c0-11/cordova/platforms/ios/cordova/node_modules/shelljs/src/cp.js:34:8)
at /Users/package/workspace/apps-ec1dc4c0-11/cordova/platforms/ios/cordova/node_modules/shelljs/src/cp.js:201:5
at Array.forEach (native)
at Object._cp (/Users/package/workspace/apps-ec1dc4c0-11/cordova/platforms/ios/cordova/node_modules/shelljs/src/cp.js:157:11)
at Object.cp (/Users/package/workspace/apps-ec1dc4c0-11/cordova/platforms/ios/cordova/node_modules/shelljs/src/common.js:186:23)
at updatePathWithStats (/Users/package/workspace/apps-ec1dc4c0-11/cordova/platforms/ios/cordova/node_modules/cordova-common/src/FileUpdater.js:93:23)
at /Users/package/workspace/apps-ec1dc4c0-11/cordova/platforms/ios/cordova/node_modules/cordova-common/src/FileUpdater.js:311:19
at Array.forEach (native)
Or sometimes like this:
iOS project created with cordova-ios@4.3.1
Discovered plugin "cordova-plugin-compat" in config.xml. Adding it to the project
Fetching plugin "cordova-plugin-compat@^1.1.0" via npm
Installing "cordova-plugin-compat" for ios
Discovered plugin "cordova-plugin-console" in config.xml. Adding it to the project
Fetching plugin "cordova-plugin-console@^1.0.7" via npm
Installing "cordova-plugin-console" for ios
Discovered plugin "cordova-plugin-device" in config.xml. Adding it to the project
Fetching plugin "cordova-plugin-device@^1.1.6" via npm
Installing "cordova-plugin-device" for ios
Discovered plugin "cordova-plugin-dialogs" in config.xml. Adding it to the project
Fetching plugin "cordova-plugin-dialogs@^1.3.3" via npm
Installing "cordova-plugin-dialogs" for ios
Discovered plugin "cordova-plugin-file" in config.xml. Adding it to the project
Fetching plugin "cordova-plugin-file@^4.3.3" via npm
Installing "cordova-plugin-file" for ios
Dependent plugin "cordova-plugin-compat" already installed on ios.
Discovered plugin "cordova-plugin-file-transfer" in config.xml. Adding it to the project
Fetching plugin "cordova-plugin-file-transfer@^1.6.3" via npm
Installing "cordova-plugin-file-transfer" for ios
Dependent plugin "cordova-plugin-file" already installed on ios.
Discovered plugin "cordova-plugin-geolocation" in config.xml. Adding it to the project
Fetching plugin "cordova-plugin-geolocation@^2.4.3" via npm
Installing "cordova-plugin-geolocation" for ios
Dependent plugin "cordova-plugin-compat" already installed on ios.
Discovered plugin "cordova-plugin-inappbrowser" in config.xml. Adding it to the project
Fetching plugin "cordova-plugin-inappbrowser@^1.7.1" via npm
Installing "cordova-plugin-inappbrowser" for ios
Discovered plugin "cordova-plugin-network-information" in config.xml. Adding it to the project
Fetching plugin "cordova-plugin-network-information@^1.3.3" via npm
Installing "cordova-plugin-network-information" for ios
Discovered plugin "cordova-plugin-splashscreen" in config.xml. Adding it to the project
Fetching plugin "cordova-plugin-splashscreen@^3.2.2" via npm
Installing "cordova-plugin-splashscreen" for ios
Discovered plugin "cordova-plugin-statusbar" in config.xml. Adding it to the project
Fetching plugin "cordova-plugin-statusbar@^2.2.3" via npm
Installing "cordova-plugin-statusbar" for ios
Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the project
Fetching plugin "cordova-plugin-whitelist@^1.3.2" via npm
Installing "cordova-plugin-whitelist" for ios
Discovered plugin "cordova-sqlite-ext" in config.xml. Adding it to the project
Fetching plugin "cordova-sqlite-ext@^0.10.5" via npm
Installing "cordova-sqlite-ext" for ios
installing external dependencies via npm
npm install of external dependencies ok
Discovered plugin "ionic-plugin-deploy" in config.xml. Adding it to the project
Fetching plugin "ionic-plugin-deploy@^0.6.7" via npm
Installing "ionic-plugin-deploy" for ios
Discovered plugin "ionic-plugin-keyboard" in config.xml. Adding it to the project
Fetching plugin "ionic-plugin-keyboard@^2.2.1" via npm
Installing "ionic-plugin-keyboard" for ios
Discovered plugin "phonegap-plugin-push" in config.xml. Adding it to the project
Fetching plugin "phonegap-plugin-push@^1.10.5" via npm
Installing "phonegap-plugin-push" for ios
e[33mWARNING: CocoaPods requires your terminal to be using UTF-8 encoding.
Consider adding the following to ~/.profile:
export LANG=en_US.UTF-8
e[0m
Discovered plugin "uk.co.workingedge.phonegap.plugin.launchnavigator" in config.xml. Adding it to the project
Fetching plugin "uk.co.workingedge.phonegap.plugin.launchnavigator@^3.2.2" via npm
Installing "uk.co.workingedge.phonegap.plugin.launchnavigator" for ios
Fetching plugin "cordova-plugin-actionsheet" via npm
Installing "cordova-plugin-actionsheet" for ios
Discovered plugin "cordova-plugin-calendar" in config.xml. Adding it to the project
Fetching plugin "cordova-plugin-calendar@^4.6.0" via npm
Error during untar for /Users/package/.cordova/lib/npm_cache/cordova-plugin-calendar/4.6.0/package.tgz: Error: ENOSPC: no space left on device, write
Failed to restore plugin "cordova-plugin-calendar" from config.xml. You might need to try adding it again. Error: Failed to fetch plugin cordova-plugin-calendar@^4.6.0 via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: ENOSPC: no space left on device, write
Discovered plugin "cordova-plugin-camera" in config.xml. Adding it to the project
Fetching plugin "cordova-plugin-camera@^2.4.1" via npm
Error during untar for /Users/package/.cordova/lib/npm_cache/cordova-plugin-calendar/4.6.0/package.tgz: Error: ENOSPC: no space left on device, write
Error during untar for /Users/package/.cordova/lib/npm_cache/cordova-plugin-calendar/4.6.0/package.tgz: Error: ENOSPC: no space left on device, write
Error during untar for /Users/package/.cordova/lib/npm_cache/cordova-plugin-calendar/4.6.0/package.tgz: Error: Did not get expected byte count.
expect: 18385
actual: 17408
Error during untar for /Users/package/.cordova/lib/npm_cache/cordova-plugin-calendar/4.6.0/package.tgz: Error: ENOSPC: no space left on device, write
Error during untar for /Users/package/.cordova/lib/npm_cache/cordova-plugin-calendar/4.6.0/package.tgz: Error: ENOSPC: no space left on device, write
Error during untar for /Users/package/.cordova/lib/npm_cache/cordova-plugin-calendar/4.6.0/package.tgz: Error: Did not get expected byte count.
expect: 27843
actual: 7168
Error during untar for /Users/package/.cordova/lib/npm_cache/cordova-plugin-camera/2.4.1/package.tgz: Error: ENOSPC: no space left on device, write
Failed to restore plugin "cordova-plugin-camera" from config.xml. You might need to try adding it again. Error: Failed to fetch plugin cordova-plugin-camera@^2.4.1 via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: ENOSPC: no space left on device, write
Discovered plugin "cordova-background-geolocation-lt" in config.xml. Adding it to the project
Fetching plugin "cordova-background-geolocation-lt@^2.8.3" via npm
Error during untar for /Users/package/.cordova/lib/npm_cache/cordova-plugin-camera/2.4.1/package.tgz: Error: ENOSPC: no space left on device, write
Error during untar for /Users/package/.cordova/lib/npm_cache/cordova-plugin-camera/2.4.1/package.tgz: Error: ENOSPC: no space left on device, write
Error during untar for /Users/package/.cordova/lib/npm_cache/cordova-plugin-camera/2.4.1/package.tgz: Error: Did not get expected byte count.
expect: 36284
actual: 17408
Error during untar for /Users/package/.cordova/lib/npm_cache/cordova-background-geolocation-lt/2.8.3/package.tgz: Error: ENOSPC: no space left on device, write
Failed to restore plugin "cordova-background-geolocation-lt" from config.xml. You might need to try adding it again. Error: Failed to fetch plugin cordova-background-geolocation-lt@^2.8.3 via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: ENOSPC: no space left on device, write
Error: ENOSPC: no space left on device, open '/Users/package/workspace/apps-ad904e3a-38/cordova/platforms/platforms.json'```