Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upthe Haste package 'react-native-vector-icons' #630
Comments
This comment has been minimized.
This comment has been minimized.
tysoncadenhead
commented
Jan 17, 2018
I'm seeing this too as of today. It appears to be a new issue.
|
This comment has been minimized.
This comment has been minimized.
mars-lan
commented
Jan 17, 2018
Same as #626? |
This comment has been minimized.
This comment has been minimized.
I found the solution.Delete this file. |
This comment has been minimized.
This comment has been minimized.
callagga
commented
Jan 17, 2018
I am see this too. @junge68 - what would you need to clean/reset/etc to try your suggestion? I renamed the file and did a yarn cache clean, but this didn't help...
|
This comment has been minimized.
This comment has been minimized.
callagga
commented
Jan 17, 2018
update: tried again and worked (I think doing the cache cleans etc may have put the file back perhaps?) |
This comment has been minimized.
This comment has been minimized.
Torgian
commented
Jan 19, 2018
•
Also ran into this problem today. Same exact error. Update: I deleted the JSON file at node_modules/react-native/local-cli/core/fixtures/files/package.json and restarted my project server. Works fine now. However, I think the core issue is in the core code. Apparently this may be a bigger issue. |
This comment has been minimized.
This comment has been minimized.
fithaN
commented
Jan 22, 2018
Facing same issue deleting node_modules/react-native/local-cli/core/fixtures/files/package.json doesnt help.any other solution? |
This comment has been minimized.
This comment has been minimized.
mtt87
commented
Jan 22, 2018
With the latest RN version |
This comment has been minimized.
This comment has been minimized.
wvicioso
commented
Jan 23, 2018
Lets get this change merged!!! |
This comment has been minimized.
This comment has been minimized.
ccjeaty
commented
Jan 24, 2018
|
This comment has been minimized.
This comment has been minimized.
Yandamuri
commented
Jan 25, 2018
@ccjeaty is it good practice or permanent solution to this issue? Will be there be any further conflicts if proceed to do so? |
This comment has been minimized.
This comment has been minimized.
jdnichollsc
commented
Jan 25, 2018
it's a bad practice, it's only a temporal solution... |
This comment has been minimized.
This comment has been minimized.
Yandamuri
commented
Jan 25, 2018
@jdnichollsc Thank you. Could you suggest any solution for this? |
This comment has been minimized.
This comment has been minimized.
ShooterArk
commented
Jan 25, 2018
Deleting that package.json did fix my issue but I didnt like this solution since I will have to delete it everytime I face such issue.. But anyhow thanks guys, it took me 4 hours to find this solution :P .. |
This comment has been minimized.
This comment has been minimized.
jdnichollsc
commented
Jan 25, 2018
@Yandamuri sorry, I'm learning React Native, I don't know for the moment |
This comment has been minimized.
This comment has been minimized.
evanjmg
commented
Jan 29, 2018
This needs to be fixed properly, this is a critical issue +1. |
Yandamuri
referenced this issue
Jan 30, 2018
Closed
Unable to resolve module 'react-native-vector-icons/FontAwesome' #544
This comment has been minimized.
This comment has been minimized.
fungilation
commented
Jan 31, 2018
I'm seeing this from metro-bundler:
Similar to what others are seeing. I haven't touched or upgraded anything in |
This comment has been minimized.
This comment has been minimized.
fungilation
commented
Jan 31, 2018
#630 (comment) 's solution works but obviously addressing the symptom, not the cause. This should be filed upstream to react-native? I'm not even sure how to file when it's not consistently reproducible, other than my last comment? |
This comment has been minimized.
This comment has been minimized.
Dup of #626 |
This comment has been minimized.
This comment has been minimized.
jasonc1025
commented
Feb 3, 2018
Thanks @MoOx for the helpful summary. :) |
This comment has been minimized.
This comment has been minimized.
Yandamuri
commented
Feb 3, 2018
•
is it permanent fix? |
This comment has been minimized.
This comment has been minimized.
SridharAlagirisamy
commented
Feb 7, 2018
@mtt87 Thanks it worked for me. |
This comment has been minimized.
This comment has been minimized.
@Yandamuri yes it will. Nothing is wrong in this package. It's RN repo that contains the name of this package (and it should not). |
MoOx
closed this
Feb 8, 2018
MoOx
added
duplicate
wontfix
labels
Feb 8, 2018
BricePissard
referenced this issue
Feb 9, 2018
Closed
TypeError - no implicit conversion of Array into String #7421
jeanlauliac
referenced this issue
Feb 19, 2018
Open
Metro 0.25+ is resolving package.json within react-native/.../__fixtures__ directory #139
This comment has been minimized.
This comment has been minimized.
trinadhkoya
commented
Feb 20, 2018
thanks @mtt87 .It works like a charm |
added a commit
to Christianq010/react-native-guide-my-app
that referenced
this issue
May 16, 2018
This comment has been minimized.
This comment has been minimized.
joshuapinter
commented
Jun 18, 2018
•
Correction: This is fixed in Version 0.54.4 of React Native 4 months later and this still isn't fixed in React Native 0.53.3. Quick fix as others point out is to run So, to run this automatically, you can add it to your package.json "scripts": {
"postinstall": "rm ./node_modules/react-native/local-cli/core/__fixtures__/files/package.json"
} |
This comment has been minimized.
This comment has been minimized.
fungilation
commented
Jun 19, 2018
Yup, fine with me on RN 0.54.4 |
yashchks87
referenced this issue
Oct 4, 2018
Closed
`rm node_modules/react-native/local-cli/core/__fixtures__/files/package.json` worked for me. #860
This comment has been minimized.
This comment has been minimized.
13ArturBruno
commented
Oct 5, 2018
I delete this file but error continued. :c |
This comment has been minimized.
This comment has been minimized.
paalex
commented
Nov 2, 2018
@13ArturBruno if on RN0.52+ you need ``rm node_modules/react-native/local-cli/core/fixtures/files/package.json` |
junge68 commentedJan 17, 2018
error: bundling failed: Error: While resolving module
react-native-vector-icons /Ionicons
, the Haste packagereact-native-vector-icons
was found. However themodule
Ionicons
could not be found within the package.