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 }}
This repository was archived by the owner on Mar 11, 2024. It is now read-only.
Hi, could you please point out if this is my misunderstanding or if something is causing this issue on your side?
Attaching the error message.
$ truffle unbox optimism
This directory is non-empty...
? Proceed anyway? (Y/n)
Starting unbox...
=================
? Proceed anyway? Yes
✓ Preparing to download box
✓ Downloading
npm ERR! code ERR_INVALID_ARG_TYPE
npm ERR! The "from" argument must be of type string. Received undefined
npm ERR! A complete log of this run can be found in:
npm ERR! /home/eli/.npm/_logs/2022-05-23T20_37_05_269Z-debug-0.log
✓ Cleaning up temporary files
✖ Setting up box
Unbox failed!
Error: Command failed: npm install --loglevel=error && touch .env
npm ERR! code ERR_INVALID_ARG_TYPE
npm ERR! The "from" argument must be of type string. Received undefined
npm ERR! A complete log of this run can be found in:
npm ERR! /home/eli/.npm/_logs/2022-05-23T20_37_05_269Z-debug-0.log
at checkExecSyncError (node:child_process:828:11)
at Object.execSync (node:child_process:899:15)
at Object.installBoxDependencies (/usr/local/lib/node_modules/truffle/build/webpack:/packages/box/dist/lib/utils/unbox.js:139:1)
at Object.setUpBox (/usr/local/lib/node_modules/truffle/build/webpack:/packages/box/dist/lib/utils/index.js:52:1)
at /usr/local/lib/node_modules/truffle/build/webpack:/packages/box/dist/box.js:183:1
at Generator.next (<anonymous>)
at fulfilled (/usr/local/lib/node_modules/truffle/build/webpack:/packages/box/dist/box.js:5:43)
Truffle v5.5.15 (core: 5.5.15)
Node v16.15.0