Comments (7)
We are working on a fix.
from actionssdk-say-number-nodejs.
Now fixed.
from actionssdk-say-number-nodejs.
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.
You'll need to install the Google Cloud Functions Emulator. Follow the instructions here.
from actionssdk-say-number-nodejs.
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.
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.
I'm using v7.7.3
from actionssdk-say-number-nodejs.
Related Issues (7)
- Demo of Sample HOT 1
- README Update HOT 3
- Web Simulator HOT 2
- About engine field HOT 1
- Simulator will not call my app HOT 1
- README needs to be updated. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from actionssdk-say-number-nodejs.