Git Product home page Git Product logo

Comments (8)

andfaulkner avatar andfaulkner commented on June 12, 2024 44

I was able to fix this by running npm install in the project root directory.

from asap.

gtsasil avatar gtsasil commented on June 12, 2024 1

I installed yarn after create the project then start get some warnings while I tried to install anything. So I uninstalled it and when tried to run "react-native run-ios" and got Error: Cannot find module 'asap/raw'.
To fix it I run npm install after read " @andfaulkner post.

Thanks

from asap.

jrm2k6 avatar jrm2k6 commented on June 12, 2024

Any update on that?

from asap.

DanBeard avatar DanBeard commented on June 12, 2024

For anyone else who finds this issue because react is complaining about asap. I was able to fix it using rn-nodeify .

from asap.

javascriptlove avatar javascriptlove commented on June 12, 2024

Just ran into same issue on Meteor when importing react-dnd, which imports asap

from asap.

kriskowal avatar kriskowal commented on June 12, 2024

ASAP does depend on your module loader to respect the "browser" field in "package.json", per the behavior codified by Browserify. Please direct your questions and reference this ticket to the maintainers of your module system of choice.

Thank you for chiming in @DanBeard. That’s one expected mitigation.

from asap.

miguelHx avatar miguelHx commented on June 12, 2024

Fixed this by running ./node_modules/react-native/scripts/packager.sh --resetCache

from asap.

ThaJay avatar ThaJay commented on June 12, 2024

@andfaulkner I'm using yarn so that's not obvious (and should not work) but it does!

from asap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.