getting error while trying to run heroku local in windows - heroku

I am new to development in Heroku. I simply downloaded the code and was executing steps written in Heroku documentation.
I was able to compile using sbt compile stage. but when I try to run Heroku local, I am getting below error:
Error log:
[OKAY] Loaded ENV .env File as KEY=VALUE Format
11:40:11 AM console.1 | 'target' is not recognized as an internal or
external c ommand,
11:40:11 AM console.1 | operable program or batch file.
11:40:11 AM web.1 | 'target' is not recognized as an internal or
external co mmand,
11:40:11 AM web.1 | operable program or batch file.
[DONE] Killing all processes with signal null
11:40:11 AM console.1 Exited with exit code 1
11:40:11 AM web.1 Exited with exit code 1
Can someone help me with this, please?

Worked now. i was using heroku local only instead of pointing to correct Procfile
i.e. heroku local web -f Procfile.windows

Related

how to solve laravel locale is not recognized as an internal or externall command

this is the error i cannot resolve it gets during the starting of the server
WARN 'locale' is not recognized as an internal or external command,
WARN operable program or batch file. .
due to this my language localization is not working
i don't know why this error occurs kindly help me
but it effect the website loading

Facing an Error during Building the project?

I am building the project in VS2012 and getting the following error , I have searched on Google ,did not found much similar solution,Please provide the solution for the same , Here are the error code snippet -
MOCing D:\giit\release_17\RTTBorrow\rttBorrowWindow.h
'moc.exe' is not recognized as an internal or external command,
operable program or batch file.
MOCing D:\giit\release_17\RTTBorrow\rttListView.h
'moc.exe' is not recognized as an internal or external command,
operable program or batch file.
MOCing D:\giit\release_17\RTTBorrow\rttpassworddialog.h
'moc.exe' is not recognized as an internal or external command,
operable program or batch file.
MOCing D:\giit\release_17\RTTBorrow\rttpassworddialogimpl.h
'moc.exe' is not recognized as an internal or external command,
operable program or batch file.
MOCing D:\giit\release_17\RTTBorrow\rttTextEdit.h
'moc.exe' is not recognized as an internal or external command,
operable program or batch file.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(172,5): error MSB6006: "cmd.exe" exited with code 9009.
Thanks !!!
As you didn't tell what project you're trying to build and googling "giit" doesn't give meaningful results, I'm giving a general suggestion.
moc.exe is part of Qt build system so you could try installing it. Its website is http://qt.io

scmStats plugin 0.3.1 works from windows cmd prompt but not from Jenkins job

I am running sonarqube 5.1.1 and sonar-runner-2.4 from windows 2012 r2 server
Java version--java version "1.8.0_20"
After running sonar-runner.bat from the command prompt the scm stats plugin is giving the correct output on the sonar dashboard. But when sonar-runner.bat is being run as jenkins (1.617) job it gives following error :
Executing: cmd.exe /X /C "git whatchanged "--until=2015-06-28 00:01:21 +0000" --date=iso -- C:\sonar_review."
17:01:21.375 INFO - Working directory: C:\sonar_review.
17:01:21.396 WARN - Fail to retrieve SCM info. Reason: The git-log command failed.
'git' is not recognized as an internal or external command,
operable program or batch file.
I am getting the same error in sonarqube 4.5.4 .
 'git' is not recognized as an internal or external command, operable program or batch file.
This is because Jenkins doesn't know where git is installed within your system.
You have to tell Jenkins the installation path of git.
For specifying the git path to Jenkins , go to manage Jenkins > configuring system > search for GIT and specify the git executable command.
Suppose you have git installed in c drive, you have to provide path till git.exe
This will definitely solve your issue.

Foreman exiting with code 1

I'm a complete heroku and nodejs newbie. I just followed a tutorial to get a GroupMe bot running locally with heroku. After running the command foreman start, I receive the following:
18:10:00 web.1 | started with pid 24985
18:10:00 web.1 | exited with code 1
18:10:00 system | sending SIGTERM to all processes
The procfile reads:
web: node index.js
How do I prevent exiting with code 1 above?
You might see that message if you don't have node installed on your local machine. You can check by typing
node --version
The Getting Started with Node.js on Heroku tutorial at https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction might be helpful. It walks you through deploying a Node.js app step-by-step.
Try running the program manually:
node index.js
This will show you the actual errors you have.

'gpg.exe' is not recognized as an internal or external command after setting environment?

[INFO] --- maven-gpg-plugin:1.4:sign (sign-artifacts) # server-test-toolkit ---
'gpg.exe' is not recognized as an internal or external command,
I have set the environment path:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\MinGW\msys-7.2\bin;C:\Program Files (x86)\GNU\GnuPG
I run the gpg in cmd.exe in windows, it is OK.
But when running the maven-gpg-plugin in eclipse why still popup the error:
'gpg.exe' is not recognized as an internal or external command,
Rebooting solved the issue.
I guess the Maven runtinme didn't had his path updated after the GPG installation. Logging off and relogging may also be sufficient.
when you receive this error message, “gpg is not recognized as an internal or external command” then you need to update your PATH variable.
To do this without reboot:
Open up a command prompt window
Paste this in:
SET PATH=%PATH%;C:\Program Files (x86)\GNU\GnuPG
Hit Enter

Resources