Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yours examples doesnt work !!!!!! #338

Closed
desdamo opened this issue Nov 7, 2023 · 2 comments
Closed

yours examples doesnt work !!!!!! #338

desdamo opened this issue Nov 7, 2023 · 2 comments

Comments

@desdamo
Copy link

desdamo commented Nov 7, 2023

<-- Thanks for using Rive!

If something isn't working like you expected, please:

If you think you found a bug or if you can't find what you're looking for
in our docs, fill out the template below.

-->

Description

<-- A clear and concise description of what the problem is. -->

Provide a Repro

<--
Please provide the most minimal repro you can:

  • If the problem is small enough, paste a code snippet
  • Otherwise, you can attach a ZIP archive or paste a link to a GitHub repository with the bundle that reproduces the issue

-->

Source .riv/.rev file

<--
Attaching runtime-exported .riv file that reproduces the issue is immensely helpful for our team to identify the problem as fast as possible and fix it.
Please also include the source (.rev) by downloading a backup from the Editor.

N.B. Because GitHub only supports certain file types use a ZIP archive to upload .riv/.rev files to this issue.

You can also privately share the .riv/.rev file with us at [email protected].
-->

Expected behavior

<-- A clear and concise description of what you expected to happen. -->

Screenshots

<-- If applicable, add screenshots to help explain your problem. -->

Screenshot

Browser & Versions (please complete the following information)

  • Browser: [e.g. Chrome 92 Stable, Firefox 90 Developer Edition]
  • OS: [e.g. macOS 11.4, Windows 10]
  • NPM Version: [Copy-paste the output of npm --version e.g.: 7.10.2]

Additional context

<-- Add any other context about the problem here. -->

@zplata
Copy link
Contributor

zplata commented Dec 4, 2023

Hi! I can't tell from the description what seems to not be working re: the examples, but hopefully we can clarify a few things. The example apps are by default set up to work with a local build of the JS/WASM runtimes. Some examples are stale (which we definitely need to clean up), but if you're able to build successfully and still not get the example apps to work, please let us know! You can find more here on building locally and running the example apps: https://github.com/rive-app/rive-wasm/blob/master/CONTRIBUTING.md#local-development

You can also replace the local build path in the package.json for the example apps to point to a latest deployed version if you prefer. So for example, in this example app: https://github.com/rive-app/rive-wasm/blob/master/js/examples/_frameworks/neostream-events/package.json#L12

You could change:

"@rive-app/canvas": "file:../../../npm/canvas_single"

to something like:

"@rive-app/canvas": "^2.7.6"

@zplata
Copy link
Contributor

zplata commented Mar 18, 2024

Closing as we haven't heard back, but feel free to open a new issue if you have a specific example that does not work. We also cleaned up/deleted some stale examples that used old versions of the runtime to make it clear what examples you can reference that are active. Thanks!

@zplata zplata closed this as completed Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants