CATProtocol / cat-token-box

A monorepo for packages implementing CAT protocol
https://catprotocol.org
MIT License
180 stars 120 forks source link

"sudo yarn build" removes the artifact files before built and thus cause error in building #144

Open crackeryo opened 2 days ago

crackeryo commented 2 days ago

I removed the line that cleans up the artifact and it finally built successfully. Any side effect for doing so?

jiafu83 commented 2 days ago

I removed the line that cleans up the artifact and it finally built successfully. Any side effect for doing so?

which line that cleans up the artifact? I got the same problem, also confused

justswash commented 2 days ago

same issue here. package.json under smartcontracts, line 13

"clean": "rimraf scrypt.index.json && rimraf dist && rimraf artifacts",

to

"clean": "rimraf scrypt.index.json && rimraf dist",