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

Issue with vercel edge functions: unsupported module layerr #34

Open
nkuehn opened this issue Oct 11, 2023 · 4 comments
Open

Issue with vercel edge functions: unsupported module layerr #34

nkuehn opened this issue Oct 11, 2023 · 4 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@nkuehn
Copy link

nkuehn commented Oct 11, 2023

Hi, thank you very much for providing a better maintained version of ULID!

I was successfully using it in the local vercel dev mode but the build fails on vercel when pushing.

"Error: The Edge Function "foo" is referencing unsupported modules: - ulidx: layerr ("foo" replaced my function path)

vercel is recommending nanoid but it would be a pity if that's the only option (which is not sortable)

https://vercel.com/guides/library-sdk-compatible-with-vercel-edge-runtime-and-functions

@perry-mitchell
Copy link
Owner

I'd need to check what's failing, but if you have any ideas I'd like to hear them. I maintain layerr as well, if it's something in that library I can address it. I'm not aware of any native libraries being used there, however..

@nkuehn
Copy link
Author

nkuehn commented Oct 12, 2023

I'm sorry but I really have no idea what it could be. From the logs it looks like some custom check vercel does - at least I cannot reconcile seeing the kind of error in other contexts.

@perry-mitchell
Copy link
Owner

perry-mitchell commented Oct 12, 2023 via email

@perry-mitchell perry-mitchell added bug Something isn't working help wanted Extra attention is needed labels Oct 14, 2023
@arjunyel
Copy link
Contributor

arjunyel commented May 8, 2024

Are you using CJS? https://arethetypeswrong.github.io/?p=layerr%403.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants