2

Error: Something already exists at the destination. Please unbox in an empty fol der. Stopping to prevent overwriting data. at C:\Users\lenovo\AppData\Roaming\npm\node_modules\truffle\build\webpack:\~ \truffle-box\lib\utils\unbox.js:22:1

2

To perform truffle init the folder should be completely empty.

Remember that could be some hidden files, you can check them from the console with the command ls -a.

If so, you need or to delete them or you can easily start creating a new folder from scratch.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.