You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
storage upload use /temp/ instead of /home/? #1235
Error: EROFS: read-only file system, mkdir '/home/sbx_user1053
at Error (native)
at Object.fs.mkdirSync (fs.js:794:18)
at sync (/var/task/node_modules/gcloud/node_modules/gcs-resumable-upload/node_modules/configstore/node_modules/mkdirp/index.js:71:13)
at sync (/var/task/node_modules/gcloud/node_modules/gcs-resumable-upload/node_modules/configstore/node_modules/mkdirp/index.js:77:24)
at Function.sync (/var/task/node_modules/gcloud/node_modules/gcs-resumable-upload/node_modules/configstore/node_modules/mkdirp/index.js:77:24)
at Object.create.all.get (/var/task/node_modules/gcloud/node_modules/gcs-resumable-upload/node_modules/configstore/index.js:38:13)
at Object.Configstore (/var/task/node_modules/gcloud/node_modules/gcs-resumable-upload/node_modules/configstore/index.js:27:44)
at new Upload (/var/task/node_modules/gcloud/node_modules/gcs-resumable-upload/index.js:48:22)
at Upload (/var/task/node_modules/gcloud/node_modules/gcs-resumable-upload/index.js:26:41)
at File.startResumableUpload_ (/var/task/node_modules/gcloud/lib/storage/file.js:1443:22)
So this is solved by setting resumable to false, which is great, but I was wondering if it was possible to change the cache(I assume it's cache) directory to something else like temp?
Activity
stephenplusplus commentedon Apr 15, 2016
You can change the directory with an env var
XDG_CONFIG_HOME(see #1051). Please re-open if this doesn't work.feat: Nodejs transaction redesign feature branch (#1235)
feat: Nodejs transaction redesign feature branch (#1235)
feat: Nodejs transaction redesign feature branch (#1235)
chore: run synthtool after node10 merge (#1235)
chore(main): release 4.3.0 (#1235)
chore(main): release 4.3.0 (#1235)
chore(main): release 4.3.0 (#1235)
chore(main): release 4.3.0 (googleapis#1235)