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

this tool say allway 'error javascript' , but no one byte of js is write here #9544

Closed
jcrm70 opened this issue Aug 9, 2019 · 7 comments
Closed

Comments

@jcrm70
Copy link

jcrm70 commented Aug 9, 2019

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
<meta name="apple-mobile-web-app-title" content="My PWA"/>
<meta name="theme-color" content="#2F3BA2" />
<meta name="description" lang="en" content="The content of this site"/>
<meta name="keywords" lang="en" content="key, words, is, here"/>
<meta name="author" content="jcr"/>
<base href="./" />
<link rel="manifest" href="manifest.json"/>
<link rel="apple-touch-icon" href="images/web/192x192.ico.png"/>
<link rel="shortcut icon" href="favicon.ico"/>
<title>
This is my title text
</title>
</head>
<body>
<img alt="wallpaper" width="1152" height="720" src="wallpaper.jpg" />
</body>
</html>


When lighthouse audits the above code, it says 'js error', and they taken their bothers self, to advise the user to look for good js codes, because the ones he has are not good ...

This is lamerlandia ?. There is not a single byte of js.

A bug is possible and understandable, but it is better not to give erroneous advice how that beginner software does.

(excuse my bad english)

@patrickhulce
Copy link
Collaborator

Thanks for filing!

Would you be able to share a screenshot of the "js error" you are talking about? I'm not sure what you mean.

@jcrm70
Copy link
Author

jcrm70 commented Aug 9, 2019

Yes, i can do this.

google devtool error js

Thanks for your attention

@patrickhulce
Copy link
Collaborator

Thanks for the screenshot! That is a bug in Lighthouse. If you hover on the "Error!" it should display the actual error message.

Would you be willing to upload this site somewhere publicly with all the assets so we could reproduce? Perhaps http://surge.sh?

@jcrm70
Copy link
Author

jcrm70 commented Aug 9, 2019

The hovermessage say: 'Fatal trace logic error - expected start event, got X'. and both cases of js error.

My intention is to warn of this error, and I do not understand that I am asked for absurd things in return. You ask me to install things that I don't want to know, I like asm and hex more.

The code I have put is very simple, but if you do not have a simple localhost to run the code, it is not my problem. Do not send me to absurd and unnecessary places.

I may not be very nice, but I think I don't lie.

@jcrm70
Copy link
Author

jcrm70 commented Aug 9, 2019

now I think .. why don't you run the code yourself in, maybe http://surge.sh ?. Sure you don't need me

@patrickhulce
Copy link
Collaborator

You're right, we don't need any of that! :) Duplicate of #7764.

Something must have gotten lost in translation @jcrm70 I never asked you to install anything. I was only trying to suggest a convenient way to share the resources of your page. The code alone does not have the other assets you reference and does not reproduce the issue for me. We already know this issue though, so we do not need anything from you.

@jcrm70
Copy link
Author

jcrm70 commented Aug 9, 2019

excuse me, I thought you had not started the code. Thank you for your quick responses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants