Skip to content

Error: Unable to resolve module crypto from #273

@90Mark

Description

@90Mark

crypto-js use version @4.0.0

My project is reactnative,I'm just do...

  1. npm install —-save crypto-js

  2. import MD5 from 'crypto-js/md5'

And then,Is an error,The following information:

error: bundling failed: Error: Unable to resolve module crypto from node_modules/crypto-js/core.js: crypto could not be found within the project.

Please tell me what I should do,,Thank you very mucha

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