neon-bindings / examples-archive Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
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.
neon::vm::Lock
, e.g. mutating the contents of a binary buffer?
syntax::check<T>()?
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.