Skip to content

bug: installing into an existing directory fails #810

Open
@tnolet

Description

@tnolet

Node.js version

18

NPM version

16

@checkly/cli version

4.0.13

Steps to reproduce

  • Create some app directory with a package.json
  • Run npm create checkly
  • Answer ✔ It looks like you are already in a project, would you like to initialize? with yes

What is expected?

It installs a checkly.config.js or .ts file

What is actually happening?

it crashes because it can't find the boilerplate project

✔ It looks like you are already in a project, would you like to initialize? … yes
✖ Couldn't find template "boilerplate-project"
npm ERR! code 1
npm ERR! path /Users/timnolet/WebstormProjects/svelte-tmp
npm ERR! command failed
npm ERR! command sh -c create-cli

npm ERR! A complete log of this run can be found in: /Users/timnolet/.npm/_logs/2023-08-01T07_33_42_468Z-debug-0.log
timnolet@MacBook-Pro-van-Tim svelte-tmp % npm i -D checkly@latest

added 186 packages, and audited 451 packages in 5s

95 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

Any additional comments?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions