Error while trying to pack android app, building failed due to this reason- cordova-plugin-whitelist


#1

I tried to pack my android app showing following error and build fails.
I tried removing the plugin and then adding it again but it still fails.

Fetching plugin “cordova-plugin-whitelist” via npm
shell.js: internal error
Error: ENOSPC, no space left on device '/home/package/workspace/apps-05003ba6-5/cordova/plugins/cordova-plugin-whitelist/doc’
at Error (native)
at Object.fs.mkdirSync (fs.js:747:18)
at /usr/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/shelljs/src/cp.js:174:14
at Array.forEach (native)
at Object._cp (/usr/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/shelljs/src/cp.js:157:11)
at Object.cp (/usr/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/shelljs/src/common.js:186:23)
at copyPlugin (/usr/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/fetch.js:353:15)
at /usr/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/fetch.js:188:28
at _fulfilled (/usr/lib/node_modules/cordova/node_modules/q/q.js:787:54)
at self.promiseDispatch.done (/usr/lib/node_modules/cordova/node_modules/q/q.js:816:30)