Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transformers.js not supported #4101

Open
nilangablockstars opened this issue Dec 4, 2024 · 0 comments
Open

transformers.js not supported #4101

nilangablockstars opened this issue Dec 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@nilangablockstars
Copy link

nilangablockstars commented Dec 4, 2024

Describe the bug
When i try to deploy I get this below error 'transformers.js not supported'

  • Operating system
  • fly v0.3.45 darwin/amd64 Commit: d36714daf1a0bc2157649365827093e0948d9b1d BuildDate: 2024-12-02T15:41:58Z
# fly.toml app configuration file generated for callx on 2024-09-12T10:56:42+04:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

kill_signal = "SIGINT"
kill_timeout = 10

app = 'callx'
primary_region = 'iad'

[build]

[env]
  PORT = 3000

[services]
  internal_port = 3000
  protocol = "tcp"
  force_https = true
  auto_stop_machines = 'stop'
  auto_start_machines = true
  min_machines_running = 1
  processes = ['app']
  [services.concurrency]
    type = "connections"
    hard_limit = 30
    soft_limit = 10

  [[services.ports]]
    handlers = ["http"]
    port = "80"

  [[services.ports]]
    handlers = ["tls", "http"]
    port = "443"

  [[services.tcp_checks]]
    interval = "15s"   # Check every 10 seconds
    timeout = "5s"     # Timeout after 2 seconds

[[vm]]
  memory = '1gb'
  cpu_kind = "shared"
  cpus = 1

** Command output: **

Error [ERR_REQUIRE_ESM]: require() of ES Module /app/node_modules/.pnpm/@[email protected]/node_modules/@xenova/transformers/src/transformers.js from /app/dist/index.js not supported.
@nilangablockstars nilangablockstars added the bug Something isn't working label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant