Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

rpm v12 and allowScripts problem

Abierto
#141 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
15/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
nodejs, sqlite
Área
build-system

Línea de trabajo

The payload names no source files or tests, only an npm install warning about [email protected] and the allowScripts setting. Start by reproducing the install with npm 12 and checking how the project's package.json and lockfile handle install scripts. The reporter says the problem is solved and asks the maintainer to close it, so first confirm with the maintainer whether any change is wanted before writing a fix.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Release Linux Mint 22.3 Zena 64-bit
Kernel Linux 7.0.0-38-generic x86_64
MATE 1.26.2
MATE Terminal 1.26.1

figured it out... so maybe solved will retest and verify

initial concern was the

Error: Could not locate the bindings file. Tried:

then i realized allowScripts had blocked something

npm warn install-scripts 1 package had install scripts blocked because they are not covered by allowScripts:
npm warn install-scripts   [email protected] (install: prebuild-install || node-gyp rebuild --release)
npm warn install-scripts
npm warn install-scripts Run `npm install-scripts ls` to review, or `npm install-scripts approve <pkg>` to allow.

did a little research and found

npm v12 blocks dependency install scripts by default, causing packages like better-sqlite3 to 
fail at runtime if their native bindings are not built.  
Since [email protected] relies on an install script to fetch or compile its binary, the script is skipped, 
leading to a missing native module error. 

purged everything and did a clean slate..

this time i forced npm to use 11.21.0

still get the warning

npm warn install-scripts 1 package has install scripts not yet covered by allowScripts:
npm warn install-scripts   [email protected] (install: prebuild-install || node-gyp rebuild --release)
npm warn install-scripts
npm warn install-scripts Run `npm install-scripts ls` to review, or `npm install-scripts approve <pkg>` to allow.

but it is not blocked just a warning

and it works as advertised. @Arlen22 Feel free to mark this closed after you read it.

Lenguaje dominante
TypeScript
Estrellas
60
Forks
17
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de TiddlyWiki/MultiWikiServer

Todos los issues de TiddlyWiki/MultiWikiServer

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.