[..................] - idealTree:leon: sill idealTre[[.[[.[.[[[.[[[[[..................] | idealTree:leon: sill idealTree bu[..................] | idealTree:leon: sill ide[..................] | idealTree:leon[..................] | idealTree:leon: sil[..................] | idealTree:leon:[..................] | idealTree:leon: si[..................] - idealTree:leon: [...............[.......[.......[..................] -npm WARN deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.
npm WARN deprecated node-pre-gyp@0.15.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
[################..] | reify:eslint-import-resolver-typescript: http fetch GET 200 https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.5.3.tgz npm WARN deprecated uuid@2.0.3: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
ℹ️ .env file creation...
✅ .env file created
ℹ️ Configuring core...
✅ google-drive.json file created
✅ amazon.json file created
✅ google-cloud.json file created
✅ watson-stt.json file created
✅ watson-tts.json file created
ℹ️ Setting up skills configuration...
✅ "Akinator" skill configuration file created
✅ "Guess the Number" skill configuration file created
✅ "Rochambeau" skill configuration file created
✅ "Greeting" skill configuration file created
✅ "Introduction" skill configuration file created
✅ "Random Number" skill configuration file created
✅ "GitHub Trends" skill configuration file created
✅ "Product Hunt Trends" skill configuration file created
✅ "Todo List" skill configuration file created
✅ "MBTI (Myers–Briggs Type Indicator)" skill configuration file created
✅ "Have I Been Pwned" skill configuration file created
✅ "Is It Down" skill configuration file created
✅ "Speed Test" skill configuration file created
✅ "YouTube Downloader" skill configuration file created
✅ Skills configured
ℹ️ Downloading Python bridge...
Download progress: 100% (15.7 MB/15.7 MB | 2.83 MB/s | 0 ETA)
✅ Python bridge downloaded
ℹ️ Extracting Python bridge...
✅ Python bridge extracted
✅ Python bridge ready
ℹ️ Downloading TCP server...
Download progress: 100% (768 MB/768 MB | 6.02 MB/s | 0 ETA)
✅ TCP server downloaded
ℹ️ Extracting TCP server...
✅ TCP server extracted
✅ TCP server ready
ℹ️ Generating the HTTP API key...
✅ HTTP API key generated
⠋
.: GLOBAL RESOLVERS TRAINING :.
ℹ️ [en] Training "affirmation_denial" resolver...
✅ [en] "affirmation_denial" resolver trained
.: SKILLS RESOLVERS TRAINING :.
ℹ️ [en] Training Akinator "answer" resolver...
✅ [en] Akinator "answer" resolver trained
ℹ️ [en] Training MBTI (Myers–Briggs Type Indicator) "form" resolver...
✅ [en] MBTI (Myers–Briggs Type Indicator) "form" resolver trained
.: GLOBAL ENTITIES TRAINING :.
ℹ️ [en] Adding "color" global entity...
✅ [en] "color" global entity added
ℹ️ [en] Adding "level" global entity...
✅ [en] "level" global entity added
ℹ️ [en] Adding "partner_assistant" global entity...
✅ [en] "partner_assistant" global entity added
.: SKILLS ACTIONS TRAINING :.
ℹ️ [en] Training "Business & Finance" domain model...
✅ [en] "Business & Finance" domain trained
ℹ️ [en] Training "Food & Drink" domain model...
✅ [en] "Food & Drink" domain trained
ℹ️ [en] Training "Games" domain model...
ℹ️ [en] Using "Akinator" skill config data
ℹ️ [en] Using "Guess the Number" skill config data
ℹ️ [en] Using "Rochambeau" skill config data
✅ [en] "Games" domain trained
ℹ️ [en] Training "Health & Fitness" domain model...
✅ [en] "Health & Fitness" domain trained
ℹ️ [en] Training "Knowledge & Education" domain model...
✅ [en] "Knowledge & Education" domain trained
ℹ️ [en] Training "Leon" domain model...
ℹ️ [en] Using "Color" skill config data
ℹ️ [en] Using "Good Bye" skill config data
ℹ️ [en] Using "Greeting" skill config data
ℹ️ [en] Using "Introduction" skill config data
ℹ️ [en] Using "Joke" skill config data
ℹ️ [en] Using "Meaning of Life" skill config data
ℹ️ [en] Using "Partner Assistant" skill config data
ℹ️ [en] Using "Random Number" skill config data
ℹ️ [en] Using "Welcome" skill config data
✅ [en] "Leon" domain trained
ℹ️ [en] Training "Movies & TV" domain model...
✅ [en] "Movies & TV" domain trained
ℹ️ [en] Training "Music & Audio" domain model...
✅ [en] "Music & Audio" domain trained
ℹ️ [en] Training "News" domain model...
ℹ️ [en] Using "GitHub Trends" skill config data
ℹ️ [en] Using "Product Hunt Trends" skill config data
✅ [en] "News" domain trained
ℹ️ [en] Training "Productivity" domain model...
ℹ️ [en] Using "Todo List" skill config data
✅ [en] "Productivity" domain trained
ℹ️ [en] Training "Shopping" domain model...
✅ [en] "Shopping" domain trained
ℹ️ [en] Training "Smart Home" domain model...
✅ [en] "Smart Home" domain trained
ℹ️ [en] Training "Social & Communication" domain model...
ℹ️ [en] Using "MBTI (Myers–Briggs Type Indicator)" skill config data
✅ [en] "Social & Communication" domain trained
ℹ️ [en] Training "Sport" domain model...
✅ [en] "Sport" domain trained
ℹ️ [en] Training "Travel & Transportation" domain model...
✅ [en] "Travel & Transportation" domain trained
ℹ️ [en] Training "Unknown" domain model...
✅ [en] "Unknown" domain trained
ℹ️ [en] Training "Utilities" domain model...
ℹ️ [en] Using "Have I Been Pwned" skill config data
ℹ️ [en] Using "Is It Down" skill config data
ℹ️ [en] Using "Speed Test" skill config data
ℹ️ [en] Using "YouTube Downloader" skill config data
✅ [en] "Utilities" domain trained
ℹ️ [en] Training "Weather" domain model...
✅ [en] "Weather" domain trained
.: GLOBAL RESOLVERS TRAINING :.
ℹ️ [fr] Training "affirmation_denial" resolver...
✅ [fr] "affirmation_denial" resolver trained
.: SKILLS RESOLVERS TRAINING :.
.: GLOBAL ENTITIES TRAINING :.
ℹ️ [fr] Adding "color" global entity...
✅ [fr] "color" global entity added
ℹ️ [fr] Adding "level" global entity...
✅ [fr] "level" global entity added
ℹ️ [fr] Adding "partner_assistant" global entity...
✅ [fr] "partner_assistant" global entity added
.: SKILLS ACTIONS TRAINING :.
ℹ️ [fr] Training "Business & Finance" domain model...
✅ [fr] "Business & Finance" domain trained
ℹ️ [fr] Training "Food & Drink" domain model...
✅ [fr] "Food & Drink" domain trained
ℹ️ [fr] Training "Games" domain model...
ℹ️ [fr] Using "Akinator" skill config data
ℹ️ [fr] Using "Guess the Number" skill config data
ℹ️ [fr] Using "Rochambeau" skill config data
✅ [fr] "Games" domain trained
ℹ️ [fr] Training "Health & Fitness" domain model...
✅ [fr] "Health & Fitness" domain trained
ℹ️ [fr] Training "Knowledge & Education" domain model...
✅ [fr] "Knowledge & Education" domain trained
ℹ️ [fr] Training "Leon" domain model...
ℹ️ [fr] Using "Color" skill config data
ℹ️ [fr] Using "Good Bye" skill config data
ℹ️ [fr] Using "Greeting" skill config data
ℹ️ [fr] Using "Introduction" skill config data
ℹ️ [fr] Using "Joke" skill config data
ℹ️ [fr] Using "Meaning of Life" skill config data
ℹ️ [fr] Using "Partner Assistant" skill config data
ℹ️ [fr] Using "Random Number" skill config data
ℹ️ [fr] Using "Welcome" skill config data
✅ [fr] "Leon" domain trained
ℹ️ [fr] Training "Movies & TV" domain model...
✅ [fr] "Movies & TV" domain trained
ℹ️ [fr] Training "Music & Audio" domain model...
✅ [fr] "Music & Audio" domain trained
ℹ️ [fr] Training "News" domain model...
ℹ️ [fr] Using "GitHub Trends" skill config data
ℹ️ [fr] Using "Product Hunt Trends" skill config data
✅ [fr] "News" domain trained
ℹ️ [fr] Training "Productivity" domain model...
ℹ️ [fr] Using "Todo List" skill config data
✅ [fr] "Productivity" domain trained
ℹ️ [fr] Training "Shopping" domain model...
✅ [fr] "Shopping" domain trained
ℹ️ [fr] Training "Smart Home" domain model...
✅ [fr] "Smart Home" domain trained
ℹ️ [fr] Training "Social & Communication" domain model...
ℹ️ [fr] Using "MBTI (Myers–Briggs Type Indicator)" skill config data
✅ [fr] "Social & Communication" domain trained
ℹ️ [fr] Training "Sport" domain model...
✅ [fr] "Sport" domain trained
ℹ️ [fr] Training "Travel & Transportation" domain model...
✅ [fr] "Travel & Transportation" domain trained
ℹ️ [fr] Training "Unknown" domain model...
✅ [fr] "Unknown" domain trained
ℹ️ [fr] Training "Utilities" domain model...
ℹ️ [fr] Using "Have I Been Pwned" skill config data
ℹ️ [fr] Using "Is It Down" skill config data
ℹ️ [fr] Using "Speed Test" skill config data
ℹ️ [fr] Using "YouTube Downloader" skill config data
✅ [fr] "Utilities" domain trained
ℹ️ [fr] Training "Weather" domain model...
✅ [fr] "Weather" domain trained
✅ Global resolvers NLP model saved in core/data/models/leon-global-resolvers-model.nlp
✅ Hooray! Leon is installed and ready to go!
✅ Skills resolvers NLP model saved in core/data/models/leon-skills-resolvers-model.nlp
✅ Main NLP model saved in core/data/models/leon-main-model.nlp
leon@1.0.0-beta.8+dev prepare
husky install
husky - Git hooks installed
added 1311 packages, and audited 1312 packages in 7m
163 packages are looking for funding
run npm fund for details
3 vulnerabilities (2 moderate, 1 high)
To address all issues (including breaking changes), run:
npm audit fix --force
Run npm audit for details.
- ```npm audit```:
npm ERR! code ENOLOCK
npm ERR! audit This command requires an existing lockfile.
npm ERR! audit Try creating one first with: npm i --package-lock-only
npm ERR! audit Original error: loadVirtual requires existing shrinkwrap file
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Admin\AppData\Local\npm-cache_logs\2023-01-21T18_06_43_841Z-debug-0.log
✅ TCP server version: 1.0.0
ℹ️ Starting the TCP server...
ℹ️ tcp_server\dist\win-amd64\leon-tcp-server en
✅ The TCP server can successfully start
ℹ️ TCP server startup time: 7793ms
ℹ️ 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
✅ Start the TCP server
⚠️ 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
.: PRE-CHECKING :.
ℹ️ Checking voice configuration schemas...
✅ Voice configuration schemas checked
ℹ️ Checking global data schemas...
✅ Global data schemas checked
ℹ️ Checking skills data schemas...
✅ Skills data schemas checked
node:internal/modules/cjs/loader:1056
throw err;
^
Error: Cannot find module './core'
Require stack:
D:\LEON-AI\leon\server\dist\index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1053:15)
at Module._load (node:internal/modules/cjs/loader:898:27)
at Module.require (node:internal/modules/cjs/loader:1120:19)
at require (node:internal/modules/helpers:112:18)
at Object. (D:\LEON-AI\leon\server\dist\index.js:8:16)
at Module._compile (node:internal/modules/cjs/loader:1239:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1293:10)
at Module.load (node:internal/modules/cjs/loader:1096:32)
at Module._load (node:internal/modules/cjs/loader:935:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:84:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ 'D:\LEON-AI\leon\server\dist\index.js' ]
}
Node.js v19.4.0
## The expected behavior
running ```npm start``` successfully and can run on ```http://localhost:1337```
Steps To Reproduce
I follow the tutorial on https://docs.getleon.ai/ (Git (dev))
git clone https://github.com/leon-ai/leon.git leon
Node.js version: v19.4.0
Npm version: v9.2.0
Python version: v3.10.7
pipenv version: 2022.12.19
Go to the project root
cd leon
npm install
:➡ Running Leon's installation...
ℹ️ .env file creation... ✅ .env file created ℹ️ Configuring core... ✅ google-drive.json file created ✅ amazon.json file created ✅ google-cloud.json file created ✅ watson-stt.json file created ✅ watson-tts.json file created ℹ️ Setting up skills configuration... ✅ "Akinator" skill configuration file created ✅ "Guess the Number" skill configuration file created ✅ "Rochambeau" skill configuration file created ✅ "Greeting" skill configuration file created ✅ "Introduction" skill configuration file created ✅ "Random Number" skill configuration file created ✅ "GitHub Trends" skill configuration file created ✅ "Product Hunt Trends" skill configuration file created ✅ "Todo List" skill configuration file created ✅ "MBTI (Myers–Briggs Type Indicator)" skill configuration file created ✅ "Have I Been Pwned" skill configuration file created ✅ "Is It Down" skill configuration file created ✅ "Speed Test" skill configuration file created ✅ "YouTube Downloader" skill configuration file created ✅ Skills configured ℹ️ Downloading Python bridge... Download progress: 100% (15.7 MB/15.7 MB | 2.83 MB/s | 0 ETA) ✅ Python bridge downloaded ℹ️ Extracting Python bridge... ✅ Python bridge extracted ✅ Python bridge ready ℹ️ Downloading TCP server... Download progress: 100% (768 MB/768 MB | 6.02 MB/s | 0 ETA) ✅ TCP server downloaded ℹ️ Extracting TCP server... ✅ TCP server extracted ✅ TCP server ready ℹ️ Generating the HTTP API key... ✅ HTTP API key generated ⠋
.: GLOBAL RESOLVERS TRAINING :. ℹ️ [en] Training "affirmation_denial" resolver... ✅ [en] "affirmation_denial" resolver trained
.: SKILLS RESOLVERS TRAINING :. ℹ️ [en] Training Akinator "answer" resolver... ✅ [en] Akinator "answer" resolver trained ℹ️ [en] Training MBTI (Myers–Briggs Type Indicator) "form" resolver... ✅ [en] MBTI (Myers–Briggs Type Indicator) "form" resolver trained
.: GLOBAL ENTITIES TRAINING :. ℹ️ [en] Adding "color" global entity... ✅ [en] "color" global entity added ℹ️ [en] Adding "level" global entity... ✅ [en] "level" global entity added ℹ️ [en] Adding "partner_assistant" global entity... ✅ [en] "partner_assistant" global entity added
.: SKILLS ACTIONS TRAINING :. ℹ️ [en] Training "Business & Finance" domain model... ✅ [en] "Business & Finance" domain trained ℹ️ [en] Training "Food & Drink" domain model... ✅ [en] "Food & Drink" domain trained ℹ️ [en] Training "Games" domain model... ℹ️ [en] Using "Akinator" skill config data ℹ️ [en] Using "Guess the Number" skill config data ℹ️ [en] Using "Rochambeau" skill config data ✅ [en] "Games" domain trained ℹ️ [en] Training "Health & Fitness" domain model... ✅ [en] "Health & Fitness" domain trained ℹ️ [en] Training "Knowledge & Education" domain model... ✅ [en] "Knowledge & Education" domain trained ℹ️ [en] Training "Leon" domain model... ℹ️ [en] Using "Color" skill config data ℹ️ [en] Using "Good Bye" skill config data ℹ️ [en] Using "Greeting" skill config data ℹ️ [en] Using "Introduction" skill config data ℹ️ [en] Using "Joke" skill config data ℹ️ [en] Using "Meaning of Life" skill config data ℹ️ [en] Using "Partner Assistant" skill config data ℹ️ [en] Using "Random Number" skill config data ℹ️ [en] Using "Welcome" skill config data ✅ [en] "Leon" domain trained ℹ️ [en] Training "Movies & TV" domain model... ✅ [en] "Movies & TV" domain trained ℹ️ [en] Training "Music & Audio" domain model... ✅ [en] "Music & Audio" domain trained ℹ️ [en] Training "News" domain model... ℹ️ [en] Using "GitHub Trends" skill config data ℹ️ [en] Using "Product Hunt Trends" skill config data ✅ [en] "News" domain trained ℹ️ [en] Training "Productivity" domain model... ℹ️ [en] Using "Todo List" skill config data ✅ [en] "Productivity" domain trained ℹ️ [en] Training "Shopping" domain model... ✅ [en] "Shopping" domain trained ℹ️ [en] Training "Smart Home" domain model... ✅ [en] "Smart Home" domain trained ℹ️ [en] Training "Social & Communication" domain model... ℹ️ [en] Using "MBTI (Myers–Briggs Type Indicator)" skill config data ✅ [en] "Social & Communication" domain trained ℹ️ [en] Training "Sport" domain model... ✅ [en] "Sport" domain trained ℹ️ [en] Training "Travel & Transportation" domain model... ✅ [en] "Travel & Transportation" domain trained ℹ️ [en] Training "Unknown" domain model... ✅ [en] "Unknown" domain trained ℹ️ [en] Training "Utilities" domain model... ℹ️ [en] Using "Have I Been Pwned" skill config data ℹ️ [en] Using "Is It Down" skill config data ℹ️ [en] Using "Speed Test" skill config data ℹ️ [en] Using "YouTube Downloader" skill config data ✅ [en] "Utilities" domain trained ℹ️ [en] Training "Weather" domain model... ✅ [en] "Weather" domain trained .: GLOBAL RESOLVERS TRAINING :. ℹ️ [fr] Training "affirmation_denial" resolver... ✅ [fr] "affirmation_denial" resolver trained
.: SKILLS RESOLVERS TRAINING :.
.: GLOBAL ENTITIES TRAINING :. ℹ️ [fr] Adding "color" global entity... ✅ [fr] "color" global entity added ℹ️ [fr] Adding "level" global entity... ✅ [fr] "level" global entity added ℹ️ [fr] Adding "partner_assistant" global entity... ✅ [fr] "partner_assistant" global entity added
.: SKILLS ACTIONS TRAINING :. ℹ️ [fr] Training "Business & Finance" domain model... ✅ [fr] "Business & Finance" domain trained ℹ️ [fr] Training "Food & Drink" domain model... ✅ [fr] "Food & Drink" domain trained ℹ️ [fr] Training "Games" domain model... ℹ️ [fr] Using "Akinator" skill config data ℹ️ [fr] Using "Guess the Number" skill config data ℹ️ [fr] Using "Rochambeau" skill config data ✅ [fr] "Games" domain trained ℹ️ [fr] Training "Health & Fitness" domain model... ✅ [fr] "Health & Fitness" domain trained ℹ️ [fr] Training "Knowledge & Education" domain model... ✅ [fr] "Knowledge & Education" domain trained ℹ️ [fr] Training "Leon" domain model... ℹ️ [fr] Using "Color" skill config data ℹ️ [fr] Using "Good Bye" skill config data ℹ️ [fr] Using "Greeting" skill config data ℹ️ [fr] Using "Introduction" skill config data ℹ️ [fr] Using "Joke" skill config data ℹ️ [fr] Using "Meaning of Life" skill config data ℹ️ [fr] Using "Partner Assistant" skill config data ℹ️ [fr] Using "Random Number" skill config data ℹ️ [fr] Using "Welcome" skill config data ✅ [fr] "Leon" domain trained ℹ️ [fr] Training "Movies & TV" domain model... ✅ [fr] "Movies & TV" domain trained ℹ️ [fr] Training "Music & Audio" domain model... ✅ [fr] "Music & Audio" domain trained ℹ️ [fr] Training "News" domain model... ℹ️ [fr] Using "GitHub Trends" skill config data ℹ️ [fr] Using "Product Hunt Trends" skill config data ✅ [fr] "News" domain trained ℹ️ [fr] Training "Productivity" domain model... ℹ️ [fr] Using "Todo List" skill config data ✅ [fr] "Productivity" domain trained ℹ️ [fr] Training "Shopping" domain model... ✅ [fr] "Shopping" domain trained ℹ️ [fr] Training "Smart Home" domain model... ✅ [fr] "Smart Home" domain trained ℹ️ [fr] Training "Social & Communication" domain model... ℹ️ [fr] Using "MBTI (Myers–Briggs Type Indicator)" skill config data ✅ [fr] "Social & Communication" domain trained ℹ️ [fr] Training "Sport" domain model... ✅ [fr] "Sport" domain trained ℹ️ [fr] Training "Travel & Transportation" domain model... ✅ [fr] "Travel & Transportation" domain trained ℹ️ [fr] Training "Unknown" domain model... ✅ [fr] "Unknown" domain trained ℹ️ [fr] Training "Utilities" domain model... ℹ️ [fr] Using "Have I Been Pwned" skill config data ℹ️ [fr] Using "Is It Down" skill config data ℹ️ [fr] Using "Speed Test" skill config data ℹ️ [fr] Using "YouTube Downloader" skill config data ✅ [fr] "Utilities" domain trained ℹ️ [fr] Training "Weather" domain model... ✅ [fr] "Weather" domain trained ✅ Global resolvers NLP model saved in core/data/models/leon-global-resolvers-model.nlp
✅ Hooray! Leon is installed and ready to go! ✅ Skills resolvers NLP model saved in core/data/models/leon-skills-resolvers-model.nlp ✅ Main NLP model saved in core/data/models/leon-main-model.nlp
husky - Git hooks installed
added 1311 packages, and audited 1312 packages in 7m
163 packages are looking for funding run
npm fund
for details3 vulnerabilities (2 moderate, 1 high)
To address all issues (including breaking changes), run: npm audit fix --force
Run
npm audit
for details.npm ERR! code ENOLOCK npm ERR! audit This command requires an existing lockfile. npm ERR! audit Try creating one first with: npm i --package-lock-only npm ERR! audit Original error: loadVirtual requires existing shrinkwrap file
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Admin\AppData\Local\npm-cache_logs\2023-01-21T18_06_43_841Z-debug-0.log
0 verbose cli C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js 1 info using npm@9.2.0 2 info using node@v19.4.0 3 timing npm:load:whichnode Completed in 0ms 4 timing config:load:defaults Completed in 2ms 5 timing config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc Completed in 2ms 6 timing config:load:builtin Completed in 2ms 7 timing config:load:cli Completed in 2ms 8 timing config:load:env Completed in 0ms 9 timing config:load:file:D:\LEON-AI\leon.npmrc Completed in 1ms 10 timing config:load:project Completed in 4ms 11 timing config:load:file:C:\Users\Admin.npmrc Completed in 0ms 12 timing config:load:user Completed in 0ms 13 timing config:load:file:C:\Users\Admin\AppData\Roaming\npm\etc\npmrc Completed in 1ms 14 timing config:load:global Completed in 1ms 15 timing config:load:setEnvs Completed in 1ms 16 timing config:load Completed in 12ms 17 timing npm:load:configload Completed in 12ms 18 timing npm:load:mkdirpcache Completed in 1ms 19 timing npm:load:mkdirplogs Completed in 1ms 20 verbose title npm audit 21 verbose argv "audit" 22 timing npm:load:setTitle Completed in 1ms 23 timing config:load:flatten Completed in 3ms 24 timing npm:load:display Completed in 3ms 25 verbose logfile logs-max:10 dir:C:\Users\Admin\AppData\Local\npm-cache_logs\2023-01-21T18_06_43_841Z- 26 verbose logfile C:\Users\Admin\AppData\Local\npm-cache_logs\2023-01-21T18_06_43_841Z-debug-0.log 27 timing npm:load:logFile Completed in 18ms 28 timing npm:load:timers Completed in 0ms 29 timing npm:load:configScope Completed in 0ms 30 timing npm:load Completed in 36ms 31 silly logfile start cleaning logs, removing 2 files 32 timing config:load:flatten Completed in 1ms 33 timing arborist:ctor Completed in 1ms 34 timing command:audit Completed in 5ms 35 verbose stack Error: loadVirtual requires existing shrinkwrap file 35 verbose stack at Arborist.loadVirtual (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\load-virtual.js:63:18) 35 verbose stack at async Arborist.audit (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\audit.js:25:18) 35 verbose stack at async Audit.auditAdvisories (C:\Program Files\nodejs\node_modules\npm\lib\commands\audit.js:390:5) 35 verbose stack at async Audit.exec (C:\Program Files\nodejs\node_modules\npm\lib\commands\audit.js:374:7) 35 verbose stack at async module.exports (C:\Program Files\nodejs\node_modules\npm\lib\cli.js:133:5) 36 verbose cwd D:\LEON-AI\leon 37 verbose Windows_NT 10.0.19044 38 verbose node v19.4.0 39 verbose npm v9.2.0 40 error code ENOLOCK 41 error audit This command requires an existing lockfile. 42 error audit Try creating one first with: npm i --package-lock-only 43 error audit Original error: loadVirtual requires existing shrinkwrap file 44 verbose exit 1 45 timing npm Completed in 121ms 46 verbose unfinished npm timer audit 1674324403953 47 verbose code 1 48 error A complete log of this run can be found in: 48 error C:\Users\Admin\AppData\Local\npm-cache_logs\2023-01-21T18_06_43_841Z-debug-0.log
npm WARN using --force Recommended protections disabled. npm ERR! code ENOLOCK npm ERR! audit This command requires an existing lockfile. npm ERR! audit Try creating one first with: npm i --package-lock-only npm ERR! audit Original error: loadVirtual requires existing shrinkwrap file
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Admin\AppData\Local\npm-cache_logs\2023-01-21T09_32_02_145Z-debug-0.log
.: CHECKING :. ℹ️ Leon version ✅ 1.0.0-beta.8+dev
ℹ️ Environment ✅ Total RAM: 15.95 GB ✅ {"type":"Windows_NT","platform":"win32","arch":"x64","cpus":4,"release":"10.0.19044","osName":"Windows 10","distro":null}
ℹ️ node --version ✅ v19.4.0
ℹ️ npm --version ✅ 9.2.0
✅ Python bridge version: 1.0.0 ℹ️ Executing a skill... ℹ️ bridges\python\dist\win-amd64\leon-python-bridge "D:\LEON-AI\leon\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": ["88"], "speech": "88", "core": {}, "options": {}}} ℹ️ Skill execution time: 581ms
✅ TCP server version: 1.0.0 ℹ️ Starting the TCP server... ℹ️ tcp_server\dist\win-amd64\leon-tcp-server en ✅ The TCP server can successfully start ℹ️ TCP server startup time: 7793ms
ℹ️ 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 ✅ Start the TCP server ⚠️ 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
.: REPORT URL :. ℹ️ Sending report... ✅ Report URL: https://report.getleon.ai/raw/poxovoluwu
✓ 84 modules transformed. ../dist/assets/favicon.e9708100.png 11.14 KiB ../dist/assets/logo.847fe8ad.svg 7.58 KiBcripts/app/run-build-app.js ../dist/assets/mic.d8267246.svg 0.75 KiB ../dist/index.html 1.60 KiB ../dist/assets/index.5d534386.css 4.47 KiB / gzip: 1.63 KiB ../dist/assets/index.6cfd375d.js 75.40 KiB / gzip: 28.26 KiB ✅ Web app built
.: GLOBAL RESOLVERS TRAINING :. ℹ️ [en] Training "affirmation_denial" resolver... ✅ [en] "affirmation_denial" resolver trained
.: SKILLS RESOLVERS TRAINING :. ℹ️ [en] Training Akinator "answer" resolver... ✅ [en] Akinator "answer" resolver trained ℹ️ [en] Training MBTI (Myers–Briggs Type Indicator) "form" resolver... ✅ [en] MBTI (Myers–Briggs Type Indicator) "form" resolver trained
.: GLOBAL ENTITIES TRAINING :. ℹ️ [en] Adding "color" global entity... ✅ [en] "color" global entity added ℹ️ [en] Adding "level" global entity... ✅ [en] "level" global entity added ℹ️ [en] Adding "partner_assistant" global entity... ✅ [en] "partner_assistant" global entity added
.: SKILLS ACTIONS TRAINING :. ℹ️ [en] Training "Business & Finance" domain model... ✅ [en] "Business & Finance" domain trained ℹ️ [en] Training "Food & Drink" domain model... ✅ [en] "Food & Drink" domain trained ℹ️ [en] Training "Games" domain model... ℹ️ [en] Using "Akinator" skill config data ℹ️ [en] Using "Guess the Number" skill config data ℹ️ [en] Using "Rochambeau" skill config data ✅ [en] "Games" domain trained ℹ️ [en] Training "Health & Fitness" domain model... ✅ [en] "Health & Fitness" domain trained ℹ️ [en] Training "Knowledge & Education" domain model... ✅ [en] "Knowledge & Education" domain trained ℹ️ [en] Training "Leon" domain model... ℹ️ [en] Using "Color" skill config data ℹ️ [en] Using "Good Bye" skill config data ℹ️ [en] Using "Greeting" skill config data ℹ️ [en] Using "Introduction" skill config data ℹ️ [en] Using "Joke" skill config data ℹ️ [en] Using "Meaning of Life" skill config data ℹ️ [en] Using "Partner Assistant" skill config data ℹ️ [en] Using "Random Number" skill config data ℹ️ [en] Using "Welcome" skill config data ✅ [en] "Leon" domain trained ℹ️ [en] Training "Movies & TV" domain model... ✅ [en] "Movies & TV" domain trained ℹ️ [en] Training "Music & Audio" domain model... ✅ [en] "Music & Audio" domain trained ℹ️ [en] Training "News" domain model... ℹ️ [en] Using "GitHub Trends" skill config data ℹ️ [en] Using "Product Hunt Trends" skill config data ✅ [en] "News" domain trained ℹ️ [en] Training "Productivity" domain model... ℹ️ [en] Using "Todo List" skill config data ✅ [en] "Productivity" domain trained ℹ️ [en] Training "Shopping" domain model... ✅ [en] "Shopping" domain trained ℹ️ [en] Training "Smart Home" domain model... ✅ [en] "Smart Home" domain trained ℹ️ [en] Training "Social & Communication" domain model... ℹ️ [en] Using "MBTI (Myers–Briggs Type Indicator)" skill config data ✅ [en] "Social & Communication" domain trained ℹ️ [en] Training "Sport" domain model... ✅ [en] "Sport" domain trained ℹ️ [en] Training "Travel & Transportation" domain model... ✅ [en] "Travel & Transportation" domain trained ℹ️ [en] Training "Unknown" domain model... ✅ [en] "Unknown" domain trained ℹ️ [en] Training "Utilities" domain model... ℹ️ [en] Using "Have I Been Pwned" skill config data ℹ️ [en] Using "Is It Down" skill config data ℹ️ [en] Using "Speed Test" skill config data ℹ️ [en] Using "YouTube Downloader" skill config data ✅ [en] "Utilities" domain trained ℹ️ [en] Training "Weather" domain model... ✅ [en] "Weather" domain trained
.: GLOBAL RESOLVERS TRAINING :. ℹ️ [fr] Training "affirmation_denial" resolver... ✅ [fr] "affirmation_denial" resolver trained
.: SKILLS RESOLVERS TRAINING :.
.: GLOBAL ENTITIES TRAINING :. ℹ️ [fr] Adding "color" global entity... ✅ [fr] "color" global entity added ℹ️ [fr] Adding "level" global entity... ✅ [fr] "level" global entity added ℹ️ [fr] Adding "partner_assistant" global entity... ✅ [fr] "partner_assistant" global entity added
.: SKILLS ACTIONS TRAINING :. ℹ️ [fr] Training "Business & Finance" domain model... ✅ [fr] "Business & Finance" domain trained ℹ️ [fr] Training "Food & Drink" domain model... ✅ [fr] "Food & Drink" domain trained ℹ️ [fr] Training "Games" domain model... ℹ️ [fr] Using "Akinator" skill config data ℹ️ [fr] Using "Guess the Number" skill config data ℹ️ [fr] Using "Rochambeau" skill config data ✅ [fr] "Games" domain trained ℹ️ [fr] Training "Health & Fitness" domain model... ✅ [fr] "Health & Fitness" domain trained ℹ️ [fr] Training "Knowledge & Education" domain model... ✅ [fr] "Knowledge & Education" domain trained ℹ️ [fr] Training "Leon" domain model... ℹ️ [fr] Using "Color" skill config data ℹ️ [fr] Using "Good Bye" skill config data ℹ️ [fr] Using "Greeting" skill config data ℹ️ [fr] Using "Introduction" skill config data ℹ️ [fr] Using "Joke" skill config data ℹ️ [fr] Using "Meaning of Life" skill config data ℹ️ [fr] Using "Partner Assistant" skill config data ℹ️ [fr] Using "Random Number" skill config data ℹ️ [fr] Using "Welcome" skill config data ✅ [fr] "Leon" domain trained ℹ️ [fr] Training "Movies & TV" domain model... ✅ [fr] "Movies & TV" domain trained ℹ️ [fr] Training "Music & Audio" domain model... ✅ [fr] "Music & Audio" domain trained ℹ️ [fr] Training "News" domain model... ℹ️ [fr] Using "GitHub Trends" skill config data ℹ️ [fr] Using "Product Hunt Trends" skill config data ✅ [fr] "News" domain trained ℹ️ [fr] Training "Productivity" domain model... ℹ️ [fr] Using "Todo List" skill config data ✅ [fr] "Productivity" domain trained ℹ️ [fr] Training "Shopping" domain model... ✅ [fr] "Shopping" domain trained ℹ️ [fr] Training "Smart Home" domain model... ✅ [fr] "Smart Home" domain trained ℹ️ [fr] Training "Social & Communication" domain model... ℹ️ [fr] Using "MBTI (Myers–Briggs Type Indicator)" skill config data ✅ [fr] "Social & Communication" domain trained ℹ️ [fr] Training "Sport" domain model... ✅ [fr] "Sport" domain trained ℹ️ [fr] Training "Travel & Transportation" domain model... ✅ [fr] "Travel & Transportation" domain trained ℹ️ [fr] Training "Unknown" domain model... ✅ [fr] "Unknown" domain trained ℹ️ [fr] Training "Utilities" domain model... ℹ️ [fr] Using "Have I Been Pwned" skill config data ℹ️ [fr] Using "Is It Down" skill config data ℹ️ [fr] Using "Speed Test" skill config data ℹ️ [fr] Using "YouTube Downloader" skill config data ✅ [fr] "Utilities" domain trained ℹ️ [fr] Training "Weather" domain model... ✅ [fr] "Weather" domain trained ✅ Global resolvers NLP model saved in core/data/models/leon-global-resolvers-model.nlp ✅ Skills resolvers NLP model saved in core/data/models/leon-skills-resolvers-model.nlp ✅ Main NLP model saved in core/data/models/leon-main-model.nlp
ℹ️ Parsing skills configuration... ℹ️ Writing /core/skills-endpoints.json file... ✅ /core/skills-endpoints.json file generated resolve-tspaths: changed 34 file(s)
.: PRE-CHECKING :. ℹ️ Checking voice configuration schemas... ✅ Voice configuration schemas checked ℹ️ Checking global data schemas... ✅ Global data schemas checked ℹ️ Checking skills data schemas... ✅ Skills data schemas checked node:internal/modules/cjs/loader:1056 throw err; ^
Error: Cannot find module './core' Require stack:
Node.js v19.4.0