Skip to content

unbox failed #5

@tansaku

Description

@tansaku

Describe the bug
A clear and concise description of what the bug is.

❯ truffle unbox Paperchain/nuxt-box
Starting unbox...
=================
✔ Preparing to download box
✔ Downloading
npm ERR! code 128
npm ERR! git dep preparation failed
npm ERR! command /Users/samueljoseph/.nvm/versions/node/v16.3.0/bin/node /Users/samueljoseph/.nvm/versions/node/v16.3.0/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/Users/samueljoseph/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit
npm ERR! npm WARN using --force Recommended protections disabled.
npm ERR! npm ERR! code 128
npm ERR! npm ERR! command failed
npm ERR! npm ERR! command git --no-replace-objects clone --mirror -q ssh://git@github.com/gulpjs/gulp.git /Users/samueljoseph/.npm/_cacache/tmp/git-clone-c684df77/.git
npm ERR! npm ERR! fatal: destination path '/Users/samueljoseph/.npm/_cacache/tmp/git-clone-c684df77/.git' already exists and is not an empty directory.
npm ERR! 
npm ERR! npm ERR! A complete log of this run can be found in:
npm ERR! npm ERR!     /Users/samueljoseph/.npm/_logs/2021-07-06T09_59_42_190Z-debug.log
npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/samueljoseph/.npm/_logs/2021-07-06T09_59_44_684Z-debug.log
✔ Cleaning up temporary files
✖ Setting up box
Unbox failed!
✖ Setting up box
Unbox failed!
Error: Command failed: npm install
npm ERR! code 128
npm ERR! git dep preparation failed
npm ERR! command /Users/samueljoseph/.nvm/versions/node/v16.3.0/bin/node /Users/samueljoseph/.nvm/versions/node/v16.3.0/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/Users/samueljoseph/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit
npm ERR! npm WARN using --force Recommended protections disabled.
npm ERR! npm ERR! code 128
npm ERR! npm ERR! command failed
npm ERR! npm ERR! command git --no-replace-objects clone --mirror -q ssh://git@github.com/gulpjs/gulp.git /Users/samueljoseph/.npm/_cacache/tmp/git-clone-c684df77/.git
npm ERR! npm ERR! fatal: destination path '/Users/samueljoseph/.npm/_cacache/tmp/git-clone-c684df77/.git' already exists and is not an empty directory.
npm ERR! 
npm ERR! npm ERR! A complete log of this run can be found in:
npm ERR! npm ERR!     /Users/samueljoseph/.npm/_logs/2021-07-06T09_59_42_190Z-debug.log
npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/samueljoseph/.npm/_logs/2021-07-06T09_59_44_684Z-debug.log
    at checkExecSyncError (node:child_process:707:11)
    at Object.execSync (node:child_process:744:15)
    at Object.installBoxDependencies (/Users/samueljoseph/.nvm/versions/node/v16.3.0/lib/node_modules/truffle/build/webpack:/packages/box/dist/lib/utils/unbox.js:136:1)
    at Object.setUpBox (/Users/samueljoseph/.nvm/versions/node/v16.3.0/lib/node_modules/truffle/build/webpack:/packages/box/dist/lib/utils/index.js:66:1)
    at /Users/samueljoseph/.nvm/versions/node/v16.3.0/lib/node_modules/truffle/build/webpack:/packages/box/dist/box.js:116:1
    at Generator.next (<anonymous>)
    at fulfilled (/Users/samueljoseph/.nvm/versions/node/v16.3.0/lib/node_modules/truffle/build/webpack:/packages/box/dist/box.js:5:42)

maybe I need to be on an earlier version of node? I'm on OSX 11.4, node 16.3.0 ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions