Skip to content

Could not resolve "crypto" #14

@alex8bitw

Description

@alex8bitw

✘ [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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions