wcandillon / canvaskit-js

A polyfill of CanvasKit that uses browser APIs
MIT License
79 stars 8 forks source link

Cannot install via README #11

Closed benschac closed 1 year ago

benschac commented 1 year ago

ran

yarn add https://bit.ly/canvaskit-js_v102

getting this error;

yarn add https://bit.ly/canvaskit-js_v102
Usage Error: It seems you are trying to add a package using a https:... url; we now require package names to be explicitly specified.
Try running the command again with the package name prefixed: yarn add my-package@https:...

$ yarn add [--json] [-E,--exact] [-T,--tilde] [-C,--caret] [-D,--dev] [-P,--peer] [-O,--optional] [--prefer-dev] [-i,--interactive] [--cached] [--mode #0] ...
yarn -v
3.6.3
wcandillon commented 1 year ago

Thanks for reporting this, I'm quite excited that you are giving this project a shot :)

benschac commented 1 year ago
 next git:(update_expo_to_49) ✗ yarn add canvaskit-js@https://bit.ly/canvaskit-js_v102
➤ YN0000: ┌ Project validation
➤ YN0057: │ expo-app: Resolutions field will be ignored
➤ YN0000: └ Completed
➤ YN0000: ┌ Resolution step
➤ YN0001: │ Error: canvaskit-js@https://bit.ly/canvaskit-js_v102 isn't supported by any available resolver
    at kf.getResolverByDescriptor (/Users/benjaminschachter/.yarn/releases/yarn-3.6.4.cjs:391:1647)
    at kf.bindDescriptor (/Users/benjaminschachter/.yarn/releases/yarn-3.6.4.cjs:391:1036)
still getting this one now

🥲
benschac commented 1 year ago

also

➤ YN0000: ┌ Project validation ➤ YN0057: │ expo-app: Resolutions field will be ignored ➤ YN0000: └ Completed ➤ YN0000: ┌ Resolution step ➤ YN0001: │ Error: canvaskit-js@npm:1.0.2: No candidates found at ge (/Users/benjaminschachter/.yarn/releases/yarn-3.6.4.cjs:439:8124) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Promise.allSettled (index 5) at async io (/Users/benjaminschachter/.yarn/releases/yarn-3.6.4.cjs:390:10398) ➤ YN0000: └ Completed in 0s 440ms ➤ YN0000: Failed with errors in 0s 443ms

benschac commented 1 year ago
"canvaskit-js": "0.0.0",

this does work
wcandillon commented 1 year ago
"canvaskit-js": "0.0.0",

this does work

what do you mean?

benschac commented 1 year ago

Running yarn install win succeed with out error

Get Outlook for iOShttps://aka.ms/o0ukef


From: William Candillon @.> Sent: Saturday, October 14, 2023 12:29:36 PM To: wcandillon/canvaskit-js @.> Cc: benjamin @.>; State change @.> Subject: Re: [wcandillon/canvaskit-js] Cannot install via README (Issue #11)

"canvaskit-js": "0.0.0",

this does work

what do you mean?

— Reply to this email directly, view it on GitHubhttps://github.com/wcandillon/canvaskit-js/issues/11#issuecomment-1763033556, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AATDCI7I6AXKRSVHAI67UDDX7K4XBANCNFSM6AAAAAA554VC5Y. You are receiving this because you modified the open/close state.Message ID: @.***>

wcandillon commented 1 year ago

Which changes do you suggest to fix the situation?

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version 2.0.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: