apollographql / apollographql/fullstack-tutorial
Dependencies not installing properly
- Vorherrschende Sprache
- TypeScript
- Sterne
- 1.2k
- Forks
- 808
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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!
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Reproduziere das Setup aus start/client, nachdem du den Starter-Code in index.tsx eingefügt hast, und folge dann dem react-scripts start-Einstiegspunkt sowie der gemeldeten Suche nach index.js in client/src. Als erledigt gilt, wenn die Abhängigkeiten installiert werden und der Client-Server ohne Fehler wegen der fehlenden Datei oder npm-Lifecycle-Fehler startet.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- node.js, react, typescript
- Bereich
- build-system, frontend
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100