Skip to content
This repository was archived by the owner on Apr 24, 2025. It is now read-only.

jovo v4 "new" failed #269

@kubycsolutions

Description

@kubycsolutions

I'm submitting a...

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

Expected Behavior

Installed the Jovo v4 CLI (and installed the "jovo3" CLI so I still had access to the older implemention), made sure there wasn't a v4-* project directory, then tried to create one using jovo new to begin porting my code over from v3. Expected, of course, to have that new working directory created and populated without errors.

Current Behavior

jovo new failed with npm ERR code ERESOLVE

Error log

C:\Users\keshlam\jovo>jovo new v4-new-sounds-on-demand
                                                                               
jovo new: Create a new Jovo project
  >> Learn more: https://jovo.tech/docs/cli/new
                                                                               
 Welcome to the Jovo CLI Wizard
                                                                               
√ Pick a preset: » Or manually select features...
√ Choose the platforms you want to use (select with space): » Jovo Core Platform, Amazon Alexa, Google Assistant
√ Type the locales you want to use (comma-separated): ... en
√ Choose the programming language you want to use: » JavaScript
√ Do you want to save this preset to .jovo/config? » No
                                                                               
 Setting everything up
                                                                               
✓ Creating new directory v4-new-sounds-on-demand/
  C:\Users\keshlam\jovo\v4-new-sounds-on-demand
✓ Downloading and extracting template
✓ Generating package.json
✖ Installing npm dependencies
                                                                               
x Error: --------------------------------------------------------------------------------
›                                                                              
› Message:
›  Command failed: npm install
›  npm WARN old lockfile
›  npm WARN old lockfile The package-lock.json file was created with an old version of npm,
›  npm WARN old lockfile so supplemental metadata must be fetched from the registry.
›  npm WARN old lockfile
›  npm WARN old lockfile This is a one-time fix-up, please be patient...
›  npm WARN old lockfile
›  npm ERR! code ERESOLVE
›  npm ERR! ERESOLVE could not resolve
›  npm ERR!
›  npm ERR! While resolving: jovo-v4-template-js@undefined
›  npm ERR! Found: @jovotech/db-filedb@4.0.0-beta.9
›  npm ERR! node_modules/@jovotech/db-filedb
›  npm ERR!   @jovotech/db-filedb@"^4.0.0" from the root project
›  npm ERR!
›  npm ERR! Could not resolve dependency:
›  npm ERR! @jovotech/db-filedb@"^4.0.0" from the root project
›  npm ERR!
›  npm ERR! Conflicting peer dependency: @jovotech/framework@4.0.0
›  npm ERR! node_modules/@jovotech/framework
›  npm ERR!   peer @jovotech/framework@"4.0.0" from @jovotech/db-filedb@4.0.0
›  npm ERR!   node_modules/@jovotech/db-filedb
›  npm ERR!     @jovotech/db-filedb@"^4.0.0" from the root project
›  npm ERR!
›  npm ERR! Fix the upstream dependency conflict, or retry
›  npm ERR! this command with --force, or --legacy-peer-deps
›  npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
›  npm ERR!
›  npm ERR! See C:\Users\keshlam\AppData\Local\npm-cache\eresolve-report.txt for a full report.
›
›  npm ERR! A complete log of this run can be found in:
›  npm ERR!     C:\Users\keshlam\AppData\Local\npm-cache\_logs\2021-11-26T21_20_50_569Z-debug.log
›
›                                                                              
› Module:
›  NewCommand
›                                                                              
›                                                                              
› If you think this is not on you, you can submit an issue here: https://github.com/jovotech/jovo-cli/issues.
                                                                               

C:\Users\keshlam\jovo>

Your Environment

@jovotech/cli: 4.0.1

Environment:
System:
OS: Windows 10 10.0.19043
Binaries:
Node: 12.20.2 - C:\Program Files\nodejs\node.EXE
npm: 7.21.1 - C:\Program Files\nodejs\npm.CMD

Metadata

Metadata

Assignees

No one assigned

    Labels

    v4Issues/PRs for v4 of the Jovo CLI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions