Skip to content

Issue After Upgrade to v0.40 #80

Description

@angusmccloud

I recently upgraded to React Native v0.40 (running on a PC), and am now having issues with Crypto-Js, as explained below. It was working fine before the upgrade, and functionally still seems to be working, but React is throwing errors.

I've tried uninstalling/re-installing the module ("npm uninstall/install crypto-js"), no change.
Based on some google/Stack-Overflowing I also tried "npm install -g crypto-js --save" but that didn't fix anything

Running "npm list" gives: npm ERR! extraneous: crypto-js@3.1.9-1

I can run Android on my PC in the simulator just fine (and I've verified the Crypto is working), but when I try to package the app I get:
Unable to resolve module crypto-js/md5 from /private/tmp/sandbox/workspace/app/screens/LoginPage.js: Module does not exist in the module map or in these directories:
/private/tmp/sandbox/workspace/node_modules/crypto-js

Thanks for any help people have!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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