apollographql / apollographql/fullstack-tutorial
Dependencies not installing properly
- Langage dominant
- TypeScript
- Étoiles
- 1.2k
- Forks
- 808
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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!
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Reproduisez la configuration de start/client après avoir placé le code de démarrage dans index.tsx, puis suivez le point d’entrée de react-scripts start ainsi que la recherche signalée de index.js dans client/src. C’est terminé lorsque les dépendances s’installent et que le serveur client démarre sans erreurs de fichier manquant ni erreurs du cycle de vie de npm.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- node.js, react, typescript
- Domaine
- build-system, frontend
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 35/100