Giter Site home page Giter Site logo

Comments (7)

tianzige666 avatar tianzige666 commented on May 27, 2024

@belemaire
When i run "ern create-composite", i got this error:
"An error occurred: At least one MiniApp or JS API implementation is needed to generate a composite"

from electrode-native.

tianzige666 avatar tianzige666 commented on May 27, 2024

i want to build a aar module

from electrode-native.

leekuo avatar leekuo commented on May 27, 2024

Hi @crazySadSoul try this command to create a container:
ern create-container --miniapps /absolute/path/to/miniapp_directory --platform ios|android
for composites you may want to try this one:
ern create-composite -m /absolute/path/to/miniapp1_directory /absolute/path/to/miniapp2_directory

Let me know if that helps or not.

from electrode-native.

tianzige666 avatar tianzige666 commented on May 27, 2024

Hi @crazySadSoul try this command to create a container: ern create-container --miniapps /absolute/path/to/miniapp_directory --platform ios|android for composites you may want to try this one: ern create-composite -m /absolute/path/to/miniapp1_directory /absolute/path/to/miniapp2_directory

Let me know if that helps or not.

It work for me! Thank you!
But i cant find aar module in the generated directory.

image

from electrode-native.

leekuo avatar leekuo commented on May 27, 2024

It work for me! Thank you! But i cant find aar module in the generated directory.

image

@crazySadSoul Try running the publish container to your local Maven repository, for example:
ern publish-container -p maven --platform android -e '{"groupId":"com.walmart.ern","artifactId":"quickstart"}'

Then look inside your $HOME/.m2 folder and locate the generated AAR artifact there.

from electrode-native.

tianzige666 avatar tianzige666 commented on May 27, 2024

@leekuo its successful to generated aar module. 👍

from electrode-native.

leekuo avatar leekuo commented on May 27, 2024

That is awesome, great to hear!

from electrode-native.

Related Issues (20)

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.