apollographql / apollographql/fullstack-tutorial
Dependencies not installing properly
- 主要言語
- TypeScript
- スター
- 1.2k
- フォーク
- 808
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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!
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
starter codeをindex.tsxに配置した後、start/clientのセットアップを再現し、その後react-scripts startのエントリーポイントと、client/srcで報告されているindex.jsの検索を追跡します。依存関係がインストールされ、missing-fileエラーやnpmのライフサイクルエラーなしにclient serverが起動すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- node.js, react, typescript
- 領域
- build-system, frontend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100