apollographql / apollographql/fullstack-tutorial

Dependencies not installing properly

Abierto
#124 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
1.2k
Forks
808
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

I tried to install the packages from client in the start folder. This worked, but I was told that there were 8 vulnerabilities, 4 of them being high. I went to npm audit fix, although it failed due to ENOENT: no such file or directory for a sourcemap file. I tried it again, and it worked with some warnings. When i went to start the client server (after placing the starter code into index.tsx), my compiler indicated:

Could not find a required file.
Name: index.js
Searched in: /mnt/c/Users/User/documents/apollo-tut/start/client/src
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! client@0.1.0 start: `react-scripts start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the client@0.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/User/.npm/_logs/2020-02-21T15_24_19_779Z-debug.log

Thanks in advance!

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Reproduce la configuración de start/client después de colocar el código inicial en index.tsx; luego sigue el punto de entrada de react-scripts start y la búsqueda indicada de index.js en client/src. Se considera terminado cuando las dependencias se instalan y el servidor del cliente se inicia sin errores de archivo faltante ni del ciclo de vida de npm.

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

Evaluación

Stack tecnológico
node.js, react, typescript
Área
build-system, frontend
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.