Errors after updating from 3.3 to 3.6


#1

After updating from Jovo 3.3. to 3.6.1 i’m getting the following errors (so far).

“TypeError: jovo.t is not a function” (“t” being the i18n function. I also tried $t, but it wasn’t found either)

“handleRequest.jovo.getRoute is not a function”
This is probably a more serious one, as it sounds like something went wrong with the update and i’m mixing different Jovo versions?


#2

Output from “jovo update”:

Jovo packages of current project:
  jovo-cli : 3.3.1
  jovo-cms-i18next : 3.6.1
  jovo-db-filedb : 3.6.1
  jovo-db-mysql : 3.6.1
  jovo-framework : 3.6.1
  jovo-platform-alexa : 3.6.2
  jovo-platform-googleassistant : 3.6.1
  jovo-plugin-debugger : 3.6.1


All packages are already up to date!

Output from “jovo -v”:

Jovo CLI Version: 3.2.1

Jovo packages of current project:
  jovo-cli: 3.3.1
  jovo-cli-core: 3.3.0
  jovo-cli-deploy-lambda: 3.3.0
  jovo-cli-platform-alexa: 3.3.0
  jovo-cli-platform-google: 3.3.0
  jovo-cli-platform-google-ca: 3.3.0
  jovo-cli-platform-spokestack: 3.3.0
  jovo-cms-i18next: 3.6.1
  jovo-config: 0.1.0
  jovo-core: 3.6.1
  jovo-db-filedb: 3.6.1
  jovo-db-mysql: 3.6.1
  jovo-framework: 3.6.1
  jovo-model: 3.0.1
  jovo-model-alexa: 3.0.2
  jovo-model-dialogflow: 3.0.3
  jovo-model-google: 3.0.9
  jovo-platform-alexa: 3.6.2
  jovo-platform-dialogflow: 3.6.1
  jovo-platform-googleassistant: 3.6.1
  jovo-plugin-debugger: 3.6.1
  jovo-webhook-connector: 3.3.0

#3

Could you try the following:

  • Delete node_modules
  • Delete package-lock.json
  • Run npm install again

#4

Thanks for the reply.

I was 100% sure i tried that before, but maybe i forgot to delete package-lock.json

In any case, it seems like it worked. Now i need to check if it maybe fixes the problem from my other post.