Giter Site home page Giter Site logo

examples-archive's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

examples-archive's Issues

suggested examples for contribution

Here's a list of some single-serving examples that would make for great PRs. If you're interested in contributing one, just put "๐Ÿ”’ @Yourusername" next to the item in the list. Once you have a PR open, add a link next to that, too.

  • populate a JsBuffer - ๐Ÿ”’ @dherman
  • same but for JsArrayBuffer
  • nested scopes
  • uses of neon::vm::Lock, e.g. mutating the contents of a binary buffer
  • doing simple parallel computation with Rayon
  • propagating exceptions with ? syntax
  • defining classes
  • type testing and downcasting with ::check<T>()?

simple-app / neon-bindings only works through electron version 1.6.2 on windows

I couldn't get electron to work with neon-bindings at all, except for the sample-app example, and finally figured out that the simple-app example itself will not work for any version of Electron greater than 1.6.2 (the currently specified version in the package.json file). The most recent version it works with is 1.6.17, and the highest is 1.6.2. I'm not sure if this is only the case in Windows.

If I substitute any later version of electron into the simple-app package.json, I get an error like the following:

Error: The module '\\?\C:\examples\guides\electron-apps\simple-app\node_modules\neon-hello\native\index.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 53. This version of Node.js requires
NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:172:20)
    at Object.Module._extensions..node (module.js:598:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:172:20)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3)
    at Module.require (module.js:513:17)
    at require (internal/module.js:11:18)
    at Object. (C:\examples\guides\electron-apps\simple-app\node_modules\neon-hello\lib\index.js:1:168)
    at Object. (C:\examples\guides\electron-apps\simple-app\node_modules\neon-hello\lib\index.js:5:3)
error: The module '\\?\C:\examples\guides\electron-apps\simple-app\node_modules\neon-hello\native\index.node'was compiled against a different Node.js version usingNODE_MODULE_VERSION 53. This version of Node.js requiresNODE_MODULE_VERSION 57. Please try re-compiling or re-installingthe module (for instance, using `npm rebuild` or `npm install`).    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:172:20)    at Object.Module._extensions..node (module.js:598:18)    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:172:20)    at Module.load (module.js:503:32)    at tryModuleLoad (module.js:466:12)    at Function.Module._load (module.js:458:3)    at Module.require (module.js:513:17)    at require (internal/module.js:11:18)    at Object. (C:\examples\guides\electron-apps\simple-app\node_modules\neon-hello\lib\index.js:1:168)    at Object. (C:\examples\guides\electron-apps\simple-app\node_modules\neon-hello\lib\index.js:5:3)

With version 57 being the same or lower depending on the Electron build specified.

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.