Coder Social home page Coder Social logo

Appveyor x86 fails about zadeh HOT 6 CLOSED

atom-community avatar atom-community commented on September 25, 2024
Appveyor x86 fails

from zadeh.

Comments (6)

rajendrant avatar rajendrant commented on September 25, 2024

The x86 build passes in my fork
https://ci.appveyor.com/project/rajendrant/fuzzaldrin-plus-fast

Could you try again.

from zadeh.

aminya avatar aminya commented on September 25, 2024

Your solution seems strange. You're using an x64 node on an x86 platform

from zadeh.

rajendrant avatar rajendrant commented on September 25, 2024

Right. Its not the right solution.
I should revert this change, and try other approaches.

from zadeh.

aminya avatar aminya commented on September 25, 2024

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.

aminya avatar aminya commented on September 25, 2024

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.

aminya avatar aminya commented on September 25, 2024

This was fixed in 698d5e1 and 84bb4d2

from zadeh.

Related Issues (18)

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.