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

error while running monogatari #125

Open
gamemake-eng opened this issue Nov 11, 2020 · 3 comments
Open

error while running monogatari #125

gamemake-eng opened this issue Nov 11, 2020 · 3 comments

Comments

@gamemake-eng
Copy link

when I was trying to run my project on a web server I found this is the browser's console.

Uncaught (in promise) TypeError: this.script is not a function at Function.value (monogatari.js:761) at monogatari.js:2952 at <anonymous>

line 761: return this.script (this.state ('label'));

it looks like there is a problem with the javascript that runs the library.

@Hyuchia
Copy link
Member

Hyuchia commented Nov 11, 2020

@gamemake-eng Hi! Is your game available online so I can take a look at it? Otherwise, could you show me how you declared your script?

@gamemake-eng
Copy link
Author

like you want to see the script.js?

@Hyuchia
Copy link
Member

Hyuchia commented Nov 12, 2020

Yes, my guess is you're somehow overriding the script function and that's why you're getting the error that it is not a function

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