I have an app running on docker container with nodejs 12.3.1
Now I'm trying to upgrade the nodejs to 16.14.2
I can run the app in local system, but when trying to deploy to docker. I get error while installing sentry-cli. Below is the error when sentry-cli is also upgraded to 2.9.0. Initially sentry-cli was at 1.57.0 (had the same error)
error code 1
09:47:43 5329 error path /usr/app/src/node_modules/#sentry/cli
09:47:43 5330 error command failed
09:47:43 5331 error command sh -c node ./scripts/install.js
09:47:43 5332 error [sentry-cli] Downloading from https://downloads.sentry-cdn.com/sentry-cli/2.9.0/sentry-cli-Linux-x86_64
09:47:43 5332 error [sentry-cli] Using proxy URL: http://pkg.proxy.prod.jp.local:10080/
09:47:43 5332 error Error: Unable to download sentry-cli binary from https://downloads.sentry-cdn.com/sentry-cli/2.9.0/sentry-cli-Linux-x86_64.
09:47:43 5332 error Error message: Protocol "https:" not supported. Expected "http:"
09:47:43 5332 error Error code: ERR_INVALID_PROTOCOL
09:47:43 5333 verbose exit 1
Your proxy server (pkg.proxy.prod.jp.local) is using http protocol, so it cannot proxy an https request that our install script is performing.
Either change proxy URL or don't use it at all.
Optionally you can change the CDN address with SENTRYCLI_CDNURL=https://github.com/getsentry/sentry-cli/releases/download/
Related
I have uninstalled/reinstalled nodejs, protractor, selenium, webdriver-manager but error continues.
- What else should I uninstall or update?
- Can someone please provide next steps or some direction to correct issue?
- where do i get the local certificate?
my commands:
1. webdriver-manager update --ignore_ssl --proxy http://password#proxy.path.com:8080
2. webdriver-managerstart ---(error details below)
Current global installed versions:
protractor Version 5.4.3
webdriver-manager 12.1.7
selenium standalone version available: 3.141.59
chromedriver version available: 80.0.3987.106
geckodriver version available: v0.26.0
Error: unable to get local issuer certificate
at TLSSocket.onConnectSecure (_tls_wrap.js:1473:34)
at TLSSocket.emit (events.js:311:20)
at TLSSocket._finishInit (_tls_wrap.js:916:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:686:12) {
code: 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY'
}
[13:56:46] I/start - java -Dwebdriver.gecko.driver=C:\Users\USERNAME\AppData\Roaming\npm\node_modules\protractor\node_modules\webdriver-manager\selenium\geckodriver-v0.26.0.exe -jar C:\Users\USERNAME\AppData\Roaming\npm\node_modules\protractor\node_modules\webdriver-manager\selenium\selenium-server-standalone-3.141.59.jar -port 4444
[13:56:46] I/start - seleniumProcess.pid: 2884
13:56:46.834 INFO [GridLauncherV3.parse] - Selenium server version: 3.141.59, revision: e82be7d358
13:56:46.957 INFO [GridLauncherV3.lambda$buildLaunchers$3] - Launching a standalone Selenium Server on port 4444
2020-03-17 13:56:47.035:INFO::main: Logging initialized #513ms to org.seleniumhq.jetty9.util.log.StdErrLog
13:56:47.373 INFO [WebDriverServlet.<init>] - Initialising WebDriverServlet
13:56:48.375 INFO [SeleniumServer.boot] - Selenium Server is up and running on port 4444
Can you run the webdriver-manager update --ignore_ssl from your local project node modules, probably your command is running globally, Try the below options , either one should work
Run ./node_modules/webdriver-manager update --ignore_ssl --proxy with proxy
Run ./node_modules/webdriver-manager update --ignore_ssl without proxy
"Run ./node_modules/webdriver-manager update --ignore_ssl --proxy with proxy"
I ran suggestion above but get this error message with business proxy:
I/http_utils - ignoring SSL certificate
E/downloader - Expected response code 200, received: 403
I/update - selenium standalone: file exists .AppData\Roaming\npm\node_modules\protractor\node_modules\webdriver-manager\selenium\selenium-server-standalone-3.141.59.jar
I/update - selenium standalone: selenium-server-standalone-3.141.59.jar up to date
(node:72544) UnhandledPromiseRejectionWarning: Error: response status code is not 200
I'm using Windows 10 and Powershell to install new React app. I have Node v12.13.0 installed as well.
The information in the log where the error occured states:
> 323 verbose npm v6.12.0 324 error Error while executing: 324 error
> C:\Program Files\Git\cmd\git.EXE ls-remote -h -t
> git://github.scm.corp.ebay.com/cubejs-ebay/ebay-global-header-node.git
> 324 error 324 error fatal: unable to look up github.scm.corp.ebay.com
> (port 9418) (No such host is known. ) 324 error 324 error exited with
> error code: 128 325 verbose exit [ 1, true ]
It seems like a fairly basic issue but I was unable to find much through searching. Anyone have an idea? Thanks.
maybe your syntax when call create-react-app is incorrect.
Try npx create-react-app my-app
I am trying to bootstrap ec2 instance using knife on chef server hosted on azure marketplace. the chef client run fails throwing the following error.
PS C:\Users\xyz\chef-repo> knife ec2 server create -I ami-25c00c46 -f t2.micro
--region ap-southeast-1 -N ec2module
-x ubuntu -i abc.pem -r "role[ec2], role[jenkinserver]" -g sg-9f1b31fa sudo
.ap-southeast-1.compute.amazonaws.com Chef encountered an error attempting to create the client "ec2module"
.ap-southeast-1.compute.amazonaws.com Running handlers:
.ap-southeast-1.compute.amazonaws.com [2016-01-20T11:39:26+00:00] ERROR: Running exception handlers
.ap-southeast-1.compute.amazonaws.com Running handlers complete
.ap-southeast-1.compute.amazonaws.com [2016-01-20T11:39:26+00:00] ERROR: Exception handlers complete
.ap-southeast-1.compute.amazonaws.com Chef Client failed. 0 resources updated in 03 seconds
.ap-southeast-1.compute.amazonaws.com [2016-01-20T11:39:26+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
.ap-southeast-1.compute.amazonaws.com [2016-01-20T11:39:26+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
.ap-southeast-1.compute.amazonaws.com [2016-01-20T11:39:26+00:00] ERROR: undefined method `length' for nil:NilClass
.ap-southeast-1.compute.amazonaws.com [2016-01-20T11:39:26+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
There seems to be a problem with the server SSL certificate and perhaps it is related to Chef issue #4301 (read it).
Try downloading the SSL certificate from the Chef Server:
> knife ssl fetch
Then, you can check it with:
> knife ssl check
I hope this helps.
I am trying to create an ionic application but getting below error
Command:-
ionic create testapp sidemenu
Error: getaddrinfo ENOTFOUND github.com github.com:443
"
Creating Ionic app in folder ~..\conference base
d on sidemenu project
Downloading: https://github.com/driftyco/ionic-app-base/archive/master.zip
Error Initializing app: Error: getaddrinfo ENOTFOUND github.com github.com:443
Error: getaddrinfo ENOTFOUND github.com github.com:443
at errnoException (dns.js:26:10)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:77:26)
getaddrinfo ENOTFOUND github.com github.com:443 (CLI v1.7.8)
Your system information:
Cordova CLI: 5.4.0
Ionic CLI Version: 1.7.8
Ionic App Lib Version: 0.6.4
OS: Windows 7 SP1
Node Version: v4.2.1
"
Please suggest how to resolve this, I am new in phonegap/ionic/nodejs
[EDIT] proxy has already been configured successfully.
You have to update your ionic version. This command can't be launch with a CLI version under v1.7.10.
Have a look at the tutorial : https://creator.ionic.io/app/dashboard/help/videos
I am also getting that same Issue.
I also set proxy, http-proxy for npm already but still getting issue
I Fixed this by setting proxy in ionic module as explained in this link
Basically you just need to add below line at line no 421 (approx. just before tunnel creation in code) in require.js for setting proxy and then this Ionic CLI will start working.
// hack to add proxy
self.proxy = 'http://proxy-ip:proxy-port';
I'm running a nodeapp on Centos6 AWS ec2 machine.
I've installed strongloop using this command npm install -g strongloop.
slc -h is available for me.
I'm having express.js application my application start point is in /app_path/bin/www
for both slc start and slc start www command in /app_path/bin/ giving me following error
Error: pm failed, exit with status 1