Comments (4)
This example needs to be updated. Please try this https://github.com/neon-bindings/neon/tree/master/test/electron
from examples.
Is it solved? 🎉 At least for me, I can build and run in expectedly just now!
Screenshot of Windows:
Screenshot of Arch Linux(WSL2):
But, it should be appear like the @adityapk00 's screenshot if you run electron .
in the shell directly without npm start
or yarn start
.
from examples.
Here in February 2020, this example still doesn't work.
error: failed to run custom build command for `neon-runtime v0.1.23`
Caused by:
process didn't exit successfully: `/~/Downloads/examples-master/electron-app/node_modules/neon-hello/native/target/release/build/neon-runtime-03dcae148e2736ef/build-script-build` (exit code: 101)
--- stdout
Skipping node-gyp installation as part of npm install.
up to date in 0.928s
# stuff
--- stderr
thread 'main' panicked at '
Internal error occurred: Command "ar" "crs" "/~/Downloads/examples-master/electron-app/node_modules/neon-hello/native/target/release/build/neon-runtime-2f7929a2bc05ccb8/out/libneon.a" "build/Release/obj.target/neon/src/neon.o" with args "ar" did not execute successfully (status code exit code: 1).
', /~/.cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.3.55/src/lib.rs:1672:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
neon ERR! cargo build failed
Error: cargo build failed
at Target.<anonymous> (/~/Downloads/examples-master/electron-app/node_modules/neon-hello/node_modules/neon-cli/lib/target.js:124:35)
at step (/~/Downloads/examples-master/electron-app/node_modules/neon-hello/node_modules/neon-cli/lib/target.js:32:23)
at Object.next (/~/Downloads/examples-master/electron-app/node_modules/neon-hello/node_modules/neon-cli/lib/target.js:13:53)
at fulfilled (/~/Downloads/examples-master/electron-app/node_modules/neon-hello/node_modules/neon-cli/lib/target.js:4:58)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
from examples.
Users are expected to start the electron example with the "start"
npm script
from examples.
Related Issues (20)
- Can the Function persist ? HOT 3
- Async error not working HOT 1
- Fix the broken explains in `Setup` section of `README.md` HOT 3
- Make it more understandable: primitives HOT 2
- Fix the `README.md` ( or the `package.json` ) of the `electron-app`; The explained script `build` is not defined in the `package.json`
- electron-example fails on npm run build HOT 5
- Error on Yarn Build HOT 3
- failed to run custom build command for `neon-sys v0.3.3` HOT 2
- Request: Example of database connection in Rust HOT 3
- [Bug] Cannot read the field of initialized class HOT 2
- Async SQLite example: Implement Drop trait for Database struct HOT 1
- Apple M1 issue HOT 2
- Update streaming example to use stable release
- Did not copy "cdylib:my-dependency" HOT 1
- Question: how async function HOT 4
- Question: How to detect primitive type? HOT 1
- Generated index.node file size is huge, could it be compressed? HOT 1
- Can't run tokio-fetch example HOT 1
- Add examples for making Tokio async await calls HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from examples.