apollographql / apollographql/fullstack-tutorial

Cannot find module 'C:\My Data\node-pre-gyp\bin\node-pre-gyp'

オープン
#143 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
1.2k
フォーク
808
PR マージ指標
30日以内にマージされた PR はありません

説明

I am following the tutorial from the official site. When I run the below command in terminal.

cd start/server && npm install

it throws error

Error: Cannot find module 'C:\My Data\node-pre-gyp\bin\node-pre-gyp'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15)
at Function.Module._load (internal/modules/cjs/loader.js:862:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
at internal/main/run_main_module.js:18:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}

Link:
https://www.apollographql.com/docs/tutorial/schema/

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

チュートリアルの start/server ディレクトリから始め、issue に記載された npm install を実行して失敗を再現します。報告された Windows パスで node-pre-gyp がどのように解決されているかを調査します。チュートリアルの依存関係が MODULE_NOT_FOUND エラーなしでインストールできれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
nodejs
領域
build-system
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。