hashlips-lab / nft-erc721-collection

MIT License
446 stars 397 forks source link

yarn rename-contract comment is not executing #415

Closed Zivsun12 closed 2 years ago

Zivsun12 commented 2 years ago

General information

Description Value
Project version nft-erc721-collection-2.0.0
Operating system and version Win 10 Ent , Version 1909
NodeJS version v16.17.1
NPM version 8.15.0
Yarn version 3.2.4
Truffle version Truffle v5.6.1 (core: 5.6.1)

Ganache v7.4.4 Solidity v0.5.16 (solc-js) Node v16.17.1 Web3.js v1.7.4 |

Describe the bug

yarn rename-contract comment is not executing Getting Usage Error: Couldn't find a script named "rename-contract".

image

liarco commented 2 years ago

Hi @Zivsun12, thank you for your detailed report. I did my best to match your environment, but unfortunately I don't have a Windows machine to test this on (btw our automated tests here on GitHub are also running on Windows and they are not showing such errors).

Here is a video of my attempt on a brand new project: https://user-images.githubusercontent.com/1532277/195858730-b72fef06-c472-4674-814e-af0ecc6f6029.mp4

I'm gonna try again to do the same on a Windows machine as soon as I have access to it to make sure it's not an OS-related issue.

Zivsun12 commented 2 years ago

much appreciate the effort, seems to be working now, after rerunning yarn we can close the issue