Module not found: Error: Can't resolve 'https'
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- nodejs, typescript, webpack
- 領域
- build-system
調査の方向性
Reproduce the Node v20 webpack build and inspect node_modules/serpapi/esm/src/utils.js, where the missing https and querystring modules are reported. Determine whether the package or consuming build is expected to provide the resolution, then verify that the build completes without these errors.
索引モデルが issue の本文から書いたものです。
説明
I get these error message for node v20
ERROR in ./node_modules/serpapi/esm/src/utils.js 2:0-26
Module not found: Error: Can't resolve 'https' in '/Users/yasaman/Desktop/safariz/node_modules/serpapi/esm/src'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "https": require.resolve("https-browserify") }'
- install 'https-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "https": false }
ERROR in ./node_modules/serpapi/esm/src/utils.js 3:0-29
Module not found: Error: Can't resolve 'querystring' in '/Users/yasaman/Desktop/safariz/node_modules/serpapi/esm/src'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "querystring": require.resolve("querystring-es3") }'
- install 'querystring-es3'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "querystring": false }
- 主要言語
- TypeScript
- スター
- 104
- フォーク
- 36
- 平均マージ
- 4日 23時間
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
serpapi/serpapi-javascript のほかの issue
-
Default client timeout (60s) is shorter than the server-side timeout (90s)対応中かも @Babyy-dev が 7 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
asistencias.pyオープン
難易度 2/5 1時間未満 初心者へのやさしさ 15/100
-
Deno deprecation対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 50/100
serpapi/serpapi-javascript#55 · コメント 2 件 ·
-
Timeout issuesオープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
types are extremely poor without coverage.対応中かも @nya-a-cat が 152 日前に担当しました。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
serpapi/serpapi-javascript#33 · コメント 1 件 · リアクション 1 件 ·
serpapi/serpapi-javascript の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
OHDSI/Data2Evidence#3749 ·
メンテナーはふだん 4 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
メンテナーはふだん 1 日以内に返信
-
bug severity:low triage:confirmed triage:in-progress
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Cotal-AI/Cotal#10749 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
needs-atl
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
GoogleChrome/modern-web-guidance-src#3726 ·
メンテナーはふだん 1 日以内に返信
-
e2e-failure ready-to-code
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
redhat-developer/rhdh-plugin-export-overlays#4935 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信