Git Product home page Git Product logo

node_on_nashorn's Introduction

Node on Nashorn

This is an experiment with running a node app on the JVM.

Dependencies

Java 9 is assumed here because it's needed for ES6 support as well as supplying the jjs command.

Current status:

This experiment is a little incomplete because I'm running into the following error:

[mike@longshot api]$ yarn build
yarn build v1.0.2
$ ./node_modules/webpack/bin/webpack.js
Hash: 59ffc0861ed733bfdf96
Version: webpack 3.6.0
Time: 261ms
    Asset     Size  Chunks             Chunk Names
bundle.js  2.97 kB       0  [emitted]  main
   [0] ./index.js 377 bytes {0} [built]
    + 1 hidden module
Done in 0.74s.
[mike@longshot api]$ yarn start
yarn start v1.0.2
$ jjs --language=es6 -DNODESCHNAPS_PATH=./node_modules/nodeschnaps/lib/ ./nashorn.js
./node_modules/nodeschnaps/loader.js:374 TypeError: JavaFile is not a function
error Command failed with exit code 102.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

node_on_nashorn's People

Contributors

sleepycat avatar

Watchers

 avatar James Cloos avatar

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.