reflex icon indicating copy to clipboard operation
reflex copied to clipboard

error: snap "export-sitemap" is not installed

Open jq6l43d1 opened this issue 1 year ago β€’ 1 comments

Describe the bug I'm getting the following error when I run 'reflex run --env=prod'

error: snap "export-sitemap" is not installed

[19:56:45] Compiling: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 41/41 0:00:02 Debug: Running command: ['/usr/bin/snap', 'run', 'next', 'telemetry', 'disable'] Debug: Running command: ['/usr/bin/snap', 'run', 'export-sitemap'] Debug: Creating Production Build Debug: error: snap "export-sitemap" is not installed Creating Production Build: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0% 0/9 0:00:00Creating Production Build failed with exit code 1 error: snap "export-sitemap" is not installed Run with --loglevel debug for the full log. Creating Production Build: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0% 0/9 0:00:00 [19:56:47] Reflex app stopped.

To Reproduce Steps to reproduce the behavior: I think this error has something to do with the version of Ubuntu and/or Python I was using. When I tested the code on my local machine running Ubuntu 24.10, Python 3.12.7, and Reflex 0.6.6.post3 everything worked. When I tried to run the code on my server I got this error.

Expected behavior The website should compile without error.

Specifics (please complete the following information):

  • Python Version: 3.10.12
  • Reflex Version: I tried 0.6.5 and 0.6.6.post3
  • OS: Ubuntu 22.04

jq6l43d1 avatar Dec 11 '24 21:12 jq6l43d1

Did you install node on your server with snap?

A bug we fixed for Volta should also resolve this problem.

Will be in release 0.7.0

Lendemor avatar Jan 24 '25 16:01 Lendemor

0.7.0a1 has been release, feel free to test it out and report to us if the issue hasn't been fixed

adhami3310 avatar Feb 04 '25 02:02 adhami3310