bcrypt@3.0.3 install: `node-pre-gyp install --fallback-to-build` bcrypt 3.0.3












2















Hello i tried everything to solve this issue, nothing worked.
im trying to install bcrypt and it drops this meesage



bcrypt@3.0.3 install: node-pre-gyp install --fallback-to-build


the log of the issue (full log at https://github.com/kelektiv/node.bcrypt.js/issues/692) :



1198 warn rest-shop@1.0.0 No repository field. 
1199 verbose stack Error: bcrypt@3.0.3 install: `node-pre-gyp install
--fallback-to-build`
1199 verbose stack Exit status 1 1199 verbose stack at EventEmitter.<anonymous> (C:Program Filesnodejsnode_modulesnpmnode_modulesnpm-lifecycleindex.js:301:16) 1199 verbose stack at EventEmitter.emit (events.js:182:13)
1199 verbose stack at ChildProcess.<anonymous> (C:Program Filesnodejsnode_modulesnpmnode_modulesnpm-lifecyclelibspawn.js:55:14)
1199 verbose stack at ChildProcess.emit (events.js:182:13)
1199 verbose stack at maybeClose (internal/child_process.js:962:16)
1199 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
1200 verbose pkgid bcrypt@3.0.3
1201 verbose cwd C:UsersuserDesktopProgramacionNodejsnode-rest-shop
1202 verbose Windows_NT 10.0.17134
1203 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "bcrypt"
1204 verbose node v10.14.2
1205 verbose npm v6.4.1 1206 error code ELIFECYCLE
1207 error errno 1
1208 error bcrypt@3.0.3 install: `node-pre-gyp install --fallback-to-build`
1208 error Exit status 1 1209 error Failed at the bcrypt@3.0.3 install script.
1209 error This is probably not a problem with npm. There is likely additional logging output above. 1210 verbose exit [ 1, true ]


package.json:



"dependencies": { "bcryptjs": "^2.4.3", "body-parser": "^1.18.3", "express": "^4.16.4", "mongoose": "^5.4.0", "morgan": "^1.9.1", "multer": "^1.4.1", "request": "^2.88.0" },


VERSIONS:



npm: 6.4.1



node: v10.14.2










share|improve this question





























    2















    Hello i tried everything to solve this issue, nothing worked.
    im trying to install bcrypt and it drops this meesage



    bcrypt@3.0.3 install: node-pre-gyp install --fallback-to-build


    the log of the issue (full log at https://github.com/kelektiv/node.bcrypt.js/issues/692) :



    1198 warn rest-shop@1.0.0 No repository field. 
    1199 verbose stack Error: bcrypt@3.0.3 install: `node-pre-gyp install
    --fallback-to-build`
    1199 verbose stack Exit status 1 1199 verbose stack at EventEmitter.<anonymous> (C:Program Filesnodejsnode_modulesnpmnode_modulesnpm-lifecycleindex.js:301:16) 1199 verbose stack at EventEmitter.emit (events.js:182:13)
    1199 verbose stack at ChildProcess.<anonymous> (C:Program Filesnodejsnode_modulesnpmnode_modulesnpm-lifecyclelibspawn.js:55:14)
    1199 verbose stack at ChildProcess.emit (events.js:182:13)
    1199 verbose stack at maybeClose (internal/child_process.js:962:16)
    1199 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
    1200 verbose pkgid bcrypt@3.0.3
    1201 verbose cwd C:UsersuserDesktopProgramacionNodejsnode-rest-shop
    1202 verbose Windows_NT 10.0.17134
    1203 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "bcrypt"
    1204 verbose node v10.14.2
    1205 verbose npm v6.4.1 1206 error code ELIFECYCLE
    1207 error errno 1
    1208 error bcrypt@3.0.3 install: `node-pre-gyp install --fallback-to-build`
    1208 error Exit status 1 1209 error Failed at the bcrypt@3.0.3 install script.
    1209 error This is probably not a problem with npm. There is likely additional logging output above. 1210 verbose exit [ 1, true ]


    package.json:



    "dependencies": { "bcryptjs": "^2.4.3", "body-parser": "^1.18.3", "express": "^4.16.4", "mongoose": "^5.4.0", "morgan": "^1.9.1", "multer": "^1.4.1", "request": "^2.88.0" },


    VERSIONS:



    npm: 6.4.1



    node: v10.14.2










    share|improve this question



























      2












      2








      2








      Hello i tried everything to solve this issue, nothing worked.
      im trying to install bcrypt and it drops this meesage



      bcrypt@3.0.3 install: node-pre-gyp install --fallback-to-build


      the log of the issue (full log at https://github.com/kelektiv/node.bcrypt.js/issues/692) :



      1198 warn rest-shop@1.0.0 No repository field. 
      1199 verbose stack Error: bcrypt@3.0.3 install: `node-pre-gyp install
      --fallback-to-build`
      1199 verbose stack Exit status 1 1199 verbose stack at EventEmitter.<anonymous> (C:Program Filesnodejsnode_modulesnpmnode_modulesnpm-lifecycleindex.js:301:16) 1199 verbose stack at EventEmitter.emit (events.js:182:13)
      1199 verbose stack at ChildProcess.<anonymous> (C:Program Filesnodejsnode_modulesnpmnode_modulesnpm-lifecyclelibspawn.js:55:14)
      1199 verbose stack at ChildProcess.emit (events.js:182:13)
      1199 verbose stack at maybeClose (internal/child_process.js:962:16)
      1199 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
      1200 verbose pkgid bcrypt@3.0.3
      1201 verbose cwd C:UsersuserDesktopProgramacionNodejsnode-rest-shop
      1202 verbose Windows_NT 10.0.17134
      1203 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "bcrypt"
      1204 verbose node v10.14.2
      1205 verbose npm v6.4.1 1206 error code ELIFECYCLE
      1207 error errno 1
      1208 error bcrypt@3.0.3 install: `node-pre-gyp install --fallback-to-build`
      1208 error Exit status 1 1209 error Failed at the bcrypt@3.0.3 install script.
      1209 error This is probably not a problem with npm. There is likely additional logging output above. 1210 verbose exit [ 1, true ]


      package.json:



      "dependencies": { "bcryptjs": "^2.4.3", "body-parser": "^1.18.3", "express": "^4.16.4", "mongoose": "^5.4.0", "morgan": "^1.9.1", "multer": "^1.4.1", "request": "^2.88.0" },


      VERSIONS:



      npm: 6.4.1



      node: v10.14.2










      share|improve this question
















      Hello i tried everything to solve this issue, nothing worked.
      im trying to install bcrypt and it drops this meesage



      bcrypt@3.0.3 install: node-pre-gyp install --fallback-to-build


      the log of the issue (full log at https://github.com/kelektiv/node.bcrypt.js/issues/692) :



      1198 warn rest-shop@1.0.0 No repository field. 
      1199 verbose stack Error: bcrypt@3.0.3 install: `node-pre-gyp install
      --fallback-to-build`
      1199 verbose stack Exit status 1 1199 verbose stack at EventEmitter.<anonymous> (C:Program Filesnodejsnode_modulesnpmnode_modulesnpm-lifecycleindex.js:301:16) 1199 verbose stack at EventEmitter.emit (events.js:182:13)
      1199 verbose stack at ChildProcess.<anonymous> (C:Program Filesnodejsnode_modulesnpmnode_modulesnpm-lifecyclelibspawn.js:55:14)
      1199 verbose stack at ChildProcess.emit (events.js:182:13)
      1199 verbose stack at maybeClose (internal/child_process.js:962:16)
      1199 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
      1200 verbose pkgid bcrypt@3.0.3
      1201 verbose cwd C:UsersuserDesktopProgramacionNodejsnode-rest-shop
      1202 verbose Windows_NT 10.0.17134
      1203 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "bcrypt"
      1204 verbose node v10.14.2
      1205 verbose npm v6.4.1 1206 error code ELIFECYCLE
      1207 error errno 1
      1208 error bcrypt@3.0.3 install: `node-pre-gyp install --fallback-to-build`
      1208 error Exit status 1 1209 error Failed at the bcrypt@3.0.3 install script.
      1209 error This is probably not a problem with npm. There is likely additional logging output above. 1210 verbose exit [ 1, true ]


      package.json:



      "dependencies": { "bcryptjs": "^2.4.3", "body-parser": "^1.18.3", "express": "^4.16.4", "mongoose": "^5.4.0", "morgan": "^1.9.1", "multer": "^1.4.1", "request": "^2.88.0" },


      VERSIONS:



      npm: 6.4.1



      node: v10.14.2







      windows-10 command-line bash installation node.js






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 30 '18 at 19:12









      DavidPostill

      105k25227260




      105k25227260










      asked Dec 30 '18 at 19:07









      LucasLucas

      111




      111






















          1 Answer
          1






          active

          oldest

          votes


















          0














          I also faced the same issue today whilst trying to install bcrypt on Windows 10 desktop. Turns out that bcrypt support stable versions of node better check out the docs



          The solution for me was:




          1. Upgrade node to a stable version: I manually downloaded and installed Windows installer from Node website.

          2. Install the Windows build tools globally: npm install --global --production windows-build-tools

          3. Finally npm install bcrypt --save


          After this everything worked ok.



          Orginal Answer Here






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            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',
            autoActivateHeartbeat: false,
            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%2fsuperuser.com%2fquestions%2f1389053%2fbcrypt3-0-3-install-node-pre-gyp-install-fallback-to-build-bcrypt-3-0-3%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









            0














            I also faced the same issue today whilst trying to install bcrypt on Windows 10 desktop. Turns out that bcrypt support stable versions of node better check out the docs



            The solution for me was:




            1. Upgrade node to a stable version: I manually downloaded and installed Windows installer from Node website.

            2. Install the Windows build tools globally: npm install --global --production windows-build-tools

            3. Finally npm install bcrypt --save


            After this everything worked ok.



            Orginal Answer Here






            share|improve this answer




























              0














              I also faced the same issue today whilst trying to install bcrypt on Windows 10 desktop. Turns out that bcrypt support stable versions of node better check out the docs



              The solution for me was:




              1. Upgrade node to a stable version: I manually downloaded and installed Windows installer from Node website.

              2. Install the Windows build tools globally: npm install --global --production windows-build-tools

              3. Finally npm install bcrypt --save


              After this everything worked ok.



              Orginal Answer Here






              share|improve this answer


























                0












                0








                0







                I also faced the same issue today whilst trying to install bcrypt on Windows 10 desktop. Turns out that bcrypt support stable versions of node better check out the docs



                The solution for me was:




                1. Upgrade node to a stable version: I manually downloaded and installed Windows installer from Node website.

                2. Install the Windows build tools globally: npm install --global --production windows-build-tools

                3. Finally npm install bcrypt --save


                After this everything worked ok.



                Orginal Answer Here






                share|improve this answer













                I also faced the same issue today whilst trying to install bcrypt on Windows 10 desktop. Turns out that bcrypt support stable versions of node better check out the docs



                The solution for me was:




                1. Upgrade node to a stable version: I manually downloaded and installed Windows installer from Node website.

                2. Install the Windows build tools globally: npm install --global --production windows-build-tools

                3. Finally npm install bcrypt --save


                After this everything worked ok.



                Orginal Answer Here







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jan 6 at 3:50









                stringnomestringnome

                1012




                1012






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • 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%2fsuperuser.com%2fquestions%2f1389053%2fbcrypt3-0-3-install-node-pre-gyp-install-fallback-to-build-bcrypt-3-0-3%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

                    Plaza Victoria

                    In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

                    How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...