Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Jeroen Vlek
    @jeroenvlek
    Good day everyone! I'm trying to build up Atlasmap as a micro-frontend in a React + single-spa + npm based micro-frontend. The build is done with webpack 4. I'm getting some dependency errors, but I have installed the missing dependencies. To keep this post brief, please see the (correctly) closed GitHub issue here: atlasmap/atlasmap#2922
    I've tried Tomohisa Igarashi's suggestion and yarn why reveals that the dep comes from storybook, which is another build tool, I presume, but it is not listed as a dep in the standalone package. Shouldn't it work by just installing @emotion/core?
    Furthermore, as a general question: Is anyone aware of someone having done something similar (i.e. micro-frontend) before? So far, the standalone doc is still on TODO.
    1 reply
    MartyStache
    @MartyStache
    hi folks...not sure what happened but I installed Java 8 fresh on both my Windows and Mac, download 2.2.2 release and cannot get the build to work. It's displaying the same behavior I experienced back awhile ago where Riccardo suggested I use 8 instead of 11 (in October of 2020).
    image.png
    I am attempting to run a fork with -X in the command line to run the .adm example test to debug.
    Tomohisa Igarashi
    @igarashitm
    hmm I don't see any clue from the screenshot, any other error message?
    MartyStache
    @MartyStache
    but i can't even get the build working...so a little frustrating... I've repeated the behavior in 3 separate environments. Using 1.8.0_271 on windows and 1.8.0_291 on mac
    Tomohisa Igarashi
    @igarashitm
    java8 build is running in GH action right now - https://github.com/atlasmap/atlasmap/runs/2794442518
    MartyStache
    @MartyStache
    see that...weird
    recommendations on where I source my jdk? I've been getting from Oracle
    which I assume s/b ok?
    Tomohisa Igarashi
    @igarashitm
    no idea, I'm on fedora33 + openjdk11 now, I think 2.2.x was java8 only IIRC
    surprising if it fails with oracle jdk tho
    MartyStache
    @MartyStache
    right...that's what I was thinking
    MartyStache
    @MartyStache
    running fork with code and resource file changes to .adm example
    how do I set debug mode for logging in workflow file?
    MartyStache
    @MartyStache
    figured that out :P just add -X to mvn clean install, running it now, should have (hopefully, some results shortly)
    MartyStache
    @MartyStache
    ran in GH, here is log:
    still cannot get build working locally
    MartyStache
    @MartyStache
    here is local build debug info...
    any help is greatly appreciated as now i'm DITW
    MartyStache
    @MartyStache
    Tomohisa Igarashi
    @igarashitm
    log says you're building atlasmap-2.2.2 with java11, which is not supported
    1 reply
    Java version: 11.0.11, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk-11.0.11.jdk/Contents/Home
    MartyStache
    @MartyStache
    ok...let me revert back and run again
    anything from the GH log on the failed test?
    MartyStache
    @MartyStache
    here's local build debug log
    with java8
    MartyStache
    @MartyStache
    and here is the build log (fail) from Windows
    MartyStache
    @MartyStache
    I thought I was nuts but it is same build error both on mac and windows:
    image.png
    [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.11.3:yarn (yarn build) on project atlasmap-ui: Failed to run task: 'yarn build:module' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.11.3:yarn (yarn build) on project atlasmap-ui: Failed to run task
    Tomohisa Igarashi
    @igarashitm
    You should see more error messages above, especially why yarn build failed
    MartyStache
    @MartyStache
    here's full log...not sure what i'm looking for
    there's a lot of 'failed' so not sure which is the right one
    Tomohisa Igarashi
    @igarashitm
    what happens if you run yarn build in ui directory?
    MartyStache
    @MartyStache
    Tomohisa Igarashi
    @igarashitm
    ah, that's too bad. it doesn't read tsconfig in the sub package. You might need linux box
    MartyStache
    @MartyStache
    ?? so we can't build atlasmap on windows or mac?
    used to work?
    fine with doing, just need to know if is now requirement
    Tomohisa Igarashi
    @igarashitm
    there's no requirement, contribution is more than welcome if you can fix the build problem on mac and windows
    the fact is that noone is chasing that problem ATM
    Tom Cunningham
    @cunningt
    @MartyStache @igarashitm Are you still seeing that build problem?
    MartyStache
    @MartyStache
    yes!
    Jeroen Vlek
    @jeroenvlek
    Well, I'm a bit further on my quest, but now stuck somewhere else. I opened a SO question, but if anyone here has a clue, I'd be most grateful: https://stackoverflow.com/questions/68007311/react-not-found-from-webpack-generated-micro-frontend