Browser does not display the index.html pages as expected for any of the exercises
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- javascript
調査の方向性
まず、Live Server で exercise 03_02/index.html の空白ページを再現し、次にその script.js とブラウザーコンソールを調べます。そのページを、日常的に使うバックパックに期待されるプロパティと比較し、同じ動作がほかの演習ディレクトリでも発生するか確認します。対応ブラウザーで演習ページが期待される出力をレンダリングすれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- JavaScript
- スター
- 2k
- フォーク
- 4k
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
LinkedInLearning/javascript-essential-training-2832077 のほかの issue
-
Typo in readme fileオープン
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
LinkedInLearning/javascript-essential-training-2832077#98 · リアクション 5 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
LinkedInLearning/javascript-essential-training-2832077#5 · リアクション 3 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 5/100
-
minor one off typoオープン
難易度 1/5 1時間未満 初心者へのやさしさ 25/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
LinkedInLearning/javascript-essential-training-2832077#78 · コメント 1 件 ·
LinkedInLearning/javascript-essential-training-2832077 の issue をすべて見る
似ている issue
-
Complexity: Small P-Feature: Projects page ready for merge team role: back end/devOps role: front end size: 0.25pt
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 67/100
bellingcat/toolkit#905 ·
-
self-care self-care:docs-build-time-investigator
難易度 2/5 半日 初心者へのやさしさ 76/100
githubnext/gh-aw-cao#14191 ·
メンテナーはふだん 1 日以内に返信
-
effort:low impact:medium RAG status: auto-triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
mastra-ai/mastra#25229 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
sugarlabs/musicblocks#8984 ·
メンテナーはふだん 1 日以内に返信