Giter Site home page Giter Site logo

Comments (5)

edewit avatar edewit commented on May 27, 2024

This is an issue with node this is what I found on stack overflow: https://stackoverflow.com/questions/44363066/error-cannot-find-module-lib-utils-unsupported-js-while-using-ionic?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa
seems to me that setting maybe the node path might be a solution?

from minecraft-storeys-maker.

vorburger avatar vorburger commented on May 27, 2024

Curiously, I've not hit this when building it on Appuio; not sure how that's possible, but do hit it on Minishift:

oc new-build https://github.com/vorburger/s2i.git#gradle --context-dir=java/images/jboss

oc new-build s2i~https://github.com/vorburger/minecraft-storeys-maker.git

from minecraft-storeys-maker.

vorburger avatar vorburger commented on May 27, 2024

that setting maybe the node path might be a solution?

I'm not sure I understand to exactly what to set NODE_PATH to where, in our situation...

from minecraft-storeys-maker.

vorburger avatar vorburger commented on May 27, 2024

we tried to add this to .s2i/environment but this didn't help:

 NODE_PATH=/tmp/scratch/.gradle/npm/npm-v5.8.0/lib/node_modules/

from minecraft-storeys-maker.

vorburger avatar vorburger commented on May 27, 2024

Duh! This ONLY happens with:

s2i build --copy . 

but not with:

s2i build https://github.com/vorburger/minecraft-storeys-maker/

and this is because the local dir was "dirty" and contained already downloaded node_modules in x3 (!) directories - which somehow interfered with and caused this. When we clean up the local directory BEFORE s2i build --copy . like this:

rm -rf scratch/.gradle/ scratch/node_modules

then it magically works!

from minecraft-storeys-maker.

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.