Cannot get started in Nuxt 3
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 32/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- nuxtjs, react, typescript
調査の方向性
Start by reproducing the Nuxt 3 failure with getClient and inspect @umami/api-client/dist/cjs/index.js and its next-basics require stack. Compare the behavior with the API client requirements documentation; done means a Nuxt 3 page can load with getClient without requiring React or an undocumented dependency.
索引モデルが issue の本文から書いたものです。
説明
I was trying to use @umami/api-client in my application built with Nuxt 3 but I cannot even get started with getClient. The page won't load correctly if I called getClient somewhere. Deleting the calls will bring the page back.
What Nuxt gave me after I added the getClient call and reloaded the page:
Cannot find module 'react'
Require stack:
- node_modules/.store/[email protected]/node_modules/next-basics/dist/cjs/index.js
- node_modules/.store/@[email protected]/node_modules/@umami/api-client/dist/cjs/index.js"
at Function._resolveFilename (node:internal/modules/cjs/loader:1225:15)
at Function._load (node:internal/modules/cjs/loader:1051:27)
at Module.require (node:internal/modules/cjs/loader:1311:19)
at require (node:internal/modules/helpers:179:18)
at Object.<anonymous> (./node_modules/.store/[email protected]/node_modules/next-basics/dist/cjs/index.js:1:75)
at Module._compile (node:internal/modules/cjs/loader:1469:14)
at Object..js (node:internal/modules/cjs/loader:1548:10)
at Module.load (node:internal/modules/cjs/loader:1288:32)
at Function._load (node:internal/modules/cjs/loader:1104:12)
at Module.require (node:internal/modules/cjs/loader:1311:19)
I can't figured out why it's related to React, and the problem won't go away even if I installed react@latest as dependency (this sounds not right though). The Requirements in the doc only points out that >= 18.18 Node.js environment should be present. I didn't seem to find anything to do with React.
Anybody can help?
- 主要言語
- TypeScript
- スター
- 47
- フォーク
- 18
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
umami-software/api-client のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
umami-software/api-client#11 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
umami-software/api-client#26 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 32/100
umami-software/api-client#25 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
umami-software/api-client#24 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 28/100
umami-software/api-client#17 · コメント 2 件 ·
umami-software/api-client の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
jbacalso24/mimry#459 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
architecture help wanted hive/claimed-by-architect origin/architect stage/030-pr-in-progress tech-debt
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
kubestellar/console#24422 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area: backends type: docs
難易度 1/5 1〜3時間 初心者へのやさしさ 83/100
schlessera/brain-kit#2383 ·
メンテナーはふだん 1 日以内に返信
-
agent duplicate providers tool triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信