MIME type error
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 30/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- javascript, nodejs, webpack
- 領域
- build-system, frontend
調査の方向性
このレポートでは /js アセットとブラウザーの MIME エラーが特定されていますが、ソースファイルもテストも示されていません。まず webpack wrapper がこれらのアセットをどのように配信またはコピーしているかを追跡し、その後リクエストを再現して、text/html ではなく JavaScript が返されることを確認してください。
索引モデルが issue の本文から書いたものです。
説明
I found the following issue:
I'm getting a Refused to execute script from '<URL>' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled. error and can't seem to get the pattern library to see the files in /js.
Just wondering if there's something that could be done. I'm trying to add some javascript to build out more patterns but am stuck at this spot. Googling the error code hasn't led to any specific fix that would work with the way this pattern library app is setup. The app seems to run fine but the included js files aren't being seen:

Explicitly setting type="application/javascript" hasn't helped either.
Any help would be greatly appreciated!
- 主要言語
- JavaScript
- スター
- 128
- フォーク
- 92
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Comcast/patternlab-edition-node-webpack のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
-
hacktoberfest
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
-
hacktoberfest
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
-
good first issue hacktoberfest
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
Comcast/patternlab-edition-node-webpack#34 · コメント 2 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 35/100
Comcast/patternlab-edition-node-webpack#33 · コメント 9 件 ·
Comcast/patternlab-edition-node-webpack の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
mksglu/context-mode#1200 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
neondatabase/website#5944 ·
-
module: core
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
bigbluebutton/bigbluebutton#25849 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
jaegertracing/jaeger-ui#4506 ·