Git Product home page Git Product logo

re-natal's People

Contributors

cldwalker avatar dmotz avatar drapanjanas avatar dvcrn avatar gtdev87 avatar maacl avatar marxama avatar seantempesta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

re-natal's Issues

Got error when update the re-natal dependency to 0.8.0 version.

I test the re-natal and the dependency re-frame is 0.8.0-alpha9. It works okay.

And I try to change to re-frame 0.8.0.

When test in android avd, it got this error:

console.error: "goog.require could not find: re_frame.registrar"

error

    YellowBox.js:60

customEval

    figwheel-bridge.js:75

<unknown>

    figwheel-bridge.js:88

<unknown>

    JSTimers.js:47

callTimer

    JSTimersExecution.js:84

<unknown>

    JSTimersExecution.js:119

callTimers

    JSTimersExecution.js:119

__callFunction

    MessageQueue.js:204

<unknown>

    MessageQueue.js:95

guard

    MessageQueue.js:41

callFunctionReturnFlushedQueue

    MessageQueue.js:94

How to set the iOS identifier

I try the react-native run-ios, and got this error:

Unexpected identifier 'GET'

customEval
figwheel-bridge.js:75

But the react-native run-android works ok.

So I think it is because of the iOS identifier setting. How to set it?

Why can not require external React Native Components?

I try to import react-native-map, even use lein prod-build and react-native run-android, I got this error:

Requiring unknown module "react-native-map/MapView".If you are sure the module is there, try restarting the packager or running "npm install".
unknownModuleError
    require.js:147
loadModuleImplementation
    require.js:88
guardedLoadModule
    require.js:65

And my code is:

(def google-map (js/require "react-native-map/MapView"))

And also I tried this:

(def google-map (js/require "react-native-map"))
(def google-map-view (r/adapt-react-class (.-MapView google-map)))

I have checked these:

  • There is dependencies in package.json and I had run npm install already.
  • There is modules in .re-natal already.
  "dependencies": {
    "react": "15.2.1",
    "react-native": "0.31.0",
    "react-native-maps": "^0.7.1"
  },
  "modules": [
    "react-native-map"
  ],

And I check the index.android.js is like this:

var modules={'react-native': require('react-native'), 'react': require('react')};modules['react-native-map']=require('react-native-map');modules['./images/z3d.png']=require('./images/z3d.png');
require('figwheel-bridge').withModules(modules).start('MyApp','android','10.0.2.2');

They are not work, any ideas?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.