jovo-framework icon indicating copy to clipboard operation
jovo-framework copied to clipboard

Don't require package-lock.json

Open jakelevi opened this issue 2 years ago • 1 comments

I'm submitting a...

  • [x] Bug report
  • [ ] Feature request
  • [ ] Documentation issue or request
  • [ ] Other... Please describe:

Expected Behavior

Being able to run jovo CLI commands without having a package-lock.json

Current Behavior

Through some digging, we realized that there's checks for package-lock.json. So it keeps throwing:

To use this command, please go into the directory of a valid Jovo project.

Our project doesn't need a package-lock.json

I feel like these checks are unnecessary.

Error Log

To use this command, please go into the directory of a valid Jovo project.

Your Environment

  • Jovo Framework version used: 3.6.2
  • Operating System: macOS 13.0.1

jakelevi avatar Feb 08 '23 19:02 jakelevi

Hey @jakelevi

I tried it with jovo v4 and jovo v3, but I can't reproduce it.

$ jovo3 new foobar
$ cd foobar
$ rm ./package-lock.json
$ jovo3 run

Do you have an example?

aswetlow avatar Feb 09 '23 10:02 aswetlow