2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

[解決済エラー]nativebase 2.13.12 にて Module not found: Can't resolve

Last updated at Posted at 2020-04-12

Nativebase公式ドキュメント(Quick Setup)

ここに書いてある公式ドキュメントの手順でパッケージを導入したら

node_modules/native-base/dist/src/basic/IconNB.js
Module not found: Can't resolve '@expo/vector-icons/Fontisto' in 'node_modules\native-base\dist\src\basic'

エラーを吐かれた。

error on nativebase 2.13.12 and expo 36.0.0 (REACT-NATIVE)

適当に調べてたらGithub issues にて議論されていました。どうやらnativebaseのバージョンを「2.13.12」から「2.13.8」にダウングレードしてバージョンを固定するとエラーが吐かれなくなるみたいです。早く修正されるといいですね。

npm i --save-exact native-base@2.13.8
2
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?