Redefinition of ... Errors in RCTLog.h after linking RNVectorIcons in a React Native project - xcode

After running the command react-native link react-native-vector-icons I now get a bunch of Redefintion of ... errors in RCTLog.h in RNVectorIcons (it has a little column house icon, is that a library?) errors in Xcode in my react native project. How do I fix these build errors - I tried react-native unlink react-native-vector-icons but that errors ERR! It seems something went wrong while unlinking. Error: Cannot read property 'config' of undefined so it looks like I have to fix this manually.
For context I was trying to work around the font not found errors from using #shoutem/ui with react native.
https://github.com/shoutem/ui/issues/95

Found the answer in this response to an issue in github https://github.com/shoutem/ui/issues/134
Looks like the link command for shoutem/ui and vector icons was not updated for react 0.40. You have to manually change the import statements in the libraries for BVLinearGradient... from
#import "RCTBridge.h"
#import "RCTViewManager.h"
#import "RCTView.h"
to this
#import <React/RCTBridge.h>
#import <React/RCTViewManager.h>
#import <React/RCTView.h>

Related

Parse Issue (Xcode): Module 'survey-kit' not found

When running flutter build IPA, this error occurs:
Parse Issue (Xcode): Module 'survey-kit' not found
~/ios/Runner/GeneratedPluginRegistratant.m:47:8
Encountered error while archiving for device.
Where the error is located there is an #import survey-kit command:
Where the error is
For some reason, it is having a problem finding survey_kit, yet the rest of the imports it can find. Here is survey_kit next to all of the other modules:
survey_kit
What could be the reason for the import command not being able to find survey_kit specifically?

Compiling Sass or Scss Error in Laravel 7 with TailwindCSS

I have put the SCSS file in the directory: ProjectName/public/css/main.scss
and I have followed the method of this problem but it didn't work, even though it was only a little different, it didn't solve my problem. following the link:laravel-scss-compiling-fails
actually I am in this project using laravel/ui, that is Tailwindcss.
please help with my problem, and hopefully with this it can help friends who are also experiencing problems like me.🙏🙏🙏
enter image description here
Compiling Sass/Scss Files:
d:\laragon\www\ProjectName\public\css\main.scss
d:\laragon\www\ProjectName\vendor\laravel\ui\src\Presets\bootstrap-stubs\app.scss
--------------------
Compilation Error
Error: File "d:\laragon\www\ProjectName\vendor\laravel\ui\src\Presets\bootstrap-stubs\~bootstrap\scss\bootstrap" not found
on line 8 of sass/d:\laragon\www\ProjectName\vendor\laravel\ui\src\Presets\bootstrap-stubs\app.scss
>> #import '~bootstrap/scss/bootstrap';
--------^
--------------------

Error importing sass files

I am having an issue trying to import SCSS files in my Nativescript app. I am adding these lines to add my default theme styles in my app, the lines are added in the app.android.scss and app.ios.scss:
#import '~/assets/skin';
#import '~/assets/list';
The files are inside app/assets folder and their real names are: _skin.scss and _list.scss.
The problem is when I try to use Nativescript Sidekick and build for iOS in the cloud it gives me this error:
Found peer node-sass
[17-10-25 13:55:16.820] (Info) Error: It's not clear which file to import for '#import \"assets/skin\"'.
[17-10-25 13:55:16.822] (Info) Candidates:
[17-10-25 13:55:16.823] (Info) assets/_skin.scss
[17-10-25 13:55:16.825] (Info) assets/skin.css
But building the app for android locally it works.
Any suggestion?
Thanks!

Update css in old project with jeet 2

I have this project I worked on with jeet 2, and that I need to update some styles.
In my machine I updated already the jeet version to version 3 via npm
Now when I do "jeet watch" I got this error :
Doesn't appear to be a Jeet Directory
I tried using Prepros to watch and compile the .styl files but I got another error :
> 1| #import 'nib'
2|
3| /* Syntax quick reference
4| * ----------------------
failed to locate #import file nib.styl
Any ideas what should I do?
Jeet's major releases really don't have a good way to elegantly upgrade as they're so drastically different from the last.
For instance, Jeet isn't a command line tool anymore. But you can use it as a Stylus library: https://github.com/mojotech/jeet#installation
So far as nib failing to be found it's probably not on your system. Try this: npm install -g nib

Foundation file to import not found or unreadable

Using the new Yeoman beta 1.0
I bootstrapped an angular application, and installed foundation via bower.
When I run my server, I get this error:
error app/styles/main.scss (Line 7 of app/components/foundation/scss/foundation.scss: File to import not found or unreadable: modular-scale.
The import is #import "modular-scale";
I tried to change that to #import "foundation/functions/modular-scale";
But got a loop warning then, saying it was trying to import itself.
Tried adding the ruby gem 'modular-scale' in my grunt file, under compass with
require: 'modular-scale'
But it doesn't seem to work either
Anyways, I am not sure what to do here.
I had a similar problem when migrating an app to 1.0. Bower was installing the components into a top-level components directory instead of at app/components. If that is the case, one fix is to add a file .bowerrc with
{
"directory": "app/components"
}
I'm not sure the root cause, as creating a new webapp with Yeoman 1.0 doesn't suffer from this problem.

Resources