GithubHelp home page GithubHelp logo

Comments (4)

kjvalencik avatar kjvalencik commented on September 14, 2024 1

This example needs to be updated. Please try this https://github.com/neon-bindings/neon/tree/master/test/electron

from examples.

usagi avatar usagi commented on September 14, 2024 1

Is it solved? 🎉 At least for me, I can build and run in expectedly just now!

Screenshot of Windows:

image

Screenshot of Arch Linux(WSL2):

image


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.

NetOpWibby avatar NetOpWibby commented on September 14, 2024

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.

amilajack avatar amilajack commented on September 14, 2024

Users are expected to start the electron example with the "start" npm script

from examples.

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.