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

exactly 262 errors while installing Yarn in my project's forlder. #60

Closed
Dreaddisk opened this issue Nov 3, 2017 · 3 comments
Closed

Comments

@Dreaddisk
Copy link

After put the yarn folder in my projects folder. I get in my console 262 errors from the app JS file.

@bowlercaptain
Copy link

Hey Dreaddisk - it sounds like you've put Yarn inside of a Unity project; Yarn is actually meant to be used outside of Unity, like a text editor or any other application. It has "js" files, but as you've seen, they're not built on unity's API, they compose a NW.JS app.

You should use Yarn outside of your project, but when you go to save and export your scripts, those you would want to save to your project's assets folder. If you're interested in a Unity-specific loader for yarn files, check out the YarnSpinner project (https://github.com/thesecretlab/YarnSpinner).

You didn't mention Unity in your issue but I assume that's what you meant given you mentioned the console. If something else is going on, feel free to let me know.

@Dreaddisk
Copy link
Author

Dreaddisk commented Nov 7, 2017 via email

@addie-lombardo
Copy link
Collaborator

The Yarn editor can be opened via Yarn/app/index.html, for information on YarnSpinner please see the respective repo here.

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

3 participants