Giter Club home page Giter Club logo

Comments (6)

sharder996 avatar sharder996 commented on July 3, 2024

Hey @ssg3d, since you're on a M3 try installing 1.13.1. There were some issues with QEMU that should be fixed. It doesn't seem like that is the issue here, but it's good to try. Since you don't have any logs or error message, I can't say what this might be otherwise. I'm going to close this issue, but if you find a problem with Multipass, feel free to reopen or create a new issue.

For the record, I tried installing google-closure-compiler using on a vm with Linux host and had no issues like you described.

from multipass.

ssg3d avatar ssg3d commented on July 3, 2024

Hi @sharder996, thanks for the help.

I installed 1.13.1, but still have the same issue: calling google-closure-compiler does nothing.
Checking multipass version in Mac terminal:

me@mymachine ~ % multipass --version
multipass   1.13.1+mac
multipassd  1.13.1+mac

Also, note that while inside the ubuntu instance terminal, I installed the closure compiler using sudo npm install -g google-closure-compiler, and that my node version is v20.11.0 and npm version is 10.4.0.

from multipass.

sharder996 avatar sharder996 commented on July 3, 2024

Try sudo apt install default-jre and then try invoking google-closure-compiler.

from multipass.

sharder996 avatar sharder996 commented on July 3, 2024

I did some more investigation and a teammate found what most likely is the problem. The issue seems to be coming from the arm64 version of google-closure-compiler. Its calling java jar /usr/local/lib/node_modules/google-closure-compiler/node_modules/google-closure-compiler-java/compiler.jar and since the java runtime environment doesn't exist in the base image, nothing happens. I'd recommend filing a bug at https://github.com/google/closure-compiler-npm.

from multipass.

ssg3d avatar ssg3d commented on July 3, 2024

Thanks @sharder996 for the analysis.
Filed google/closure-compiler-npm#301.

from multipass.

ssg3d avatar ssg3d commented on July 3, 2024

Try sudo apt install default-jre and then try invoking google-closure-compiler.

Thank you @sharder996, it works after installing default-jre.

from multipass.

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.