Closed zzxwill closed 3 years ago
I have the same issue
@zzxwill does this persist (i.e. happens every time you run cdk8s init
) or sporadically?
@zzxwill does this persist (i.e. happens every time you run
cdk8s init
) or sporadically?
Yes, it persists. It failed after I gave it another try.
Any update, thanks.
Today, I upgrade cdk8s version to 0.26 and Python version to 3.8.5. Nothing changes.
I have the same issue
Hi @paguos Have you find any solution? Thanks.
I have the same issue
Hi @paguos Have you find any solution? Thanks.
No, I was using an old Mac Book Air (2014) ... With more recent models I don't experience this issue.
The JS version worked fine though 😉
@zzxwill Does this also happen when you cdk8s init typescript-app
?
@paguos Thanks for the confirmation. @iliapolo Yes.
cdk8s init typescript-app
Initializing a project from the typescript-app template
npm notice created a lockfile as package-lock.json. You should commit this file.
+ constructs@2.0.2
+ cdk8s@0.26.0
added 8 packages from 10 contributors and audited 8 packages in 4.72s
found 0 vulnerabilities
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
+ @types/node@14.0.26
+ cdk8s-cli@0.26.0
+ jest@26.1.0
+ @types/jest@26.0.7
+ ts-jest@26.1.3
+ typescript@3.9.7
added 727 packages from 437 contributors and audited 736 packages in 481.395s
45 packages are looking for funding
run `npm fund` for details
found 1 low severity vulnerability
run `npm audit fix` to fix them, or `npm audit` for details
> hello@1.0.0 import /Users/zhouzhengxi/Programming/golang/src/github.com/zzxwill/homework/k8s/cdk8s/hello
> cdk8s import
k8s
Error: connect ECONNREFUSED 0.0.0.0:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1144:16) {
errno: -61,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '0.0.0.0',
port: 443
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! hello@1.0.0 import: `cdk8s import`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the hello@1.0.0 import script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/zhouzhengxi/.npm/_logs/2020-07-27T08_19_37_227Z-debug.log
cdk8s init TYPE
Create a new cdk8s project from a template.
Positionals:
TYPE Project type [required] [choices: "java-app", "python-app", "typescript-app"]
Options:
--version Show version number [boolean]
--help Show help [boolean]
--dist Install dependencies from a "dist" directory (for development) [string]
--cdk8s-version The cdk8s version to use when creating the new project [string] [default: "0.26.0"]
Error: Command failed: npm run import
at checkExecSyncError (child_process.js:616:11)
at execSync (child_process.js:652:15)
at Object.exports.post (/usr/local/Cellar/node/14.5.0/lib/node_modules/cdk8s-cli/templates/typescript-app/.hooks.sscaff.js:24:3)
at executePostHook (/usr/local/Cellar/node/14.5.0/lib/node_modules/cdk8s-cli/node_modules/sscaff/lib/sscaff.js:61:37)
at Object.sscaff (/usr/local/Cellar/node/14.5.0/lib/node_modules/cdk8s-cli/node_modules/sscaff/lib/sscaff.js:28:15)
at async Object.handler (/usr/local/Cellar/node/14.5.0/lib/node_modules/cdk8s-cli/bin/cmds/init.js:30:9) {
status: 1,
signal: null,
output: [ null, null, null ],
pid: 8493,
stdout: null,
stderr: null
}
@zzxwill Thanks, i'm looking into it.
Same problem :( , any update?
@liangyuanpeng I found Error: connect ECONNREFUSED 0.0.0.0:443
when I was using vscode pulling something from github. I solved this problem by adding some proxy settings in the vscode, which is "http.proxy": "http://HOST:PORT"
.
those problem above may related to network problem too.
hope my case can provide some useful information
This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon.
Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen.
Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen.
Description of the bug:
Reproduction Steps:
Run the New Project creation.
Error Log:
Environment:
➜ /Users/zhouzhengxi/Downloads/cdk8s/hello python3 -V Python 3.8.0 ➜ /Users/zhouzhengxi/Downloads/cdk8s/hello cdk8s --version 0.24.0 ➜ /Users/zhouzhengxi/Downloads/cdk8s/hello node --version v12.16.2 ➜ /Users/zhouzhengxi/Downloads/cdk8s/hello pipenv --version pipenv, version 2020.5.28