jeanbmar / sc-compression

A Node.js module to decompress and compress game assets from Supercell games
42 stars 10 forks source link

Cannot find module #17

Closed elmejor01 closed 1 year ago

elmejor01 commented 1 year ago

I have been trying different versions of the script and it does not work for me, I have tried to move the path of the files and I still get the same problem. I did everything it says in the readme file. Thanks in advance.

image

jeanbmar commented 1 year ago

Hello, File extension is mjs, you used msj!

elmejor01 commented 1 year ago

I used npm install -g sc-compression and npm install sc-compression, then i copied the decompress.mjs, when i executed the node file i have this error. I put all the files in the path node_modules image

jeanbmar commented 1 year ago

The message means decompress.mjs is not there. Download the file, put it in your Desktop directory, go to desktop directory in cmd and run node decompress.mjs.