Build error when installing bip32 on Azure node.js service









up vote
0
down vote

favorite












I'm trying to deploy a node.js app on Azure. Simply moving the node-modules from my mac and running the url results in



Error: \?D:homesitewwwrootnode_modulesscryptbuildReleasescrypt.node is not a valid Win32 application.


So I decided to install the nodules directly on the machine. I ssh'd to it and started installing packages. A couple worked well but when attempting to install bip32 it fails with the following stack.



Any ideas?



D:homesitewwwroot
gyp ERR! build error
gyp ERR! stack Error: `msbuild` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (D:Program Files (x86)npm6.1.0node_modulesnpmnode_modulesnode-gyplibbuild.js:258:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)
gyp ERR! System Windows_NT 10.0.14393
gyp ERR! command "D:\Program Files (x86)\nodejs\10.6.0\node.exe" "D:\Program Files (x86)\npm\6.1.0\node_modules\npm\node_modules\node-
gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd D:homesitewwwrootnode_modulestiny-secp256k1
gyp ERR! node -v v10.6.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN Invalid version: "0.2"
npm WARN wwwroot No description
npm WARN wwwroot No repository field.
npm WARN wwwroot No README data
npm WARN wwwroot No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! tiny-secp256k1@1.0.1 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the tiny-secp256k1@1.0.1 install 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! D:localAppDatanpm-cache_logs2018-11-11T12_02_52_844Z-debug.log









share|improve this question

























    up vote
    0
    down vote

    favorite












    I'm trying to deploy a node.js app on Azure. Simply moving the node-modules from my mac and running the url results in



    Error: \?D:homesitewwwrootnode_modulesscryptbuildReleasescrypt.node is not a valid Win32 application.


    So I decided to install the nodules directly on the machine. I ssh'd to it and started installing packages. A couple worked well but when attempting to install bip32 it fails with the following stack.



    Any ideas?



    D:homesitewwwroot
    gyp ERR! build error
    gyp ERR! stack Error: `msbuild` failed with exit code: 1
    gyp ERR! stack at ChildProcess.onExit (D:Program Files (x86)npm6.1.0node_modulesnpmnode_modulesnode-gyplibbuild.js:258:23)
    gyp ERR! stack at ChildProcess.emit (events.js:182:13)
    gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)
    gyp ERR! System Windows_NT 10.0.14393
    gyp ERR! command "D:\Program Files (x86)\nodejs\10.6.0\node.exe" "D:\Program Files (x86)\npm\6.1.0\node_modules\npm\node_modules\node-
    gyp\bin\node-gyp.js" "rebuild"
    gyp ERR! cwd D:homesitewwwrootnode_modulestiny-secp256k1
    gyp ERR! node -v v10.6.0
    gyp ERR! node-gyp -v v3.6.2
    gyp ERR! not ok
    npm WARN Invalid version: "0.2"
    npm WARN wwwroot No description
    npm WARN wwwroot No repository field.
    npm WARN wwwroot No README data
    npm WARN wwwroot No license field.

    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! tiny-secp256k1@1.0.1 install: `node-gyp rebuild`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the tiny-secp256k1@1.0.1 install 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! D:localAppDatanpm-cache_logs2018-11-11T12_02_52_844Z-debug.log









    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I'm trying to deploy a node.js app on Azure. Simply moving the node-modules from my mac and running the url results in



      Error: \?D:homesitewwwrootnode_modulesscryptbuildReleasescrypt.node is not a valid Win32 application.


      So I decided to install the nodules directly on the machine. I ssh'd to it and started installing packages. A couple worked well but when attempting to install bip32 it fails with the following stack.



      Any ideas?



      D:homesitewwwroot
      gyp ERR! build error
      gyp ERR! stack Error: `msbuild` failed with exit code: 1
      gyp ERR! stack at ChildProcess.onExit (D:Program Files (x86)npm6.1.0node_modulesnpmnode_modulesnode-gyplibbuild.js:258:23)
      gyp ERR! stack at ChildProcess.emit (events.js:182:13)
      gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)
      gyp ERR! System Windows_NT 10.0.14393
      gyp ERR! command "D:\Program Files (x86)\nodejs\10.6.0\node.exe" "D:\Program Files (x86)\npm\6.1.0\node_modules\npm\node_modules\node-
      gyp\bin\node-gyp.js" "rebuild"
      gyp ERR! cwd D:homesitewwwrootnode_modulestiny-secp256k1
      gyp ERR! node -v v10.6.0
      gyp ERR! node-gyp -v v3.6.2
      gyp ERR! not ok
      npm WARN Invalid version: "0.2"
      npm WARN wwwroot No description
      npm WARN wwwroot No repository field.
      npm WARN wwwroot No README data
      npm WARN wwwroot No license field.

      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! tiny-secp256k1@1.0.1 install: `node-gyp rebuild`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the tiny-secp256k1@1.0.1 install 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! D:localAppDatanpm-cache_logs2018-11-11T12_02_52_844Z-debug.log









      share|improve this question













      I'm trying to deploy a node.js app on Azure. Simply moving the node-modules from my mac and running the url results in



      Error: \?D:homesitewwwrootnode_modulesscryptbuildReleasescrypt.node is not a valid Win32 application.


      So I decided to install the nodules directly on the machine. I ssh'd to it and started installing packages. A couple worked well but when attempting to install bip32 it fails with the following stack.



      Any ideas?



      D:homesitewwwroot
      gyp ERR! build error
      gyp ERR! stack Error: `msbuild` failed with exit code: 1
      gyp ERR! stack at ChildProcess.onExit (D:Program Files (x86)npm6.1.0node_modulesnpmnode_modulesnode-gyplibbuild.js:258:23)
      gyp ERR! stack at ChildProcess.emit (events.js:182:13)
      gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)
      gyp ERR! System Windows_NT 10.0.14393
      gyp ERR! command "D:\Program Files (x86)\nodejs\10.6.0\node.exe" "D:\Program Files (x86)\npm\6.1.0\node_modules\npm\node_modules\node-
      gyp\bin\node-gyp.js" "rebuild"
      gyp ERR! cwd D:homesitewwwrootnode_modulestiny-secp256k1
      gyp ERR! node -v v10.6.0
      gyp ERR! node-gyp -v v3.6.2
      gyp ERR! not ok
      npm WARN Invalid version: "0.2"
      npm WARN wwwroot No description
      npm WARN wwwroot No repository field.
      npm WARN wwwroot No README data
      npm WARN wwwroot No license field.

      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! tiny-secp256k1@1.0.1 install: `node-gyp rebuild`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the tiny-secp256k1@1.0.1 install 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! D:localAppDatanpm-cache_logs2018-11-11T12_02_52_844Z-debug.log






      node.js azure npm






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 11 at 12:15









      Eddy

      1,32443656




      1,32443656






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          -1
          down vote













          Your build fails because it can not build the tiny-secp256k1 module, which requires secp256k1 native C module.



          Solution could be to use secp256k1-node npm module instead. Take a look the windows specific installation notes in the linked repo.



          Or simply install the required secp256k1 native C dependency.






          share|improve this answer






















          • tiny-secp256k1 is installed as part of the bip32 install, which obviously is out of my control. So I can't use your solution.
            – Eddy
            Nov 11 at 13:00










          • You asked for the reason, not for the solution. But I edited my answer :)
            – lependu
            Nov 11 at 13:14










          • This is supposed to be a managed service. Having to install packages myself is really not inspiring confidence. Anyway. Which type of machine do I get, when creating the Web App? I moved the entire node-modules folder from another windows machine, but I still get this error: Error: \?D:homesitewwwrootnode_modulesscryptbuildReleasescrypt.node is not a valid Win32 application.
            – Eddy
            Nov 11 at 14:09











          • Sorry man i can't install the required dependencies instead of you. Please, be aware that I do this in my spare time for free. So maybe you need to pay some professional support service if this is not enough for you. You can find all the required information following the links in my answer.
            – lependu
            Nov 11 at 14:27










          • Sorry, I thought you were a support engineer. The point I was trying to make is that I could install the dependencies myself but a managed service should be able to handle this stuff. Even better, if done correctly it would install the modules for you, not a big deal to create a script to do it.
            – Eddy
            Nov 11 at 15:31










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53248659%2fbuild-error-when-installing-bip32-on-azure-node-js-service%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          -1
          down vote













          Your build fails because it can not build the tiny-secp256k1 module, which requires secp256k1 native C module.



          Solution could be to use secp256k1-node npm module instead. Take a look the windows specific installation notes in the linked repo.



          Or simply install the required secp256k1 native C dependency.






          share|improve this answer






















          • tiny-secp256k1 is installed as part of the bip32 install, which obviously is out of my control. So I can't use your solution.
            – Eddy
            Nov 11 at 13:00










          • You asked for the reason, not for the solution. But I edited my answer :)
            – lependu
            Nov 11 at 13:14










          • This is supposed to be a managed service. Having to install packages myself is really not inspiring confidence. Anyway. Which type of machine do I get, when creating the Web App? I moved the entire node-modules folder from another windows machine, but I still get this error: Error: \?D:homesitewwwrootnode_modulesscryptbuildReleasescrypt.node is not a valid Win32 application.
            – Eddy
            Nov 11 at 14:09











          • Sorry man i can't install the required dependencies instead of you. Please, be aware that I do this in my spare time for free. So maybe you need to pay some professional support service if this is not enough for you. You can find all the required information following the links in my answer.
            – lependu
            Nov 11 at 14:27










          • Sorry, I thought you were a support engineer. The point I was trying to make is that I could install the dependencies myself but a managed service should be able to handle this stuff. Even better, if done correctly it would install the modules for you, not a big deal to create a script to do it.
            – Eddy
            Nov 11 at 15:31














          up vote
          -1
          down vote













          Your build fails because it can not build the tiny-secp256k1 module, which requires secp256k1 native C module.



          Solution could be to use secp256k1-node npm module instead. Take a look the windows specific installation notes in the linked repo.



          Or simply install the required secp256k1 native C dependency.






          share|improve this answer






















          • tiny-secp256k1 is installed as part of the bip32 install, which obviously is out of my control. So I can't use your solution.
            – Eddy
            Nov 11 at 13:00










          • You asked for the reason, not for the solution. But I edited my answer :)
            – lependu
            Nov 11 at 13:14










          • This is supposed to be a managed service. Having to install packages myself is really not inspiring confidence. Anyway. Which type of machine do I get, when creating the Web App? I moved the entire node-modules folder from another windows machine, but I still get this error: Error: \?D:homesitewwwrootnode_modulesscryptbuildReleasescrypt.node is not a valid Win32 application.
            – Eddy
            Nov 11 at 14:09











          • Sorry man i can't install the required dependencies instead of you. Please, be aware that I do this in my spare time for free. So maybe you need to pay some professional support service if this is not enough for you. You can find all the required information following the links in my answer.
            – lependu
            Nov 11 at 14:27










          • Sorry, I thought you were a support engineer. The point I was trying to make is that I could install the dependencies myself but a managed service should be able to handle this stuff. Even better, if done correctly it would install the modules for you, not a big deal to create a script to do it.
            – Eddy
            Nov 11 at 15:31












          up vote
          -1
          down vote










          up vote
          -1
          down vote









          Your build fails because it can not build the tiny-secp256k1 module, which requires secp256k1 native C module.



          Solution could be to use secp256k1-node npm module instead. Take a look the windows specific installation notes in the linked repo.



          Or simply install the required secp256k1 native C dependency.






          share|improve this answer














          Your build fails because it can not build the tiny-secp256k1 module, which requires secp256k1 native C module.



          Solution could be to use secp256k1-node npm module instead. Take a look the windows specific installation notes in the linked repo.



          Or simply install the required secp256k1 native C dependency.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 11 at 13:14

























          answered Nov 11 at 12:50









          lependu

          669314




          669314











          • tiny-secp256k1 is installed as part of the bip32 install, which obviously is out of my control. So I can't use your solution.
            – Eddy
            Nov 11 at 13:00










          • You asked for the reason, not for the solution. But I edited my answer :)
            – lependu
            Nov 11 at 13:14










          • This is supposed to be a managed service. Having to install packages myself is really not inspiring confidence. Anyway. Which type of machine do I get, when creating the Web App? I moved the entire node-modules folder from another windows machine, but I still get this error: Error: \?D:homesitewwwrootnode_modulesscryptbuildReleasescrypt.node is not a valid Win32 application.
            – Eddy
            Nov 11 at 14:09











          • Sorry man i can't install the required dependencies instead of you. Please, be aware that I do this in my spare time for free. So maybe you need to pay some professional support service if this is not enough for you. You can find all the required information following the links in my answer.
            – lependu
            Nov 11 at 14:27










          • Sorry, I thought you were a support engineer. The point I was trying to make is that I could install the dependencies myself but a managed service should be able to handle this stuff. Even better, if done correctly it would install the modules for you, not a big deal to create a script to do it.
            – Eddy
            Nov 11 at 15:31
















          • tiny-secp256k1 is installed as part of the bip32 install, which obviously is out of my control. So I can't use your solution.
            – Eddy
            Nov 11 at 13:00










          • You asked for the reason, not for the solution. But I edited my answer :)
            – lependu
            Nov 11 at 13:14










          • This is supposed to be a managed service. Having to install packages myself is really not inspiring confidence. Anyway. Which type of machine do I get, when creating the Web App? I moved the entire node-modules folder from another windows machine, but I still get this error: Error: \?D:homesitewwwrootnode_modulesscryptbuildReleasescrypt.node is not a valid Win32 application.
            – Eddy
            Nov 11 at 14:09











          • Sorry man i can't install the required dependencies instead of you. Please, be aware that I do this in my spare time for free. So maybe you need to pay some professional support service if this is not enough for you. You can find all the required information following the links in my answer.
            – lependu
            Nov 11 at 14:27










          • Sorry, I thought you were a support engineer. The point I was trying to make is that I could install the dependencies myself but a managed service should be able to handle this stuff. Even better, if done correctly it would install the modules for you, not a big deal to create a script to do it.
            – Eddy
            Nov 11 at 15:31















          tiny-secp256k1 is installed as part of the bip32 install, which obviously is out of my control. So I can't use your solution.
          – Eddy
          Nov 11 at 13:00




          tiny-secp256k1 is installed as part of the bip32 install, which obviously is out of my control. So I can't use your solution.
          – Eddy
          Nov 11 at 13:00












          You asked for the reason, not for the solution. But I edited my answer :)
          – lependu
          Nov 11 at 13:14




          You asked for the reason, not for the solution. But I edited my answer :)
          – lependu
          Nov 11 at 13:14












          This is supposed to be a managed service. Having to install packages myself is really not inspiring confidence. Anyway. Which type of machine do I get, when creating the Web App? I moved the entire node-modules folder from another windows machine, but I still get this error: Error: \?D:homesitewwwrootnode_modulesscryptbuildReleasescrypt.node is not a valid Win32 application.
          – Eddy
          Nov 11 at 14:09





          This is supposed to be a managed service. Having to install packages myself is really not inspiring confidence. Anyway. Which type of machine do I get, when creating the Web App? I moved the entire node-modules folder from another windows machine, but I still get this error: Error: \?D:homesitewwwrootnode_modulesscryptbuildReleasescrypt.node is not a valid Win32 application.
          – Eddy
          Nov 11 at 14:09













          Sorry man i can't install the required dependencies instead of you. Please, be aware that I do this in my spare time for free. So maybe you need to pay some professional support service if this is not enough for you. You can find all the required information following the links in my answer.
          – lependu
          Nov 11 at 14:27




          Sorry man i can't install the required dependencies instead of you. Please, be aware that I do this in my spare time for free. So maybe you need to pay some professional support service if this is not enough for you. You can find all the required information following the links in my answer.
          – lependu
          Nov 11 at 14:27












          Sorry, I thought you were a support engineer. The point I was trying to make is that I could install the dependencies myself but a managed service should be able to handle this stuff. Even better, if done correctly it would install the modules for you, not a big deal to create a script to do it.
          – Eddy
          Nov 11 at 15:31




          Sorry, I thought you were a support engineer. The point I was trying to make is that I could install the dependencies myself but a managed service should be able to handle this stuff. Even better, if done correctly it would install the modules for you, not a big deal to create a script to do it.
          – Eddy
          Nov 11 at 15:31

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53248659%2fbuild-error-when-installing-bip32-on-azure-node-js-service%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Top Tejano songwriter Luis Silva dead of heart attack at 64

          ReactJS Fetched API data displays live - need Data displayed static

          政党