checkly / checkly/checkly-cli

bug: installing into an existing directory fails

Open
#810 6 comments 0 reactions 1 assignee View on GitHub

@umutuzgur is already working on this.

Since Jan 22, 2024.

bug
Dominant language
TypeScript
Stars
96
Forks
25
Avg merge
14h 14m
Merged PRs (30d)
38

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.