'homey' is not recognized as an internal or external command` - homey

I've created a Homey app but when I run homey app run I get 'homey' is not recognized as an internal or external command.

You should install Homey CLI first:
npm install --global homey
Also see: https://apps.developer.homey.app/the-basics/getting-started

Related

flutterfire configure not working even after installing via npm, and relogging

I keep getting this error no matter what I attempt to do,
I've already tried using "npm install -g firebase-tools",
and "firebase projects:list" displays a correct list of my current projects.
Looking for help as I have sunk countless hours into this problem without being able to move a step forward.
FirebaseCommandException: An error occured on the
Firebase CLI when attempting to run a command.
COMMAND: firebase --version
ERROR: The FlutterFire CLI currently requires the official Firebase CLI to also be installed, see https://firebase.google.com/docs/cli#install_the_firebase_cli for how to install it. ```
In case you have installed (and renamed) firebase.exe from the windows installer, remove that first.
The installation of npm install -g firebase-tools and the windows installer are conflicting with each other.
Then go through firebase logout and firebase login again before running flutterfire configure.
I added the firebase-tools file downloaded from https://firebase.tools/bin/win/instant/latest in the root of the directory of my project and it works for me. I changed the name to firebase only.

Running Postman collection in Jenkins gives me "'newman' is not recognized as an internal or external command, operable program or batch file."

When running my Postman collection in Jenkins, i get error message 'newman' is not recognized as an internal or external command, operable program or batch file.
I saved my postman collections locally and given the path, but it's not working. I tried saving the json link and that too isn't working. What could be the problem?
Newman is not installed on the machine that is running Jenkins.
If not already installed, you need to download npm first and install it. You can download it here: https://nodejs.org/en/download/current/
You can do so by running npm install -g newman in your CLI.

Not able to download dependency via yarn from GitHub NPM registry (npm.pkg.github.com)

I have started using GitHub NPM registry for one of the project which is a monorepo. I am using Lerna to manage it which uses yarn as package client.
I was able to publish the package to registry, and i am able to download the same via npm install command, but the same is not working with yarn add command. It throws the following error -
error https://npm.pkg.github.com/download/MY_USERNAME/MY_PACKAGE_NAME/PACKAGE_VERSION/HASH Integrity checked failed for "PACKAGE_NAME" (none of the specified algorithms are supported)
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
I have tried creating the lock file manually ( which isn't recommended ) but still no luck.
I just wanted to post the solution that worked for me:
yarn install --update-checksums

Why can't PowerShell find the gcloud cmdlets?

I've updated the Google Cloud SDK (gcloud), both in general with:
gcloud components update
And just for PowerShell with:
gcloud components update powershell
Running gcloud --version shows:
Google Cloud SDK 122.0.0
beta 2016.01.12
bq 2.0.24
bq-win 2.0.24
bundled-python 2.7.10
core 2016.08.16
core-win 2016.08.05
gcloud
gsutil 4.20
gsutil-win 4.20
powershell 0.1.3
windows-ssh-tools 2016.05.13
When I open PowerShell and try Get-GcsBucket though, I see this error:
Get-GcsBucket : The term 'Get-GcsBucket' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
How can I get PowerShell to recognize the gcloud cmdlets?
The simplest fix for most people will be to uninstall and reinstall the Google Cloud SDK. This doesn't lose any configuration information, so you don't need to run gcloud init or gcloud auth afterwards.
As an alternative, you can run the command that the installer would normally run. Find your Google Cloud SDK installation directory (e.g. %AppData%\..\Local\Google\Cloud SDK or %ProgramFiles(x86)%\Google\Cloud SDK). Within that directory, find google-cloud-sdk\platform\GoogleCloudPowerShell. In there, there's a script called AppendPsModulePath.ps1. Run that, and it will modify the PSModulePath environment variable for your current user. From then on, new PowerShell windows will have the cmdlets available.

Deploying Mean stack webapp on AWS

I have created a webapp based on the the Mean Stack( MongoDB, Express, AngularJS, NodeJS). I had followed this tutorial on setting up AWS: https://scotch.io/tutorials/deploying-a-mean-app-to-amazon-ec2-part-1
I got to the point where they started their server.js file by just calling node server.js. I do not have a server.js though. In webstorm I run grunt serve and it launches everything. On aws I run grunt serve and it just says cannot find bower components. I also try to run bower install and it fails saying I do not have permission but when I run sudo bower install it says bower cannot be run with sudo.
I am not sure how to solve this issue. Should I figure out how to use a server.js?
Any help wold be greatly appreciated
You can use npm start instead of node server.js, if you have initialized the app using npm init.