Comments (6)
The x86 build passes in my fork
https://ci.appveyor.com/project/rajendrant/fuzzaldrin-plus-fast
Could you try again.
from zadeh.
Your solution seems strange. You're using an x64 node on an x86 platform
from zadeh.
Right. Its not the right solution.
I should revert this change, and try other approaches.
from zadeh.
I updated the Appveyor job to add Node 12 and 10, and also fix the scripts since it was using the wrong scripts.
Both x64 and x86 fail now on Node 12 and 10.
npm : gyp: name 'v8_enable_pointer_compression' is not defined while evaluating condition 'v8_enable_pointer_compression == 1' in binding.gyp while trying to load binding.gyp
At line:1 char:32
+ If ($env:platform -eq "x64") { npm run native:prebuild }
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (gyp: name 'v8_e...oad binding.gyp:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
gyp
ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (C:\projects\fuzzaldrin-plus-fast-26mib\node_modules\node-gyp\lib\configure.js:351:16)
gyp ERR! stack at ChildProcess.emit (events.js:198:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\projects\\fuzzaldrin-plus-fast-26mib\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--target=14.0.0"
"--devdir=C:\\Users\\appveyor\\AppData\\Local\\Temp\\1\\prebuildify\\node" "--target_arch=x64" "--release"
gyp ERR! cwd C:\projects\fuzzaldrin-plus-fast-26mib
gyp ERR! node -v v10.22.0
gyp ERR! node-gyp -v v7.1.2
gyp ERR! not ok
node-gyp exited with 1
npm
ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] native:prebuild: `prebuildify --napi --electron-compat --strip`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] native:prebuild script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\appveyor\AppData\Roaming\npm-cache\_logs\2020-10-20T01_18_39_283Z-debug.log
Command executed with exception: npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\appveyor\AppData\Roaming\npm-cache\_logs\2020-10-20T01_18_39_283Z-debug.log
https://ci.appveyor.com/project/aminya/fuzzaldrin-plus-fast-26mib/builds/35842442
Node 14 passes:
https://ci.appveyor.com/project/aminya/fuzzaldrin-plus-fast-26mib/builds/35842442
from zadeh.
I found the reason. When we use napi
it uses the latest Node (14.0.0), so it works on Node 14. We need to use prebuild directly since prebuildify currently only builds against the latest abi:
https://github.com/prebuild/prebuildify/blob/eac4e782fb0d6109b460de6e2608012aecffadd7/index.js#L297
from zadeh.
This was fixed in 698d5e1 and 84bb4d2
from zadeh.
Related Issues (18)
- Joining atom-ide-community? HOT 11
- Higher score to filename matches
- Consecutive characters return more matches than expected
- No zadeh prebuild for darwin-arm64
- Fuzzy search inside a tree data structure
- Registering 1.0.0 HOT 1
- Writing a native `match` function HOT 1
- Support `key` option for `filter` to iterate over objects
- Make Tree an independent class
- Document setCandidates methods
- electron v9.35 HOT 1
- Add C++ interface
- Choose a better name for the library HOT 2
- Faster way to convert a Napi::Array to a vector of string
- A little slower in few of the cases in benchmark:regular HOT 9
- Cannot update to the latest version on Arch Linux HOT 15
- Explore differences between fuzzy-native HOT 1
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 zadeh.