UnsatisfiedRequirementsError: Node on app engine flex environment











up vote
0
down vote

favorite












I am trying to deploy app engine node service on the flex environment.
Below is my configuration in app.yaml



runtime: nodejs8
env: flex

#to name a service use below syntax
service: exampleNodeApp

env_variables:
NODE_ENV: "dev"
PORT: 3000

skip_files:
.env

manual_scaling:
instances: 1
resources:
cpu: 1
memory_gb: 0.5
disk_size_gb: 10


The config is going to use the node8 image. My package.json is as below



{
"name": "expressapp",
"version": "1.0.0",
"private": true,
"main": "./bin/www",
"scripts": {
"start": "node ./bin/www",
},
"dependencies": {
"express": "~4.16.3",
}
}


I have tried specifying the engine also like



{
"node": "~8.*"
}


And to see the debug logs i used



gcloud app deploy --version default1 --verbosity=debug


the error which i get is as below. Not able to resolve even after trying everything. My app runs fine on the local. Please help!



--update-- the error log



UnsatisfiedRequirementsError: Your application does not satisfy all of  the requirements for a runtime of type [nodejs8].  Please correct the errors and try again.
ERROR: (gcloud.app.deploy) Your application does not satisfy all of the requirements for a runtime of type [nodejs8]. Please correct the errors and try again.









share|improve this question




























    up vote
    0
    down vote

    favorite












    I am trying to deploy app engine node service on the flex environment.
    Below is my configuration in app.yaml



    runtime: nodejs8
    env: flex

    #to name a service use below syntax
    service: exampleNodeApp

    env_variables:
    NODE_ENV: "dev"
    PORT: 3000

    skip_files:
    .env

    manual_scaling:
    instances: 1
    resources:
    cpu: 1
    memory_gb: 0.5
    disk_size_gb: 10


    The config is going to use the node8 image. My package.json is as below



    {
    "name": "expressapp",
    "version": "1.0.0",
    "private": true,
    "main": "./bin/www",
    "scripts": {
    "start": "node ./bin/www",
    },
    "dependencies": {
    "express": "~4.16.3",
    }
    }


    I have tried specifying the engine also like



    {
    "node": "~8.*"
    }


    And to see the debug logs i used



    gcloud app deploy --version default1 --verbosity=debug


    the error which i get is as below. Not able to resolve even after trying everything. My app runs fine on the local. Please help!



    --update-- the error log



    UnsatisfiedRequirementsError: Your application does not satisfy all of  the requirements for a runtime of type [nodejs8].  Please correct the errors and try again.
    ERROR: (gcloud.app.deploy) Your application does not satisfy all of the requirements for a runtime of type [nodejs8]. Please correct the errors and try again.









    share|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am trying to deploy app engine node service on the flex environment.
      Below is my configuration in app.yaml



      runtime: nodejs8
      env: flex

      #to name a service use below syntax
      service: exampleNodeApp

      env_variables:
      NODE_ENV: "dev"
      PORT: 3000

      skip_files:
      .env

      manual_scaling:
      instances: 1
      resources:
      cpu: 1
      memory_gb: 0.5
      disk_size_gb: 10


      The config is going to use the node8 image. My package.json is as below



      {
      "name": "expressapp",
      "version": "1.0.0",
      "private": true,
      "main": "./bin/www",
      "scripts": {
      "start": "node ./bin/www",
      },
      "dependencies": {
      "express": "~4.16.3",
      }
      }


      I have tried specifying the engine also like



      {
      "node": "~8.*"
      }


      And to see the debug logs i used



      gcloud app deploy --version default1 --verbosity=debug


      the error which i get is as below. Not able to resolve even after trying everything. My app runs fine on the local. Please help!



      --update-- the error log



      UnsatisfiedRequirementsError: Your application does not satisfy all of  the requirements for a runtime of type [nodejs8].  Please correct the errors and try again.
      ERROR: (gcloud.app.deploy) Your application does not satisfy all of the requirements for a runtime of type [nodejs8]. Please correct the errors and try again.









      share|improve this question















      I am trying to deploy app engine node service on the flex environment.
      Below is my configuration in app.yaml



      runtime: nodejs8
      env: flex

      #to name a service use below syntax
      service: exampleNodeApp

      env_variables:
      NODE_ENV: "dev"
      PORT: 3000

      skip_files:
      .env

      manual_scaling:
      instances: 1
      resources:
      cpu: 1
      memory_gb: 0.5
      disk_size_gb: 10


      The config is going to use the node8 image. My package.json is as below



      {
      "name": "expressapp",
      "version": "1.0.0",
      "private": true,
      "main": "./bin/www",
      "scripts": {
      "start": "node ./bin/www",
      },
      "dependencies": {
      "express": "~4.16.3",
      }
      }


      I have tried specifying the engine also like



      {
      "node": "~8.*"
      }


      And to see the debug logs i used



      gcloud app deploy --version default1 --verbosity=debug


      the error which i get is as below. Not able to resolve even after trying everything. My app runs fine on the local. Please help!



      --update-- the error log



      UnsatisfiedRequirementsError: Your application does not satisfy all of  the requirements for a runtime of type [nodejs8].  Please correct the errors and try again.
      ERROR: (gcloud.app.deploy) Your application does not satisfy all of the requirements for a runtime of type [nodejs8]. Please correct the errors and try again.






      node.js google-app-engine google-cloud-platform google-sites google-sites-2016






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 12 at 5:48

























      asked Nov 10 at 17:29









      Somangshu Goswami

      599




      599
























          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          Somewhat wrongly defined (not explicitly) in the google docs.



          the runtime: nodejs8 is only available for the standard environment. But for the flex env env: flex only nodejs can be given as the param. The gcloud run-time builder does not have anything like nodejs8.



          Still trying to figure out whats the version of node given runtime: nodejs.



          will update soon.



          For further reference here is how I found the solution
          https://github.com/GoogleCloudPlatform/nodejs-docs-samples/issues/651






          share|improve this answer





















            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%2f53241574%2funsatisfiedrequirementserror-node-on-app-engine-flex-environment%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
            0
            down vote



            accepted










            Somewhat wrongly defined (not explicitly) in the google docs.



            the runtime: nodejs8 is only available for the standard environment. But for the flex env env: flex only nodejs can be given as the param. The gcloud run-time builder does not have anything like nodejs8.



            Still trying to figure out whats the version of node given runtime: nodejs.



            will update soon.



            For further reference here is how I found the solution
            https://github.com/GoogleCloudPlatform/nodejs-docs-samples/issues/651






            share|improve this answer

























              up vote
              0
              down vote



              accepted










              Somewhat wrongly defined (not explicitly) in the google docs.



              the runtime: nodejs8 is only available for the standard environment. But for the flex env env: flex only nodejs can be given as the param. The gcloud run-time builder does not have anything like nodejs8.



              Still trying to figure out whats the version of node given runtime: nodejs.



              will update soon.



              For further reference here is how I found the solution
              https://github.com/GoogleCloudPlatform/nodejs-docs-samples/issues/651






              share|improve this answer























                up vote
                0
                down vote



                accepted







                up vote
                0
                down vote



                accepted






                Somewhat wrongly defined (not explicitly) in the google docs.



                the runtime: nodejs8 is only available for the standard environment. But for the flex env env: flex only nodejs can be given as the param. The gcloud run-time builder does not have anything like nodejs8.



                Still trying to figure out whats the version of node given runtime: nodejs.



                will update soon.



                For further reference here is how I found the solution
                https://github.com/GoogleCloudPlatform/nodejs-docs-samples/issues/651






                share|improve this answer












                Somewhat wrongly defined (not explicitly) in the google docs.



                the runtime: nodejs8 is only available for the standard environment. But for the flex env env: flex only nodejs can be given as the param. The gcloud run-time builder does not have anything like nodejs8.



                Still trying to figure out whats the version of node given runtime: nodejs.



                will update soon.



                For further reference here is how I found the solution
                https://github.com/GoogleCloudPlatform/nodejs-docs-samples/issues/651







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 11 at 11:28









                Somangshu Goswami

                599




                599






























                     

                    draft saved


                    draft discarded



















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53241574%2funsatisfiedrequirementserror-node-on-app-engine-flex-environment%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

                    Xamarin.iOS Cant Deploy on Iphone

                    Glorious Revolution

                    Dulmage-Mendelsohn matrix decomposition in Python