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

Could not resolve "crypto" #14

Open
alex8bitw opened this issue Sep 26, 2023 · 0 comments
Open

Could not resolve "crypto" #14

alex8bitw opened this issue Sep 26, 2023 · 0 comments

Comments

@alex8bitw
Copy link

✘ [ERROR] Could not resolve "crypto"

node_modules/@netacea/netaceaintegrationbase/dist/mitataCookie.js:4:25:
  4 │ const crypto_1 = require("crypto");
    ╵                          ~~~~~~~~

The package "crypto" wasn't found on the file system but is built into node.
Add "node_compat = true" to your wrangler.toml file to enable Node.js compatibility.

✘ [ERROR] Could not resolve "crypto"

node_modules/aws4/aws4.js:4:21:
  4 │     crypto = require('crypto'),
    ╵                      ~~~~~~~~

The package "crypto" wasn't found on the file system but is built into node.
Add "node_compat = true" to your wrangler.toml file to enable Node.js compatibility.

✘ [ERROR] Build failed with 2 errors:

node_modules/@netacea/netaceaintegrationbase/dist/mitataCookie.js:4:25: ERROR: Could not resolve
"crypto"
node_modules/aws4/aws4.js:4:21: ERROR: Could not resolve "crypto"

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