Browser does not display the index.html pages as expected for any of the exercises
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- javascript
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện trang trống từ exercise 03_02/index.html bằng Live Server, sau đó kiểm tra script.js và console của trình duyệt. So sánh trang này với các thuộc tính được mong đợi của một chiếc ba lô dùng hằng ngày và kiểm tra xem hành vi tương tự có xảy ra trong các thư mục bài tập khác hay không. Được xem là hoàn tất khi các trang bài tập hiển thị đầu ra như mong đợi trong các trình duyệt được hỗ trợ.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Issue Overview
index.html files do not display in browser (chrome/saffari/ffx). I get a blank browser window.
Describe your environment
MacBook Pro 14" M2 Venture 13.2.1
Version: 1.75.1
Commit: 441438abd1ac652551dbe4d408dfcec8a499b8bf
Date: 2023-02-08T21:34:01.965Z
Electron: 19.1.9
Chromium: 102.0.5005.194
Node.js: 16.14.2
V8: 10.2.154.23-electron.0
OS: Darwin arm64 22.3.0
Sandboxed: No
LiveServer v5.7.9
Chrome Version 110.0.5481.177 (Official Build) (arm64)
Steps to Reproduce
- Select any exercise and right click on index.html e.g. exercise 03_02
- Select Open with Live Server
- Chrome opens (default browser) to http://127.0.0.1:5500/javascript-essential-training-2832077-main/03_02/index.html
Expected Behavior
I expect the browser to display everyday backpack properties in this case (exercise 03_02)
Current Behavior
Browser opens but displays no text (ie blank page)
Here is html from console:
<title>Building a JavaScript object from scratch</title> <script src="script.js" defer></script> <script> // = 0 ? '&' : '?') + '_cacheOverride=' + (new Date().valueOf()); } parent.appendChild(elem); } } var protocol = window.location.protocol === 'http:' ? 'ws://' : 'wss://'; var address = protocol + window.location.host + window.location.pathname + '/ws'; var socket = new WebSocket(address); socket.onmessage = function (msg) { if (msg.data == 'reload') window.location.reload(); else if (msg.data == 'refreshcss') refreshCSS(); }; if (sessionStorage && !sessionStorage.getItem('IsThisFirstTime_Log_From_LiveServer')) { console.log('Live reload enabled.'); sessionStorage.setItem('IsThisFirstTime_Log_From_LiveServer', true); } })(); } else { console.error('Upgrade your browser. This Browser is NOT supported WebSocket for Live-Reloading.'); } // ]]>Possible Solution
Attempted to past URL in all browsers in both regular and incognito/private mode
Changed personal setting in live server to open in chromePrivateMode:
{
"liveServer.settings.donotShowInfoMsg": true,
"liveServer.settings.CustomBrowser": "chrome:PrivateMode"
}
(still openes in regular chrome/system browser though)
Screenshots / Video
Related Issues
- Ngôn ngữ chính
- JavaScript
- Star
- 2k
- Fork
- 4k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của LinkedInLearning/javascript-essential-training-2832077
-
Typo in readme fileĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
LinkedInLearning/javascript-essential-training-2832077#98 · 5 reaction ·
-
Misspelling in README file.Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
LinkedInLearning/javascript-essential-training-2832077#5 · 3 reaction ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 5/100
-
minor one off typoĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 25/100
-
Missing Exercise FilesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
LinkedInLearning/javascript-essential-training-2832077#78 · 1 bình luận ·
Tất cả issue của LinkedInLearning/javascript-essential-training-2832077
Issue tương tự
-
bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
amponce/archive-movie-browser#354 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
saayam-for-all/webapp#1870 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Imageomics/OpenCite#66 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
chr15m/twiiit.com#20 ·
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
antropos17/Aegis#629 ·
Maintainer thường phản hồi trong vòng 4 ngày