botpress / botpress

The open-source hub to build & deploy GPT/LLM Agents ⚡️
https://botpress.com
MIT License
12.84k stars 1.8k forks source link

BotPress Local Development #13378

Closed KSahu997 closed 1 month ago

KSahu997 commented 1 month ago

Make sure the issue is related to code located in this repository.

Description of the bug or feature request

having issue in botpress local hosting

on pnpm run build getting failed getting

Tasks: 27 successful, 65 total Cached: 4 cached, 65 total Time: 10.194s Failed: @botpresshub/cerebras#add:interfaces, @botpresshub/telegram#add:interfaces

ERROR run failed: command exited (1)  ELIFECYCLE  Command failed with exit code 1.

KSahu997 commented 1 month ago

installing on windows server node version 20.12.2 npm version 10.7.0

pascal-botpress commented 1 month ago

Hello @KSahu997, Thanks for taking the time to submit this bug report. I have been able to reproduce the issue you are facing and we're working on a fix. I'll let you know as soon as the fix is deployed.

pascal-botpress commented 1 month ago

Hello @KSahu997,

The problem you are facing has been resolved in e24f3f1b8c. You should now be able to git pull and build the repository with pnpm build like before. Unfortunately, you may need to first delete your code-generation build cache first:

# From PowerShell:
Get-ChildItem -Path "." -Directory -Recurse -Filter "bp_modules" | Remove-Item -Recurse -Force

I will not close this issue, but please let us know if you encounter additional issues.

KSahu997 commented 1 month ago

pnpm run test should run its server right ? but its giviing error

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

FAIL packages/cli/src/package-ref.test.ts > parsePackageRef > parse with an absolute path should return path AssertionError: expected { Object (type, name, ...) } to deeply equal { type: 'path', path: '/my/path' }

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯

Test Files 1 failed | 13 passed (14) Tests 1 failed | 207 passed (208) Start at 07:27:41 Duration 3.13s (transform 714ms, setup 2ms, collect 4.32s, tests 550ms, environment 3ms, prepare 1.69s)

 ELIFECYCLE  Test failed. See above for more details.

KSahu997 commented 1 month ago

previous issue was resolved