GithubHelp home page GithubHelp logo

Comments (7)

NoRulesJustFeels avatar NoRulesJustFeels commented on August 15, 2024

We are working on a fix.

from actionssdk-say-number-nodejs.

NoRulesJustFeels avatar NoRulesJustFeels commented on August 15, 2024

Now fixed.

from actionssdk-say-number-nodejs.

jdbuhl avatar jdbuhl commented on August 15, 2024

I am now receiving the following error:

Updating service [default]...failed.                                                                                                                                                                        
ERROR: (gcloud.app.deploy) Error Response: [9] 
Application startup error:

> [email protected] start /app
> functions deploy sayNumber --trigger-http

sh: 1: functions: not found

npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/nodejs/bin/node" "/nodejs/bin/npm" "start"
npm ERR! node v4.2.6
npm ERR! npm  v2.14.12
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] start: `functions deploy sayNumber --trigger-http`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the [email protected] start script 'functions deploy sayNumber --trigger-http'.
npm ERR! This is most likely a problem with the hello-action package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     functions deploy sayNumber --trigger-http
npm ERR! You can get their info via:
npm ERR!     npm owner ls hello-action
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /app/npm-debug.log

from actionssdk-say-number-nodejs.

smishra2 avatar smishra2 commented on August 15, 2024

You'll need to install the Google Cloud Functions Emulator. Follow the instructions here.

from actionssdk-say-number-nodejs.

jdbuhl avatar jdbuhl commented on August 15, 2024

After installing the emulator I receive the following when I run functions start

lib/node_modules/@google-cloud/functions-emulator/bin/functions:62
let projectId = require('../src/utils/detectProjectId')(config.get('projectId'));
^^^

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:387:25)
    at Object.Module._extensions..js (module.js:422:10)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Function.Module.runMain (module.js:447:10)
    at startup (node.js:142:18)
    at node.js:939:3

from actionssdk-say-number-nodejs.

smishra2 avatar smishra2 commented on August 15, 2024

What version of Node.js are you using? Try node -v to find out. Try upgrading to a newer version of Node.js.

from actionssdk-say-number-nodejs.

jdbuhl avatar jdbuhl commented on August 15, 2024

I'm using v7.7.3

from actionssdk-say-number-nodejs.

Related Issues (7)

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.