Git Product home page Git Product logo

Comments (10)

gardner avatar gardner commented on May 5, 2024

Your's looks like a different problem but currently N1 is only building against node v0.10.x. Maybe give that a try?

from nylas-mail.

jan509 avatar jan509 commented on May 5, 2024

Error: Building for win32 with architecture x64. Are you sure you meant to do this?
should explain this. You said you run Win8.1 with 64-bit (which is x64), somebody should try this on a 32-bit Windows.

from nylas-mail.

iamchathu avatar iamchathu commented on May 5, 2024

I'm using Win8.1 64bt.I installed dependancies and then ran build.cmd in scripts folder.

Do you mean this is only working in win 32bit?

from nylas-mail.

jan509 avatar jan509 commented on May 5, 2024

@iamchathu Thats not the point, I mean Win32 is the 32-bit API for Windows so it should work with a 32-bit Windows.

from nylas-mail.

bengotow avatar bengotow commented on May 5, 2024

Hi folks—I'm the author of that not-very-helpful error in script/bootstrap.

Earlier this year, there was only a 32-bit version of Electron for Windows. We put in that check to ensure that our CI server never got moved to a 64-bit box, since it would compile sqlite in 64-bit and we'd be loading it into a 32-bit version of NodeJS.

This is no longer the case — Electron became available for 64-bit Windows in April (electron/electron#980). Would love to know if you're able to remove that warning and build the whole thing for 64-bit Windows.

from nylas-mail.

jan509 avatar jan509 commented on May 5, 2024

So I removed the warning, but not I get an error when it tries to install node-gyp

---> Installing apm
     This installs apm via N1's `npm`
     We use this local apm copy to install all N1 dependencies & packages

     $ C:\Users\Jan\Documents\Test\N1\build\node_modules\.bin\npm --userconfig=C:\Users\Jan\Documents\Test\N1\.npmrc install --loglevel error --cwd=C:\Users\Jan\Documents\Test\N1\apm --ignoreStdout=true

child_process: customFds option is deprecated, use stdio instead.
child_process: customFds option is deprecated, use stdio instead.
gyp ERR! build error
gyp ERR! stack Error: `msbuild` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Users\Jan\Documents\Test\N1\build\node_modules\npm\node_modules\node-gyp\lib\build.js:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1067:12)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "node" "C:\\Users\\Jan\\Documents\\Test\\N1\\build\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Jan\Documents\Test\N1\apm\node_modules\atom-package-manager\node_modules\first-mate\node_modules\oniguruma
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok
child_process: customFds option is deprecated, use stdio instead.
gyp ERR! build error
gyp ERR! stack Error: `msbuild` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Users\Jan\Documents\Test\N1\build\node_modules\npm\node_modules\node-gyp\lib\build.js:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1067:12)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "node" "C:\\Users\\Jan\\Documents\\Test\\N1\\build\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Jan\Documents\Test\N1\apm\node_modules\atom-package-manager\node_modules\git-utils
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the oniguruma package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls oniguruma
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.3.9600
npm ERR! command "node" "C:\\Users\\Jan\\Documents\\Test\\N1\\build\\node_modules\\npm\\bin\\npm-cli.js" "--userconfig=C:\\Users\\Jan\\Documents\\Test\\N1\\.npmrc" "install" "--loglevel" "error"
npm ERR! cwd C:\Users\Jan\Documents\Test\N1\apm
npm ERR! node -v v0.12.0
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0

I looked up this in the web uninstalled Visual C++ 2010 Redist installed Win7.1 SDK etc. but got this error, it says it fails on node-gyp rebuild. Can anyone of you tell me how to fix this?

from nylas-mail.

iamchathu avatar iamchathu commented on May 5, 2024

@bengotow I would like help to test this.How would i change script/bootstrap to support Win64

from nylas-mail.

jan509 avatar jan509 commented on May 5, 2024

@iamchathu Try this one: https://github.com/solnj/N1, removed it in the last commit.

from nylas-mail.

iamchathu avatar iamchathu commented on May 5, 2024

I think now it's a error in some configuration. Am i missed something?

Node: v0.12.7
npm: v2.11.3
Python: v2.7.9

---> Installing N1 build tools
     This goes inside the `build` folder and runs `npm install`
     It will use the system `npm` to bootstrap our own N1 npm.
     Our build tools (like Grunt) need to be compiled against Node via `npm`.
     Everything else needs to be compiled against Chromium with `apm`.

     $ npm --userconfig=F:\GitHub\N1\.npmrc install --loglevel error --cwd=F:\G
tHub\N1\build --ignoreStdout=true



---> Installing apm
     This installs apm via N1's `npm`
     We use this local apm copy to install all N1 dependencies & packages

     $ F:\GitHub\N1\build\node_modules\.bin\npm --userconfig=F:\GitHub\N1\.npmr
 install --loglevel error --cwd=F:\GitHub\N1\apm --ignoreStdout=true

child_process: customFds option is deprecated, use stdio instead.
child_process: customFds option is deprecated, use stdio instead.
child_process: customFds option is deprecated, use stdio instead.


---> Cleaning apm via `apm clean`


F:\GitHub\N1\apm\node_modules\atom-package-manager\lib\auth.js:14
      throw error;
            ^
Error: The specified procedure could not be found.

F:\GitHub\N1\apm\node_modules\atom-package-manager\node_modules\keytar\build\Re
ease\keytar.node
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (F:\GitHub\N1\apm\node_modules\atom-package-manager\n
de_modules\keytar\lib\keytar.js:4:12)
    at Object.<anonymous> (F:\GitHub\N1\apm\node_modules\atom-package-manager\n
de_modules\keytar\lib\keytar.js:58:4)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)

from nylas-mail.

jan509 avatar jan509 commented on May 5, 2024
F:\GitHub\N1\apm\node_modules\atom-package-manager\lib\auth.js:14
      throw error;
            ^
Error: The specified procedure could not be found.

Should be a problem of apm not of N1. I think its because you are using node 0.12, regarding to this you'll need node 0.10 because of apm.

from nylas-mail.

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.