Closed gabrielsantosblanchet closed 2 months ago
@gabrielsantosblanchet
No package.json (or package.yaml, or package.json5) was found in "C:\Users\
\Source\repos\infrastructure-as-code".
Which commands gives you this error?
The complete flow should be:
pnpm install -g cdk8s-cli
mkdir my-project
cd ./my-project
cdk8s init typescript-app
Is that what you did?
yes that is what I did.
I don't know what happened but now it works.
thanks
following the tutorial https://cdk8s.io/docs/latest/get-started/typescript/#set-up-an-environment
when I do
pnpm install -g cdk8s-cli
mkdir my-project
cd ./my-project
I get
No package.json (or package.yaml, or package.json5) was found in "C:\Users\<user>\Source\repos\infrastructure-as-code".
but if I do
pnpm init
to add a package.json then I getCannot initialize a project in a non-empty directory
Environment:
thanks for the help