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

App blank after installing #10

Closed
BransonGitomeh opened this issue Mar 7, 2015 · 6 comments
Closed

App blank after installing #10

BransonGitomeh opened this issue Mar 7, 2015 · 6 comments

Comments

@BransonGitomeh
Copy link

after I add the Add-on via both methods old and for new add-on format, the app goes blank and the following error is shown on console after serving the app

Uncaught Error: Could not find module <%= modulePrefix %>/app

i'm using using version: 0.2.0-beta.1

plus what version of jquery is needed?..i chose 1,

override environment.js i also choose yes,

please help...

@sgasser
Copy link
Collaborator

sgasser commented Mar 9, 2015

Change "<%= modulePrefix %>" to your app name in your environment.js.

Please review all changes (tip: you can see a diff by pressing d).

@BransonGitomeh
Copy link
Author

yeey now its compiling, but new errors occur

error 1:[Report Only] Refused to load the image 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAUCAYAAAD/Rn+7AAADU0lEQ…1eMYmYeDY6sOp0z+B0OuHxeEQhxkJMFosJiSO/UinOI/8Pc+l7KKArAT8AAAAASUVORK5CYII=' because it violates the following Content Security Policy directive: "img-src 'self'".

error 2:cl4appf.com/x.gif?url=http%3A%2F%2Flocalhost%3A4200%2F&ref=http%3A%2F%2Flocalhost%3A4200%2F:1 GET http://cl4appf.com/x.gif?url=http%3A%2F%2Flocalhost%3A4200%2F&ref=http%3A%2F%2Flocalhost%3A4200%2F net::ERR_CONNECTION_TIMED_OUT

please note that when i try this ...its a new app from ember new, so cant we make it as easy to install materialize as it is to install bootstrap... or do i neeed to import stuff from brocfile?

lemme try that ill tell you how itll go

@BransonGitomeh
Copy link
Author

awesome, the brocfile trick is working....but im still geting the two errors but everything is working perfectly.....and the errors het more and more as i interact with the ui, for example

GET http://cl4appf.com/x.gif?url=http%3A%2F%2Flocalhost%3A4200%2F&ref=http%3A%2F%2Flocalhost%3A4200%2F 403 (Forbidden)

GET http://cl4appf.com/x.gif?url=http%3A%2F%2Flocalhost%3A4200%2F%23&ref=http%3A%2F%2Flocalhost%3A4200%2F 403 (Forbidden)

blablabla...can you help me?....im starting to enjoy this

@BransonGitomeh
Copy link
Author

this is all working awesome, i updated my cli...but now im getting all sorts of styles that are not applying after i interact with the UI, for example a button will not go back to original color after clicking, i know this are content policy errors , but whats the correct configuration?...i think ill close this issue when we solve this CSP issues please??/

@sgasser
Copy link
Collaborator

sgasser commented Mar 11, 2015

The dummy environment.js works?

Here is another link to CSP: http://content-security-policy.com/

I will close the issue, because it's not a issue of this lib.

Please open again if something is misunderstood by me.

@sgasser sgasser closed this as completed Mar 11, 2015
@BransonGitomeh
Copy link
Author

hey have a look at ember papers updated installation-guide, they have added the correct thing im supposed to add to my CSP section, you know...just so that we can make everything easier for people

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