Can't use package with esm compilation
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 35/100
- Issue 類型
- 缺陷
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- firebase, typescript
- 領域
- mobile
研究方向
重現 issue 中顯示的 ESM import,然後檢查 @nativescript/firebase-core 的 package.json 進入點欄位,以找出無法解析該套件的原因。使用 ESM 編譯進行 import 時套件能夠成功解析,即表示完成。
由索引模型根據 Issue 內容生成。
描述
I am getting the following error when using this package.
Failed to resolve entry for package "@nativescript/firebase-core". The package may have incorrect main/module/exports specified in its package.json.
Am I importing it wrongly? Please advise.
import { firebase } from '@nativescript/firebase-core'
- 主要語言
- TypeScript
- 星號
- 62
- 分支
- 53
- 平均合併
- 7 分鐘
- 30 天內合併 PR
- 1
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
NativeScript/firebase 的其他 Issue
-
難度 3/5 1-2 天 新手友好度 48/100
NativeScript/firebase#292 ·
-
難度 3/5 1-2 天 新手友好度 35/100
NativeScript/firebase#289 ·
-
難度 4/5 3-5 天 新手友好度 35/100
NativeScript/firebase#288 · 4 個 reaction ·
-
[messaging-core][ios] getCurrentToken stalls可能重新可做 @triniwiz 於 189 天前認領,目前沒有進行中的 PR。 未關閉bug ios
NativeScript/firebase#287 · 已指派 1 人 ·
-
Uh-Oh Shazam未關閉
難度 4/5 3-5 天 新手友好度 20/100
NativeScript/firebase#286 ·
查看 NativeScript/firebase 的全部 Issue
相似的 Issue
-
fix(data-lake): wizard source step still previews the local slug, not the server-disambiguated one未關閉data-lake
難度 2/5 1-3 小時 新手友好度 82/100
維護者通常 1 天內回覆
-
enhancement good first issue priority: low size: XS
難度 2/5 1-3 小時 新手友好度 82/100
維護者通常 1 天內回覆
-
難度 1/5 1-3 小時 新手友好度 88/100
-
bug ios mobile priority:P1
難度 2/5 1-3 小時 新手友好度 76/100
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 90/100
streamplace/streamplace#1351 ·
維護者通常 2 天內回覆