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

Path error when using lambda and 2.2.8 #501

Open
gtevans opened this issue Jan 10, 2025 · 0 comments
Open

Path error when using lambda and 2.2.8 #501

gtevans opened this issue Jan 10, 2025 · 0 comments

Comments

@gtevans
Copy link

gtevans commented Jan 10, 2025

🐛 Bug Report

Following the instructions on running on lambda, version 2.2.8 errors with

The "path" argument must be of type string or an instance of URL. Received undefined"

This is due to the following commit which fails when calling fileURLToPath. This commit also adds a dependency on the location of package.json which won't exist as the lambda has been packaged using esbuild.

Version 2.2.7 works as expected.

To Reproduce

Steps to reproduce the behavior:

  1. Follow running on lambda guide
  2. Turbo errors when attempting to cache files
    Error received -

WARNING failed to contact remote cache: Error making HTTP request: HTTP status server error (502 Bad Gateway) for url (https://...)

Expected behavior

Files are cached.

Your Environment

  • OS: Mac
  • Cloud Vendor: AWS
  • Turbo Version: 2.3.3
@gtevans gtevans changed the title path error when using lambda and 2.2.8 Path error when using lambda and 2.2.8 Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant