Closed ChuckNorrison closed 1 year ago
Hi, can you please try the following?
npm install --global @leon-ai/cli@beta
leon create birth --develop
leon start
Then check if it works. If it still does not work, please share the report from:
leon check
The issue still exists, here is the check output:
leon check
> leon@1.0.0-beta.7 check
> babel-node scripts/run-check.js
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
⠋
.: CHECKING :.
ℹ️ Leon version
✅ 1.0.0-beta.7
ℹ️ node --version
✅ v18.15.0
ℹ️ npm --version
✅ 9.5.0
ℹ️ pipenv --version
✅ pipenv, version 2023.3.20
ℹ️ pipenv --where
✅ /home/nice/git/leon/bridges/python
ℹ️ pipenv run python --version
✅ Python 3.10.6
ℹ️ pipenv run python bridges/python/main.py scripts/assets/intent-object.json
✅ {"domain": "leon", "skill": "random_number", "action": "run", "lang": "en", "utterance": "Give me a random number", "entities": [], "slots": {}, "output": {"type": "end", "codes": ["33"], "speech": "33", "core": {}, "options": {}}}
ℹ️ Global resolvers NLP model state
✅ Found and valid
ℹ️ Skills resolvers NLP model state
✅ Found and valid
ℹ️ Main NLP model state
✅ Found and valid
ℹ️ Amazon Polly TTS
⚠️ Amazon Polly TTS is not yet configured
ℹ️ Google Cloud TTS/STT
⚠️ Google Cloud TTS/STT is not yet configured
ℹ️ Watson TTS
⚠️ Watson TTS is not yet configured
ℹ️ Offline TTS
⚠️ Cannot find bin/flite/flite. You can setup the offline TTS by running: "npm run setup:offline-tts"
ℹ️ Watson STT
⚠️ Watson STT is not yet configured
ℹ️ Offline STT
⚠️ Cannot find bin/coqui/huge-vocabulary.scorer. You can setup the offline STT by running: "npm run setup:offline-stt"
.: REPORT :.
ℹ️ Here is the diagnosis about your current setup
✅ Run
✅ Run skills
✅ Reply you by texting
⚠️ Amazon Polly text-to-speech
⚠️ Google Cloud text-to-speech
⚠️ Watson text-to-speech
⚠️ Offline text-to-speech
⚠️ Google Cloud speech-to-text
⚠️ Watson speech-to-text
⚠️ Offline speech-to-text
✅ Hooray! Leon can run correctly
ℹ️ If you have some yellow warnings, it is all good. It means some entities are not yet configured
leon update --develop
fixed it somehow
For people having such issue, you can try the following:
npm install --global @leon-ai/cli@beta
leon create birth --develop
leon start
This will help you to use the 1.0.0-beta.8+dev
version which uses compiled binaries, so there is no need to have a Python environment at runtime.
We are going to release the beta version 8 in the coming days.
Closing this issue as it has been solved.
Specs
Expected Behavior
Show chat in browser
Actual Behavior
loading animation in browser and "Failed to connect to the TCP server" in console
How Do We Reproduce?
install with git stable
Extra (like a sample repo to reproduce the issue, etc.)