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

Uncaught Error: Script error for: js/app #8

Open
yozawiratama opened this issue Mar 3, 2017 · 1 comment
Open

Uncaught Error: Script error for: js/app #8

yozawiratama opened this issue Mar 3, 2017 · 1 comment

Comments

@yozawiratama
Copy link

yozawiratama commented Mar 3, 2017

Sorry i dont have experience using requirejs before.
i got this error when i run gh-page source code in my local pc

of course i run it with http-server

please help how to solve this case

Failed to load resource: the server responded with a status of 404 (Not Found)
require-2.1.10.min.js:8 Uncaught Error: Script error for: js/app
http://requirejs.org/docs/errors.html#scripterror
    at C (require-2.1.10.min.js:8)
    at HTMLScriptElement.onScriptError (require-2.1.10.min.js:29)

thanks

@yozawiratama
Copy link
Author

I found the problem
i change the base url in main.js to be
baseUrl: '/examples',

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

1 participant