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: GET http://localhost:4200/demo/inline.bundle.js net::ERR_ABORTED #5

Open
rafacm opened this issue Mar 29, 2018 · 7 comments
Open

Comments

@rafacm
Copy link

rafacm commented Mar 29, 2018

When starting the example with

rafa@freddie ~/d/m/d/mesh-angular-example> npm run-script start

> [email protected] start /Users/rafa/dev/mesh/dev/mesh-angular-example
> ng serve --proxy-config proxy.conf.js

** NG Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
Date: 2018-03-29T15:44:11.110Z                                                          
Hash: acc6093eba8be594f3aa
Time: 8436ms
chunk {inline} inline.bundle.js (inline) 5.79 kB [entry] [rendered]
chunk {main} main.bundle.js (main) 90.7 kB [initial] [rendered]
chunk {polyfills} polyfills.bundle.js (polyfills) 972 kB [initial] [rendered]
chunk {styles} styles.bundle.js (styles) 368 kB [initial] [rendered]
chunk {vendor} vendor.bundle.js (vendor) 9.51 MB [initial] [rendered]

webpack: Compiled successfully.

and pointing my browser to http://localhost:4200/ I get the following errors on the browser console:

GET http://localhost:4200/demo/inline.bundle.js net::ERR_ABORTED
5Refused to execute script from '<URL>' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
localhost/:13 GET http://localhost:4200/demo/polyfills.bundle.js net::ERR_ABORTED
localhost/:13 GET http://localhost:4200/demo/styles.bundle.js net::ERR_ABORTED
localhost/:13 GET http://localhost:4200/demo/vendor.bundle.js net::ERR_ABORTED
localhost/:13 GET http://localhost:4200/demo/main.bundle.js net::ERR_ABORTED

gentics-mesh-angular-example-error

@rafacm rafacm changed the title Failed to load resource: the server responded with a status of 404 (Not Found) GET http://localhost:4200/demo/inline.bundle.js net::ERR_ABORTED Mar 29, 2018
@rafacm rafacm changed the title GET http://localhost:4200/demo/inline.bundle.js net::ERR_ABORTED Error: GET http://localhost:4200/demo/inline.bundle.js net::ERR_ABORTED Mar 29, 2018
rafacm added a commit to rafacm/mesh-angular-example that referenced this issue Mar 29, 2018
rafacm added a commit to rafacm/mesh-angular-example that referenced this issue Mar 30, 2018
rafacm added a commit to rafacm/mesh-angular-example that referenced this issue Mar 30, 2018
@jolugama
Copy link

yes!!, thank you.
I resolv in index.html

@nikithaperuka89
Copy link

@jolugama can you describe what was done
I get the below error post deployment of the application
Failed to load resource: the server responded with a status of 404 (Not Found)
polyfills.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
styles.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
vendor.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
main.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
runtime.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
polyfills.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
styles.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
vendor.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
main.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)

@pschulzk
Copy link
Contributor

@nikithaperuka89 We couldn't reproduce the errors you described.
Did you modify your baseHref, proxy.conf.js or made any other changes to the code before running it?

@Jotschi
Copy link
Contributor

Jotschi commented Mar 29, 2019

@nehamohapatra Did you change the baseHref to / otherwise the urls will not match your deployments? The angular example does not use IFrames. Not sure what you are doing.

@pschulzk
Copy link
Contributor

@nehamohapatra
Your usecase appears to be too far away from the original sample app of this repository.
Unfortunately, we can't provide support for custom apps here.

@svascot
Copy link

svascot commented May 18, 2020

@nikithaperuka89 I have the same issue, did you resolve it?

@DanielWilches
Copy link

DanielWilches commented Jun 3, 2020

poseo el mismo problema del en mi proyecto

I have the same problem as in my project

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

7 participants