Coder Social home page Coder Social logo

Error saving ui-module about ui HOT 16 CLOSED

shoutem avatar shoutem commented on August 21, 2024
Error saving ui-module

from ui.

Comments (16)

ufon avatar ufon commented on August 21, 2024 5

solution:
npm install --save @shoutem/ui --ignore-scripts
after that:
react-native link
but i'm not sure maybe this script are important
"test": "mocha -R spec --require test-utils/setup.js --require react-native-mock/mock.js --compilers js:babel-core/register $(find . -name '*.spec.js' ! -ipath '*node_modules*')",

but all work's fine

from ui.

SoHotSoup avatar SoHotSoup commented on August 21, 2024

You have to instal react-native-cli

npm install -g react-native-cli

from ui.

jackbillstrom avatar jackbillstrom commented on August 21, 2024

Already did, followed "To fix the issue, run:" @SoHotSoup

from ui.

SoHotSoup avatar SoHotSoup commented on August 21, 2024

Ok, have you tried to install @shoutem/ui again? Does it pass now?
It seems to me that it would be enough to run react-native link from your projects' root folder

Could you try build your app and confirm that everything works now?

from ui.

jackbillstrom avatar jackbillstrom commented on August 21, 2024

Same error even though I have the react-native-cli and uninstalled the react-native. FYI am I unable to install your @shoutem/cli (Does not exist on npm?)

from ui.

SoHotSoup avatar SoHotSoup commented on August 21, 2024

@shoutem/cli is not public yet, it would be when we release Extensions, public beta is coming soon, we'll let you know when is available.

@jackbillstrom In order to fix the error, have you tried just to run react-native link within your project? Also, could I ask you, to write your react native version here?

from ui.

jackbillstrom avatar jackbillstrom commented on August 21, 2024

Yeah, I did run react-native linkwithin my RN project but no success or output.

This is my versions:

react-native-cli: 1.0.0
react-native: 0.34.1

from ui.

SoHotSoup avatar SoHotSoup commented on August 21, 2024

Ok, I'll test it later and report you. It seems to me that this is something introduced in new RN version because it normally passes with RN0.33.0

Thank you!

from ui.

jackbillstrom avatar jackbillstrom commented on August 21, 2024

I see, well I'm looking forward to your answer. In the "worst" case I just try to downgrade RN down to 33.0. Cheers!

from ui.

jackbillstrom avatar jackbillstrom commented on August 21, 2024

@SoHotSoup Actually tried with an project using RN 0.33.0, still no luck so you know!

from ui.

putuyoga avatar putuyoga commented on August 21, 2024

i have same issue with this one @SoHotSoup , however the old version shoutem/ui seems fine (0.8.5 version). I don't know what is wrong. Already uninstalled the react-native and install react-native-cli globally. It failed at postscript installation.

from ui.

ufon avatar ufon commented on August 21, 2024

+1 @putuyoga

from ui.

jackbillstrom avatar jackbillstrom commented on August 21, 2024

Why didn't I thought of it....cheers mate!

from ui.

anhnt avatar anhnt commented on August 21, 2024

you saved my hour @ufon 👍

from ui.

SoHotSoup avatar SoHotSoup commented on August 21, 2024

#86

from ui.

rockus123 avatar rockus123 commented on August 21, 2024

Why so hard even during installation? Programmers should make things like these simple.

from ui.

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.