Google Cloud Bug - Issue deploying node js app to google cloud instance - javascript

I've downloaded the latest hello world node js app from google cloud.
I can run the app locally using npm start and then by visiting localhost:8080 and I see the app running.
I've also created a project and have a project id.
I've also enabled billing like the tutorial suggests.
This is the tutorial I am following: https://cloud.google.com/nodejs/getting-started/hello-world
I then go to deploy the app with this command in the google cloud sdk:
gcloud preview app deploy app.yaml --promote
I then can this message in my console and its not very helpful:
This is the tutorial part I'm following:
Then this is the screen I get when I visit the website on the google cloud instance (It should say hello world):

Related

How to deploy React app to Google Cloud Vm Instance?

I have a basic hello world react app and Google cloud server in compute machine(Vm Instance).How can I deploy my react app to this server?
You can deploy react apps to google cloud platform with App Engine only. Follow the below steps:
Creating the react app
Creating the app.yaml file
Creating a new Project in Google console
Creating App Engine
Deploying Google App Engine
Deploying using Google Cloud SDK
Deploying using Google Cloud Shell
Configuring a Custom Domain in Google App Engine.
Refer to this document for more detailed steps.

Flutter Web App Blank after Firebase Deploy

My Web app works fine when I run it in debug mode using vs-code and chrome, but when I use flutter build web followed by Firebase deploy and open the app using the hosting link, my app is blank.
When I inspect it
Uncaught ReferenceError: firebase is not defined
at Object.a0s (animation_controller.dart:248)
at Object.a56 (cloud_firestore_platform_interface.dart:47)
at cloud_firestore_web.dart:26
at a0o.a (async_patch.dart:308)
at a0o.$2 (main.dart.js:22669)
at Object.a4 (async_patch.dart:238)
at Object.IT (main.dart.js:7072)
at js_helper.dart:3221
at js_helper.dart:3221
at dartProgram (js_helper.dart:3221)
This is the error I see in the console.
I have tried most of the solutions on the web, any and all help will be highly appreciated.

Is there a way to deploy GSuite app in our own server and run on GSuite Market place? So that every one can use that

I Wanted to create GSuite app and deploy in my own server instead of deploying in google cloud. Is there a way to do it? It would be great if i get some solution for this.
Thanks in advance
You can't deploy G Suite apps/extensions to your own server - they must be published via Chrome Web Store and/or G Suite Marketplace.
What you can do when you publish your app, is to set it as private so that only users in your domain can see and install the app. See Step 4 on Create and publish custom Chrome apps & extensions page for more details. Obviously, the app must be published by a domain account - you don't get that option if you publish an app from your personal/Gmail account.

Universal Windows - Cannot Debug new JS Project - wwahost.exe unable to find target registration

I am using Visual Studio 2017. I am running VS as an administrator, though this is not the same account logged into my machine (if that matters).
I opened a brand new project -- Javascript-language Universal Windows blank app. I can confirm I am targeting the same version of Windows that I have on my local machine (build 15063). When I try to debug the project with Local Machine, I get the following error:
Unable to debug Windows Store app 'wwahost.exe'.
The debugger was unable to find the registration for the target
application. If the problem persists, try uninstalling and then
reinstalling the application.
I've tried repair-installing VS, reinstalling VS, installing the Remote Tools for VS 2017, creating an app package, and nothing. This is a brand new project. The process wwahost.exe is not running on my machine; when I try to run it out of my Win\Sys32 folder, I get the following error:
C:\Windows\System32\WWAHost.exe
This application can only run in the context of an app container.
Not sure what to do next. Please help.
Edit: So I'm running VS using an admin account, but it's not the same account with which I'm logged into my local machine. If I log in as the admin account I'm using for VS, it works OK. I want to be able to develop as a different user though.

Your account is not authorized to deploy to Galaxy?

I'm trying to deploy a new application I created by running meteor deploy appname but it gives me this error... i'm logged in though using my meteor developer username & password...
Do I have to signup for galaxy or i can do this free without it?
Project is new, I just installed meteor so I didn't write any code yet.
If you want to deploy your app to Galaxy you have to sign up for it with your Meteor developer account. But keep in mind that this is not free of charge.
If you want to have a deeper look in the FAQ's of Galaxy you can visit Meteor Galaxy FAQ
If you only want to start developing and code your application until it is ready, then just run the meteor command in the working directory of your project.

Categories