botpress / v12

Botpress OSS – v12
https://v12.botpress.com
GNU Affero General Public License v3.0
68 stars 84 forks source link

getting @botpress/node-svm not found during build #1730

Closed chaitanya71998 closed 1 year ago

chaitanya71998 commented 1 year ago

Describe the bug Got an issue with @botpress/node-svm package while installing. saying the package is not found

Environment (please complete the following information):

error view :
Status: error An unexpected error occurred: "https://registry.yarnpkg.com/@botpress/node-svm/-/node-svm-0.0.3.tgz: Request failed \"404 Not Found\"".

Output: [1/4] Resolving packages...
[2/4] Fetching packages...
info If you think this is a bug, please open a bug report with the information provided in "/home/nw-tech-dev-chaitanya/Documents/Repositories/nw-lp-botpress/modules/ndu/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

[19:07:04] 'build-module ndu' errored after 11 s
[19:07:04] Error: Command failed: cross-env npm_config_target_platform=darwin yarn  && yarn build --fail-on-error
error An unexpected error occurred: "https://registry.yarnpkg.com/@botpress/node-svm/-/node-svm-0.0.3.tgz: Request failed \"404 Not Found\"".

    at ChildProcess.exithandler (child_process.js:303:12)
    at ChildProcess.emit (events.js:315:20)
    at ChildProcess.EventEmitter.emit (domain.js:505:15)
    at maybeClose (internal/child_process.js:1021:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
[19:07:04] 'build' errored after 4.3 min
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
davidvitora commented 1 year ago

https://github.com/botpress/botpress/pull/12567

murali1999-tech commented 1 year ago

Check if the package "@botpress/node-svm" version "0.0.3" is still available in the registry by visiting the URL "https://registry.yarnpkg.com/@botpress/node-svm/-/node-svm-0.0.3.tgz" in your web browser. If the URL returns a 404 error, it means the package version is no longer available.

If the package version is no longer available, you can try installing a different version of the package or a different package that serves the same purpose.

If the issue persists, you can try clearing the Yarn cache by running the command "yarn cache clean" and then try installing the package again.