module is not defined

オープン
#4 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
30/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
javascript, react-native

調査の方向性

まず dist/tuple.mjs とスタックトレースに示されているブラウザバンドルのパスを調べ、次に react-native-web を使って Chrome で失敗を再現してください。immutable-tuple 依存関係がその環境で “module is not defined” を発生させなくなれば、作業は完了です。

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

説明

Hi Ben, I don't get this error in React Native iOS or Android, but I do in Chrome with react-native-web. I don't know whether it's something you can publish an update to fix, or if I need to ask React Native or react-native-web to do an additional compilation step or something? 😄

$ npm ls immutable-tuple
/code/myapp
└─┬ [email protected]
 └─┬ [email protected]
   └─┬ [email protected]
     └── [email protected]
bundle.js:140912 Uncaught ReferenceError: module is not defined
   at Module.../../../../../../../../../code/myapp/node_modules/immutable-tuple/dist/tuple.mjs (bundle.js:140912)
   at __webpack_require__ (bundle.js:725)
   at fn (bundle.js:102)
   at Object.../../../../../../../../../code/myapp/node_modules/optimism/lib/index.js (bundle.js:174120)
   at __webpack_require__ (bundle.js:725)
   at fn (bundle.js:102)
   at Module.../../../../../../../../../code/myapp/node_modules/apollo-cache-inmemory/lib/optimism.js (bundle.js:47234)
   at __webpack_require__ (bundle.js:725)
   at fn (bundle.js:102)
   at Module.../../../../../../../../../code/myapp/node_modules/apollo-cache-inmemory/lib/readFromStore.js (bundle.js:47426)
   at __webpack_require__ (bundle.js:725)
   at fn (bundle.js:102)
   at Module.../../../../../../../../../code/myapp/node_modules/apollo-cache-inmemory/lib/inMemoryCache.js (bundle.js:46854)
   at __webpack_require__ (bundle.js:725)
   at fn (bundle.js:102)
   at Module.../../../../../../../../../code/myapp/node_modules/apollo-cache-inmemory/lib/index.js (bundle.js:47137)
   at __webpack_require__ (bundle.js:725)
   at fn (bundle.js:102)
   at Object.../../../../../../../../../code/myapp/node_modules/aws-appsync/lib/client.js (bundle.js:65093)
   at __webpack_require__ (bundle.js:725)
   at fn (bundle.js:102)
   at Object.../../../../../../../../../code/myapp/node_modules/aws-appsync/lib/index.js (bundle.js:66186)
   at __webpack_require__ (bundle.js:725)
   at fn (bundle.js:102)
   at Object.../../../../../../../../../code/myapp/node_modules/aws-appsync-react/lib/rehydrated.js (bundle.js:64799)
   at __webpack_require__ (bundle.js:725)
   at fn (bundle.js:102)
   at Object.../../../../../../../../../code/myapp/node_modules/aws-appsync-react/lib/index.js (bundle.js:64670)
   at __webpack_require__ (bundle.js:725)
   at fn (bundle.js:102)
   at Module.../../../../../../../../../code/myapp/App.js (bundle.js:824)
   at __webpack_require__ (bundle.js:725)
   at fn (bundle.js:102)
   at Module.../../../../../../../../../code/myapp/node_modules/expo/AppEntry.js (bundle.js:114414)
   at __webpack_require__ (bundle.js:725)
   at fn (bundle.js:102)
   at Object.0 (bundle.js:281583)
   at __webpack_require__ (bundle.js:725)
   at bundle.js:792
   at bundle.js:795
主要言語
JavaScript
スター
38
フォーク
3
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

benjamn/immutable-tuple のほかの issue

benjamn/immutable-tuple の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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