Module not found: Error: Can't resolve 'https'
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- nodejs, typescript, webpack
- Área
- build-system
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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 }
- Lenguaje dominante
- TypeScript
- Estrellas
- 104
- Forks
- 36
- Merge medio
- 4 d 23 h
- PR fusionados (30 d)
- 1
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de serpapi/serpapi-javascript
-
Default client timeout (60s) is shorter than the server-side timeout (90s)Posiblemente ocupada @Babyy-dev la tomó hace 6 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
-
asistencias.pyAbierto
Dificultad 2/5 Menos de una hora Aptitud para principiantes 15/100
-
Deno deprecationPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 50/100
serpapi/serpapi-javascript#55 · 2 comentarios ·
-
Timeout issuesAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
-
types are extremely poor without coverage.Posiblemente ocupada @nya-a-cat la tomó hace 152 días. Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
serpapi/serpapi-javascript#33 · 1 comentario · 1 reacción ·
Todos los issues de serpapi/serpapi-javascript
Issues similares
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
lingdojo/kana-dojo#34714 · 1 comentario · 5 reacciones ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 70/100
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
manaflow-ai/cmux#59692 ·
Los mantenedores suelen responder en 1 día
-
Retire stale Python-parity labels in Rust ingress and auth testsPosiblemente ocupada @github-actions la tomó hoy. Abiertofactory factory:building factory:unowned ralph-status:in-progress via:opencode-free/hy4-flash-free
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
JoshCLWren/comic-pile#5874 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
area: community lane: free-agent priority: P1 roadmap type: task
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
velella-sh/offing#1046 ·
Los mantenedores suelen responder en 1 día