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

get null 404 error on production #832

Closed
MurhafSousli opened this issue Aug 4, 2016 · 1 comment
Closed

get null 404 error on production #832

MurhafSousli opened this issue Aug 4, 2016 · 1 comment

Comments

@MurhafSousli
Copy link

Hi, I have my app working on local machine without any errors, once I built for production and published the app on my domain, I got this error (which doesn't effect the app)

GET http://murhafsousli.com/null 404 (Not Found)     null:1 

I looked in my code for hours I didn't find any get request, why is it happening!
and when I test production on local by adding enableProdMode(); in app component, I get this error instead of the previous one:

TypeError: Cannot read property 'probe' of undefined(…)

I think the problem is in _decorateComponentRef in environment.ts but I don't know how to fix it.

@SaturnTeam
Copy link

Have you string enableProdMode(); in your dev branch in enviroment.ts? I had same error due to have same string

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