cuddly-eye-68174
12/22/2018, 9:51 AMcuddly-eye-68174
12/22/2018, 9:52 AMcuddly-eye-68174
12/22/2018, 9:53 AMfaint-motherboard-95438
12/22/2018, 4:05 PME1222 16:44:42.989623 49002 streamwatcher.go:109] Unable to decode an event from the watch stream: http2: server sent GOAWAY and closed the connection; LastStreamID=47, ErrCode=NO_ERROR, debug=""
cuddly-eye-68174
12/22/2018, 4:11 PMcuddly-eye-68174
12/22/2018, 4:11 PMcuddly-eye-68174
12/22/2018, 4:18 PMcuddly-eye-68174
12/22/2018, 4:20 PMcuddly-eye-68174
12/22/2018, 4:50 PMcuddly-eye-68174
12/22/2018, 4:50 PMcuddly-eye-68174
12/22/2018, 4:51 PMcuddly-eye-68174
12/22/2018, 5:17 PMshy-finland-77998
12/22/2018, 8:34 PMerror TS2304: Cannot find name 'APIEndpoint'
For context, APIEndpoint is an interface type in a folder in the project
When I run the project outside of pulumi (using ts watch
, etc.) these types get picked up and thereās no issue.
So best I can tell when running pulumi, it doesnāt know about these files for whatever reason. Iām troubleshooting it now but any advice in the meantime?shy-finland-77998
12/22/2018, 9:09 PMerror: Error serializing '(ev, ctx, cb) => { let body; ...': api.js(189,21)
'(ev, ctx, cb) => { let body; ...': api.js(189,21): captured
variable 'handlers' which indirectly referenced
function '<anonymous>': organizations.ts(5,14): which could not be serialized because
arrow function captured 'this'. Assign 'this' to another name outside function and capture that.
Function code:
(req, res) => tslib_1.__awaiter(this, void 0, void 0, function* () {
try {
const results = yield organization_1.getOrganizations();
res.status(200).json({
results: results
Looking at the compiled JS, it looks like TS is doing this:
exports.all = (req, res) => tslib_1.__awaiter(this, void 0, void 0, function* () {
And Pulumi isnāt liking the this
that it adds in there.cuddly-eye-68174
12/23/2018, 10:02 AMsquare-machine-57767
12/23/2018, 9:08 PMshy-finland-77998
12/23/2018, 10:59 PMError: invocation of aws:ec2/getVpc:getVpc returned an error: invoking aws:ec2/getVpc:getVpc: no matching VPC found
This is when trying to use a container for fargateshy-finland-77998
12/23/2018, 10:59 PMtall-librarian-49374
12/24/2018, 8:53 AMā[38;5;13mā[1mUpdating (mystackname):ā[0m
tall-librarian-49374
12/24/2018, 8:53 AMtall-librarian-49374
12/24/2018, 4:27 PMpulumi refresh
delete it from the stack? Instead of failing with Resource was not found
.polite-helmet-87481
12/24/2018, 4:53 PMroot@dev:~/test/examples/aws-js-webserver# npm install
npm WARN package.json webserver@0.1.0 No repository field.
npm http GET <https://registry.npmjs.org/pulumi/pulumi>
npm http GET <https://registry.npmjs.org/pulumi/aws>
npm http GET <https://registry.npmjs.org/pulumi/pulumi>
npm http GET <https://registry.npmjs.org/pulumi/aws>
npm http GET <https://registry.npmjs.org/pulumi/aws>
npm http GET <https://registry.npmjs.org/pulumi/pulumi>
npm ERR! Error: failed to fetch from registry: pulumi/aws
npm ERR! at RegClient.<anonymous> (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:134:18)
npm ERR! at cb (/usr/share/npm/node_modules/npm-registry-client/lib/request.js:27:9)
npm ERR! at RegClient.<anonymous> (/usr/share/npm/node_modules/npm-registry-client/lib/request.js:148:10)
npm ERR! at cb (/usr/share/npm/node_modules/npm-registry-client/lib/request.js:158:9)
npm ERR! at RegClient.<anonymous> (/usr/share/npm/node_modules/npm-registry-client/lib/request.js:223:20)
npm ERR! at self.callback (/usr/lib/nodejs/request/index.js:148:22)
npm ERR! at Request.EventEmitter.emit (events.js:117:20)
npm ERR! at ClientRequest.self.clientErrorHandler (/usr/lib/nodejs/request/index.js:258:10)
npm ERR! at ClientRequest.EventEmitter.emit (events.js:95:17)
npm ERR! at CleartextStream.socketErrorListener (http.js:1561:9)
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <npm-@googlegroups.com>
npm ERR! System Linux 3.13.0-163-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/user/test/examples/aws-js-webserver
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/user/test/examples/aws-js-webserver/npm-debug.log
npm ERR! not ok code 0
Also did a little digging
root@dev:~/test/examples/aws-js-webserver# curl -s <https://registry.npmjs.org/pulumi/pulumi>
{"code":"MethodNotAllowedError","message":"GET is not allowed"}
root@dev:~/test/examples/aws-js-webserver# curl -i <https://registry.npmjs.org/pulumi/pulumi>
HTTP/1.1 405 Method Not Allowed
Date: Mon, 24 Dec 2018 16:51:30 GMT
Content-Type: application/json
Content-Length: 63
Connection: keep-alive
Set-Cookie: __cfduid=d745c4d85092196555247662fecaeb3b21545670290; expires=Tue, 24-Dec-19 16:51:30 GMT; path=/; domain=.<http://registry.npmjs.org|registry.npmjs.org>; HttpOnly
Allow: PUT
CF-RAY: 48e492b3a9297967-SEA
Expect-CT: max-age=604800, report-uri="<https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct>"
Server: cloudflare
root@dev:~/test/examples/aws-js-webserver# curl -is <https://registry.npmjs.org/pulumi/aws>
HTTP/1.1 405 Method Not Allowed
Date: Mon, 24 Dec 2018 16:53:01 GMT
Content-Type: application/json
Content-Length: 63
Connection: keep-alive
Set-Cookie: __cfduid=d3bfe6cf107fba72158cdd2bb7c000f5d1545670381; expires=Tue, 24-Dec-19 16:53:01 GMT; path=/; domain=.<http://registry.npmjs.org|registry.npmjs.org>; HttpOnly
Allow: PUT
CF-RAY: 48e494e9cf0c79cd-SEA
Expect-CT: max-age=604800, report-uri="<https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct>"
Server: cloudflare
{"code":"MethodNotAllowedError","message":"GET is not allowed"}
polite-helmet-87481
12/24/2018, 5:03 PMnodejs
and npm
polite-helmet-87481
12/24/2018, 5:03 PM$ sudo apt-get purge nodejs npm
$ curl -sL <https://deb.nodesource.com/setup> | sudo bash -
$ sudo apt-get install -y nodejs
faint-motherboard-95438
12/26/2018, 11:11 AM0.16.9
version is available but it seems brew
does not know about that. Do you plan to release it soon on this package manager ?busy-umbrella-36067
12/26/2018, 8:44 PM0.16.9
is quite the performance improvement. definitely noticeable once you hit more than 100 resourcesorange-tailor-85423
12/27/2018, 4:19 AMbroad-mouse-60437
12/27/2018, 7:38 AMbroad-mouse-60437
12/27/2018, 7:39 AMfaint-motherboard-95438
12/27/2018, 5:55 PM<http://app.pulumi.com|app.pulumi.com>
is nearly unreachable (very slow and basically unresponsive), have you any issue since 10min ?