Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change package.json generation script #95

Open
wants to merge 2 commits into
base: master
from
Open

Conversation

@Lee182
Copy link

Lee182 commented May 7, 2020

I was running into an issue installing with windows 10, git-bash shell, and pnpm which uses symlinks.
Reading up on the error and neon-cli. I think falling a build locally it will download and use the binary on github, though reading the guide it seems some github personal access token could be setup.

I'm using this local version on my machine. Just thought it could help others who run into the same issue.

https://neon-bindings.com/docs/publishing#1-upload-and-downloading-native-compiled-modules

node_modules/.pnpm/registry.npmjs.org/adblock-rs/0.2.9/node_modules/adblock-rs: Runnnode_modules/.pnpm/registry.npmjs.org/adblock-rs/0.2.9/node_modules/adblock-rs: Running install script, failed in 2s
.../0.2.9/node_modules/adblock-rs install$ neon build --release
│ neon info forcing rebuild for new build settings
│ neon info running cargo
│    Compiling cfg-if v0.1.10
│    Compiling smallvec v0.6.9
│    Compiling matches v0.1.8
│    Compiling siphasher v0.2.3
│    Compiling rustc-demangle v0.1.13
│    Compiling stable_deref_trait v1.1.1
│    Compiling ucd-util v0.1.3
│    Compiling lazy_static v1.4.0
│    Compiling dtoa v0.4.5
│    Compiling utf8-ranges v1.0.2
│ error: could not parse/generate dep info at: C:\Jono\Code\git--run\example-brows
│ Caused by:
│   failed to write `C:\Jono\Code\git--run\example-browsers\taiko\node_modules\.pn
│ Caused by:
│   The system cannot find the path specified. (os error 3)
│ warning: build failed, waiting for other jobs to finish...
│ error: build failed
│ neon ERR! cargo build failed
│ Error: cargo build failed
│     at Target.<anonymous> (C:\Jono\Code\git--run\example-browsers\taiko\node_mod
│     at step (C:\Jono\Code\git--run\example-browsers\taiko\node_modules\.pnpm\reg
│     at Object.next (C:\Jono\Code\git--run\example-browsers\taiko\node_modules\.p
│     at fulfilled (C:\Jono\Code\git--run\example-browsers\taiko\node_modules\.pnp
│     at processTicksAndRejections (internal/process/task_queues.js:97:5)
└─ Failed in 2s
 ERROR  Command failed with exit code 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant
You can’t perform that action at this time.