Giter Site home page Giter Site logo

Comments (3)

czy0729 avatar czy0729 commented on May 5, 2024

这个问题我前半个月应该弄了一个对策,在package.json里面

"resolutions": {

因为有些其他库也肯定用了这个包,那些库很老旧,所以我强制把源都改成这个,你还出现这个情况说明这个对策可能对某些机子不生效,这是我没料到的。

然后我把readme里面的删除了,我现在找回来,你可以试试:
** 遇到 undefined is not an object (evaluating '_this.view._component.measureInWindow') **

部分包使用了旧库,不想麻烦升级,所以把 components/@/react-native-safe-area-view/index.js 替换掉 node_modules/react-native-safe-area-view/index.js

from bangumi.

zzb-bigboss avatar zzb-bigboss commented on May 5, 2024

@czy0729 非常感谢您的帮助,但是在我构建的项目node_modules/react-native-safe-area-view路径下并没有index.js文件。我尝试将components/@/react-native-safe-area-view/index.js的代码替换掉node_modules/react-native-safe-area-view/index.tsx。但是依然没有解决问题
WeChat8f50c747cb55ad94fc161c4836418b4f

from bangumi.

czy0729 avatar czy0729 commented on May 5, 2024

你试试把node_modules删掉,把lock文件删掉,用yarn安装不要用npm

from bangumi.

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.