jovotech / jovo-cli

🛠 Command Line Interface for the Jovo Framework: Makes voice experience deployment a breeze, including features like local development and staging.
https://www.jovo.tech/marketplace/jovo-cli
Apache License 2.0
57 stars 31 forks source link

Error: Cannot convert undefined or null to object #356

Closed RalphOb closed 1 year ago

RalphOb commented 1 year ago

I'm submitting a...

Expected Behavior

After update dependencies, cannot build using the command jovo build:platform alexa, even with fresh new projects.

Current Behavior

Error log

x Error: --------------------------------------------------------------------------------
›
› Message:
›  Cannot convert undefined or null to object
›
› Module:
›  JovoCliCore
›
›
› If you think this is not on you, you can submit an issue here: https://github.com/jovotech/jovo-cli/issues.
If you have an error log, please paste it here.

Your Environment

Jovo packages of the current project :

Environment: System: OS: Windows 10 10.0.19045 Binaries: Node: 18.15.0 - C:\Program Files\nodejs\node.EXE npm: 9.5.0 - C:\Program Files\nodejs\npm.CMD

julioag10 commented 1 year ago

Im also experimenting the same error,

@jovotech/cli: 4.1.8

Jovo packages of the current project :

Environment: System: OS: Windows 10 10.0.22000 Binaries: Node: 18.16.0 - C:\Program Files\nodejs\node.EXE npm: 9.5.1 - C:\Program Files\nodejs\npm.CMD

anneleenscholts commented 1 year ago

I'm experiencing the same issues.

@jovotech/cli: 4.1.8 

Jovo packages of the current project :
  - @jovotech/db-dynamodb: 4.5.9  
  - @jovotech/db-filedb: 4.5.9  
  - @jovotech/framework: 4.5.9  
  - @jovotech/platform-alexa: 4.5.9  
  - @jovotech/platform-googleassistant: 4.5.9  
  - @jovotech/plugin-debugger: 4.5.9  
  - @jovotech/server-express: 4.5.9  
  - @jovotech/server-lambda: 4.5.9  
  - @jovotech/target-serverless: 4.1.8  
  - @jovotech/cli-command-build: 4.1.8 [dev] 
  - @jovotech/cli-command-deploy: 4.1.8 [dev] 
  - @jovotech/cli-command-get: 4.1.8 [dev] 
  - @jovotech/cli-command-new: 4.1.8 [dev] 
  - @jovotech/cli-command-run: 4.1.9 [dev] 
  - @jovotech/cli-core: 4.1.9 [dev] 
  - @jovotech/filebuilder: 0.0.1 [dev] 

Environment:
  System:
    OS: macOS 13.4
  Binaries:
    Node: 18.16.0 - ~/.nvm/versions/node/v18.16.0/bin/node
    npm: 9.5.1 - ~/.nvm/versions/node/v18.16.0/bin/npm

Downloaded the sample project jovo-sample-alexa-googleassistant-lambda which builds for the Google Assistant platform but keeps crashing on the Alexa platform. Output of jovo build:platform alexa --debug:

x Error: --------------------------------------------------------------------------------
›                                                                                 
› Message:
›  Cannot convert undefined or null to object
›                                                                                 
› Module:
›  JovoCliCore
aswetlow commented 1 year ago

Fixed. Please update your project. Thank you for your patience.