NFT-Marker-Creator icon indicating copy to clipboard operation
NFT-Marker-Creator copied to clipboard

TypeError: fetch failed when running app.js

Open ShashanKV98 opened this issue 2 years ago • 2 comments

Hello. I've cloned the repository, installed the required node modules and as I tried to run "node app.js -i image.jpg", an error gets thrown as follows

TypeError: fetch failed TypeError: fetch failed C:\Users\admin\Desktop\Desktop\NFT-Marker-Creator\libs\NftMarkerCreator_wasm.js:1 (Probably the whole of wasm.js file printed here) RuntimeError: abort(TypeError: fetch failed) at Error

Is there something I'm incorrectly executing?

Thank you.

ShashanKV98 avatar Sep 06 '22 04:09 ShashanKV98

Hello. I've cloned the repository, installed the required node modules and as I tried to run "node app.js -i image.jpg", an error gets thrown as follows

TypeError: fetch failed TypeError: fetch failed C:\Users\admin\Desktop\Desktop\NFT-Marker-Creator\libs\NftMarkerCreator_wasm.js:1 (Probably the whole of wasm.js file printed here) RuntimeError: abort(TypeError: fetch failed) at Error

Is there something I'm incorrectly executing?

Thank you.

Hi, I solved this problem downgrading Node.js from 18 to 16.19.0.

Gius

Giusort avatar Feb 02 '23 07:02 Giusort

I was using nodejs 18, downgraded to 16, works fine now

VongoSanDi avatar Mar 22 '23 12:03 VongoSanDi