question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issues with ExpoLinearGradient in Windows and MacOS M1

See original GitHub issue

What’s going on?

Ive been trying to run emulator for Android on a Windows 11 and for IOS on a Mac M1 using ignite-cli 7.10.9 -> Both systems show errors with the “ExpoLinearGradient” stopping the process.

The project was created as native cli (without --expo)

For M1, everything was installed clean, no preset on the system.

Using ignite-cli 7.0.6 (on an old project) in windows is working as expected, also on fresh project using ignite-cli 7.10.2 as stated in this issue https://github.com/infinitered/ignite/issues/1936, and launches the Android emulator and USB device properly.

Am I missing something…?

Steps to reproduce

  1. Install application (ignite-cli new MyApp)
  2. Enter the folder and run “yarn android”
  3. Alternatively to step 2, “yarn ios” is also failing

npx ignite-cli doctor results (M1 results):

System
  platform           darwin                                     
  arch               arm64                                      
  cpu                8 cores      Apple M1                      
  directory          mobile       /Users/nestor/Projects/mobile 

JavaScript (and globally-installed packages)
  node               16.15.0      /opt/homebrew/opt/node@16/bin/node 
  npm                8.5.5        /opt/homebrew/opt/node@16/bin/npm  
    expo-cli         5.4.4                                           
    npm              8.8.0                                           
    typescript       4.5.5                                           
    yarn             1.22.18                                         
  yarn               1.22.18      /opt/homebrew/bin/yarn             
  pnpm               -            not installed                      

Ignite
  ignite-cli         7.10.9       /Users/nestor/.npm/_npx/e31027f3785124a8/node_modules/.bin/ignite      
  ignite src         build        /Users/nestor/.npm/_npx/e31027f3785124a8/node_modules/ignite-cli/build 

Android
  java               -            not installed 
  android home       -            undefined     

iOS
  xcode              13.1       
  cocoapods          1.11.3       /opt/homebrew/bin/pod 

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:3
  • Comments:5

github_iconTop GitHub Comments

3reactions
je2rywcommented, May 23, 2022

locked down “expo-linear-gradient” to version “11.0.3”, works for me.

in the package.json:

"expo-linear-gradient": "11.0.3",
0reactions
nesjettcommented, May 30, 2022

Thank you,

Couldn’t test it yet but looks like a good fix. Closing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pls fix m1 chip issues with external monitor hidpi
I have a Dell 4K usb-c Monitor and because of that annoying issue i have to work only in Windows. Probably Apple doesn't...
Read more >
DON'T MAKE THIS MISTAKE with Windows on your M1 Mac!
Parallels 17 use code APPLEWIKI10 for 10% DISCOUNT: https://prf.hn/click/camref:1101lfR6VWindows on M1 Mac Tutorial: ...
Read more >
Apple M1 problems and how to fix them - MacPaw
Apple's M1 Macs marked a new, more powerful era but they haven't been without their problems. Here's how to fix them.
Read more >
Top M1 Mac Issues and Solutions - Stellar Data Recovery
Learn about top issues with the M1 Mac mini, MacBook Pro, and MacBook Air and, troubleshooting tips by following this quick and easy...
Read more >
You Can Finally Run Windows On Your M1-Based Mac, But ...
Windows 10 for ARM Insider Preview running in Parallels Desktop 16.5 on an M1 MacBook Pro. Parallels. When Apple unleashed the first Macs ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found