Open magaman384 opened 4 years ago
I have the same issue.
Is anyone working on fixing this already? Just wondering... We're dead in the water here and can't even start to use Bower because of it.
I found a work around. Since i use web part only for quick testing or debugging. I did the following to atleast run the app successfully on web.
Created a copy of reactotron.ts, named it reactotron.web.ts
Commented out the following section // hookup middleware if (this.config.useAsyncStorage) { Tron.setAsyncStorageHandler(AsyncStorage) } Tron.useReactNative({ asyncStorage: this.config.useAsyncStorage ? undefined : false, })
Today I get the same issue, anyone, here who solved the issue?
I solved it.
First. you have to install "reactotron-react-js". Second. copy reactotron.ts to reactotron.web.ts and fix it to above comment by @mariasamuel . And fix import file "reactotron-react-native" to "reactotron-react-js" just like this
//import Tron from "reactotron-react-native"
import Tron from "reactotron-react-js"
maybe it will be work
It works here. Thank @s-kuniyoshi.
works for me too! Then i run into an error with the logo not loading... it's because on the web it doesn't play nice with logo-ignite@1x.png / logo-ignite@2x.png being referenced as just logo-ignite.png... so just copy logo-ignite@2x.png to logo-ignite.png and then it loads. :)
works for me too! Then i run into an error with the logo not loading... it's because on the web it doesn't play nice with logo-ignite@1x.png / logo-ignite@2x.png being referenced as just logo-ignite.png... so just copy logo-ignite@2x.png to logo-ignite.png and then it loads. :)
@lanman2000 could you please explain what you mean by "just copy logo-ignite@2x.png to logo-ignite.png and then it loads." running into the same issue but don't know how to resolve it
Isn't there any fix for those who want to generate all three platforms (web, android, ios) from the same source code?
I solved it.
First. you have to install "reactotron-react-js". Second. copy reactotron.ts to reactotron.web.ts and fix it to above comment by @mariasamuel . And fix import file "reactotron-react-native" to "reactotron-react-js" just like this
//import Tron from "reactotron-react-native" import Tron from "reactotron-react-js"
maybe it will be work
Which reactotron.ts file do you mean?
I have generated a new app using Ignite and Expo. After trying to compile it for web, it has failed with:
Versions used: