error: error reading EXAppLoaderProvider/EXAppLoaderProvider.m' - xcode

After cloning the git repo of a expo project, and doing an npm install/pod install, I receive the following error:
error: error reading '/Users/user/Desktop/example-project/node_modules/expo-app-loader-provider/ios/EXAppLoaderProvider/EXAppLoaderProvider.m'
I tried to delete the Derived data, build with legacy mode, delete podlock and package lock files, with no luck
Any ideas what is happening/must be done?
Thank you!

Related

Flutter SDK windows upgrade - Access denied, Cookies not found

I'm on windows and i tried to upgrade to the latest flutter sdk version but the error below kept appearing. FYI, i tried most fixes i found on GitHub. I downloaded the zipped file from their docs and unzipped in Documents as it has read/write permissions, turned off firewall, run flutter doctor -v in PowerShell, etc.
After running flutter doctor -v, this happened
λ flutter doctor -v
Building flutter tool...
Running pub upgrade...
../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/async_core.dart:28:1: Error: Error when reading '../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/src/async/cookies.dart': Access is denied.
export 'package:webdriver/src/async/cookies.dart';
^
../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/src/async/web_driver.dart:20:8: Error: Error when reading '../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/src/async/cookies.dart': Access is denied.
import 'package:webdriver/src/async/cookies.dart';
^
../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/sync_core.dart:35:1: Error: Error when reading '../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/src/sync/cookies.dart': Access is denied.
export 'package:webdriver/src/sync/cookies.dart';
^
../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/src/sync/web_driver.dart:25:8: Error: Error when reading '../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/src/sync/cookies.dart': Access is denied.
import 'package:webdriver/src/sync/cookies.dart';
^
../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/src/handler/json_wire_handler.dart:6:8: Error: Error when reading '../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/src/handler/json_wire/cookies.dart': Access is denied.
import 'package:webdriver/src/handler/json_wire/cookies.dart';
^
../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/src/handler/w3c_handler.dart:6:8: Error: Error when reading '../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/src/handler/w3c/cookies.dart': Access is denied.
import 'package:webdriver/src/handler/w3c/cookies.dart';
^
../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/src/async/web_driver.dart:175:3: Error: Type 'Cookies' not found.
Cookies get cookies => Cookies(_client, _handler);
^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/src/sync/web_driver.dart:183:3: Error: Type 'Cookies' not found.
Cookies get cookies => Cookies(_client, _handler);
^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/src/async/web_driver.dart:175:26: Error: The method 'Cookies' isn't defined for the class 'WebDriver'.
- 'WebDriver' is from 'package:webdriver/src/async/web_driver.dart' ('../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/src/async/web_driver.dart').
Try correcting the name to the name of an existing method, or defining a method named 'Cookies'.
Cookies get cookies => Cookies(_client, _handler);
^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/src/handler/json_wire_handler.dart:52:34: Error: Method not found: 'JsonWireCookiesHandler'.
final CookiesHandler cookies = JsonWireCookiesHandler();
I keep coming back to this. Any fix?
It worked. FYI, i had not deleted the previous SDK, but placed it in D:\
Here is my fix:
I turned off my firewall
Moved to the old SDK folder (which resides in D:)
Run the folder in CMD with administrator rights (i was using cmder)
Replaced the flutter path in ENV with that of the previous SDK
And then run:
git clean -xfd
git stash save --keep-index
git stash drop
git pull
flutter doctor -v

`npm install` issues/failure with expo-cli and react-native-app

I really need some help with what seems to be the most basic task (setting up the expo/react-native project). I've installed the expo-cli (v3.11.7), react-native (v2.0.1), watchman (v4.9.0) and node (v12.14.1). I've followed the tutorial up until the point where I need to run expo start and I get the following error:
Your project is in SDK version >= 33.0.0, but the expo package version seems to be older.
Error: node_modules directory is missing. Please run npm install in your project directory.
Couldn't start project. Please fix the errors and restart the project.
Set EXPO_DEBUG=true in your env to view the stack trace.
I've then run npm install and tried again but the same error pops up. I've removed the node_modules folder and that didn't work either.
Update:
When I npm install this is the error I'm seeing:
npm WARN deprecated core-js#1.2.7: core-js#<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js#3.
npm ERR! code EPROTO
npm ERR! errno EPROTO
npm ERR! request to https://codeload.github.com/expo/react-native/tar.gz/sdk-36.0.0 failed, reason: write EPROTO 4521895360:error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1544:SSL alert number 40
I've installed yarn (v1.21.1) and tried installing using this with the same error:
warning expo > fbemitter > fbjs > core-js#1.2.7: core-js#<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js#3.
error An unexpected error occurred: "https://github.com/expo/react-native/archive/sdk-36.0.0.tar.gz: write EPROTO 4356277696:error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1544:SSL alert number 40
Can anyone advise?
I've managed to solve the problem. I was trying to install over my home network, which apparently has some proxy restrictions! No idea why.
Someone advised me to try again but connected to another network or my mobile hotspot. I tried this and it worked! Problem solved. So I guess for any others that may be experiencing the same problem, try connecting to another network and see if that helps.
If this fails, then I suppose looking at the proxy configuration and making changes there may help. But I wouldn't advise doing this unless you know exactly what you're doing.

Unable to run the flutter code getting error

Unable to run the flutter code getting error
Failed to capture snapshot of input files for task
'javaPreCompileDebug' property 'compileClasspaths' during up-to-date
check. > Error snapshotting jar [flutter.jar]
Finished with error: Gradle build failed: 1
Try
git clean -xfd
git pull
flutter doctor
in your Flutter install directory to fix your Flutter installation.

Errors appearing in terminal after updating Anaconda

I ran conda update --all recently and now every time I open a new terminal I get these error lines at the top:
ERROR: This cross-compiler package contains no program /bin/x86_64-conda_cos6-linux-gnu-addr2line
ERROR: activate-binutils_linux-64.sh failed, see above for details
ERROR: This cross-compiler package contains no program /bin/x86_64-conda_cos6-linux-gnu-cc
ERROR: activate-gcc_linux-64.sh failed, see above for details
ERROR: This cross-compiler package contains no program /bin/x86_64-conda_cos6-linux-gnu-c++
ERROR: activate-gxx_linux-64.sh failed, see above for details
(anaconda3-4.4.0) imran#holly:~$
Any idea what is going on and how to fix it?
I solved this with:
conda remove gcc_linux-64 gcc_impl_linux-64 binutils_linux-64 binutils_impl_linux-64
Thanks to the help in the comments from #darthbith

Scrapinghub deployment error: non-exit status 1

i get this error mesage when I try to deploy my project and I really do not understand why:error log
shub is unable to build the Python egg of your project. This could be related to a misconfigured setup.py. Try running the 'build egg' command yourself so you can take a look at the error message: python setup.py clean -a bdist_egg -d temp_directory (run it in your project directory).
If you don't have any custom/important code in your setup.py, you can try deleting it, and shub will auto-generate a vanilla one on the next deploy.

Resources