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

Can't get jwt-simple enabled on Cloudflare Workers 2.0 #1

Open
verschoren opened this issue May 31, 2023 · 0 comments
Open

Can't get jwt-simple enabled on Cloudflare Workers 2.0 #1

verschoren opened this issue May 31, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@verschoren
Copy link
Owner

✘ [ERROR] Could not resolve "jwt-simple"

    src/worker.js:1:18:
      1 │ var jwt = require("jwt-simple");
        ╵                   ~~~~~~~~~~~~

  You can mark the path "jwt-simple" as external to exclude it from the bundle, which will remove this error. You can also surround this "require" call with a try/catch block to handle this failure at run-time instead of bundle-time.


✘ [ERROR] Watch build failed: Build failed with 1 error:

  src/worker.js:1:18: ERROR: Could not resolve "jwt-simple"
@verschoren verschoren self-assigned this May 31, 2023
@verschoren verschoren added the bug Something isn't working label May 31, 2023
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