import-cost icon indicating copy to clipboard operation
import-cost copied to clipboard

Fails to calculate import size

Open Ivan-CG opened this issue 2 years ago • 5 comments

I use web3 library

There is a string "Calculating..." for a few seconds, but then it disappears.

I enabled Debug & tried different values for Timeout in range 50 - 2000000, restarted VSCode & my laptop - nothing helps.

My last guess is that there is a limit for packages... Please assist.

Ivan-CG avatar Feb 08 '23 20:02 Ivan-CG

Sam here. I'm on Vscode, Windows.

I enabled debug logging setting and it shows nothing in the output after the "Calculating..." disappears.

I also increased the timeout to different huge numbers and it seems it's not applied.

This happens to me when i'm working on a .ts and .js files. import express from 'express';

its-anas avatar Feb 09 '23 23:02 its-anas

I had problem with web3.js library. Upgrading web3 to 1.8.2 fixed that issue.

Try different versions for ur lib

Ivan-CG avatar Feb 09 '23 23:02 Ivan-CG

I have the latest version of Express (and other libs), it won't work on this case.

its-anas avatar Feb 10 '23 00:02 its-anas

Update: For now it doesn't work on Express and React. Other packages it works fine. Maybe it is limited when it comes to large packages ?

its-anas avatar Feb 10 '23 22:02 its-anas