UpscalerJS icon indicating copy to clipboard operation
UpscalerJS copied to clipboard

Unable to run the project

Open codestheos opened this issue 3 years ago • 5 comments

Describe the bug I tried to run some examples but it shows this error: "@parcel/core: Failed to resolve '@upscalerjs/esrgan-slim' from './node_modules/upscaler/dist/browser/esm/dependencies.generated.js'"

To Reproduce

  1. git clone the project
  2. cd examples/progress
  3. yarn install, yarn start

Expected behavior Should be run without any issues

Screenshots image

codestheos avatar Sep 01 '22 08:09 codestheos

Thanks for reporting this, @stvegerrad.

Out of curiosity, can you run the example in examples/basic?

(Most of the examples I still need to update for 1.0.0, but basic should be one of the few that's been updated already.)

thekevinscott avatar Sep 01 '22 10:09 thekevinscott

Got it. I already test examples/basic project and it works well. Excuse me, could you tell me how long does it take to update full examples to the current version?

codestheos avatar Sep 01 '22 14:09 codestheos

Hard to say - some should be quick to change over, but others will require some refactoring.

I can prioritize the ones you're interested in if you let me know them, or else I'll just go in alphabetical order.

thekevinscott avatar Sep 06 '22 12:09 thekevinscott

The following examples are updated and should be working:

  • basic
  • cancel
  • progress
  • react-demo
  • tensor
  • upload
  • warmup
  • webcam

The others still have some sort of related bug which I'm working on fixing.

thekevinscott avatar Sep 17 '22 01:09 thekevinscott

Thanks for your effort.

codestheos avatar Sep 19 '22 18:09 codestheos

All the examples should now be updated. Please take a look!

For any issues with particular examples, please open a new issue for that bug.

thekevinscott avatar Oct 04 '22 10:10 thekevinscott