Git Product home page Git Product logo

Comments (6)

vonox7 avatar vonox7 commented on May 30, 2024 3

For clarification of the workaround:

  1. Replace in frontend/build/package.json the 3 version definitions of kotlin/kotlin-test-js/kotlin-html-js with "file:./node_modules/kotlin"
  2. Run in directory frontend/build npm install

from kotlin-frontend-plugin.

roxrook avatar roxrook commented on May 30, 2024

@vonox7 The /frontend/build directory get generated each time I run gradle, and those values get back to their default values. Any suggestion?

from kotlin-frontend-plugin.

vonox7 avatar vonox7 commented on May 30, 2024

@channguyen Do you run just the frontend run task or more?

from kotlin-frontend-plugin.

nlwillia avatar nlwillia commented on May 30, 2024

Note that on Windows, it's backslashes (ugh).

    "dependencies": {
        ...
        "kotlin": "file:.\\node_modules\\kotlin",
        "kotlin-test-js": "file:.\\node_modules\\kotlin-test-js",
        "kotlinx-html-js": "file:.\\node_modules\\kotlinx-html-js"
    },

from kotlin-frontend-plugin.

cy6erGn0m avatar cy6erGn0m commented on May 30, 2024

In 0.0.20 it should be fixed.

Also there is a workaround: you can specify nodejs version

kotlinFrontend {
    downloadNodeJsVersion = "7.9.0"

Note that specifying nodejs version it will cause bundle downloading at first run

from kotlin-frontend-plugin.

mikhalchenko-alexander avatar mikhalchenko-alexander commented on May 30, 2024

Yes, the plugin v0.0.20 is working as expected with the latest Node v8.2.1 and NPM v5.3.0. Thanks.

from kotlin-frontend-plugin.

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.