jovotech/jovo-framework

Don't require package-lock.json

jakelevi opened this issue · 1 comments

I'm submitting a...

  • 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

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?