React Native bug ( Android only ) - no identifiers allowed directly after numeric literal - react-native

Hello i'm hitting this issue under Android env ( working fine on iOS )
No identifiers allowed directly after numeric literal
I have done some research and a lot of people who have the same issue are receiving it from some Color package. How ever this package is not using directly in my project rather it's dep on dep and more precisely #react-navigation/native
any idea how to solve the issue, tried everything :(

Related

When i click on the Kotlin Repl in IntelliJ Idea , the window never opens . Nothing happens . Please anyone tell me how to fix this

Kotlin Repl does not open ,nothing happens on clicking it
My solution/workaround. What happens is, and by the way the Intellij ide warns you about this, that you create the project and when naming it you use a space or similar unsupported character and the ide still seems to create the project just fine but actually it doesn't. Your project comes out misconfigured and you can't use Kotlin Repl. The simplest solution is to replace any spaces (or similar forbidden characters) with a hyphen "-" or an underscore "_" or simply use cammelCase. Best of luck to everybody and hope future learners of kotlin see this and spend less time troubleshooting such a simple issue.
Do you have a project open when you click it? This post states: "At this time the Kotlin REPL requires you to have a project open. You don't need to configure anything specific in the project; a Java project with the default settings will run just fine.
If you want to try Kotlin without configuring anything, you can use the online IDE at http://try.kotlinlang.org/"

Quiz App will not load after importing files

I am creating a simple quiz app as I am learning React Native. I created a Folder to store all the components I will need.
However, I have this error:
Does anybody know why this error is coming up? I am not sure why it has "data" in small caps since I have it in VS code as uppercase d. This is a strange error I have never seen before. Any leads would be appreciated.
So here is what I think could be happening:
In your Quiz.js file - You might have imported and tried to use a node module that is not installed
Even though your folder has a "D" for data - You might have had the path to it( at least in one file) as a small cap
You could be calling referencing a path to a file that is completely outside the scope of your project.
I have never seen exactly this type of error before, but it looks similar to the ones I have seen when I have made mistakes like the ones I mentioned above.

Single quote not allowed in Html.elm elm 0.18

Hi everybody habe a strange problem in elm.
Just updated elm form 0.17 to 0.18.
Project was running fine in 0.17
Now the complier throws an error in 018.
That's what he's saying:
-- SYNTAX PROBLEM ---------- elm-stuff/packages/elm- lang/html/1.1.0/src/Html.elm
Ran into a single quote in a variable name. This was removed in 0.18!
9| , section, nav, article, aside, header, footer, address, main', body ^
Change it to a number or an underscore, like main_ or main1
Or better yet, choose a more descriptive name!
Anyone else has this problem?
What might be the problem: I use "main" already in
main : Program Never
Elm seems to have a problem because Html has the function main, too..
Might this be the case?
kind regards
Martin
Based on your error message, it looks like you are referencing an older version of the elm-lang/html package. You'll need to upgrade to the latest version.
The old source code had a function called main', which was causing the problem after the 0.18 upgrade. The single quote, or prime, was removed in Elm 0.18. Here's Evan's comment from the blog post about the 0.18 release:
Primes — Names like x' are no longer permitted. A younger me (one who was less concerned about nice variable names) certainly thought writing “x prime” was pretty neat! But in general, this syntax is too confusing to be worth it. Single quotes are generally associated with strings and characters. To see it unbalanced and part of a variable throws people off, and the benefit of having it is pretty small.
I've run into this problem. I've cloned the example project a long time ago and ran it then. I've ran the examples today after upgrading to Elm 0.18 and the problem occur. The solution was to delete the elm-stuff directory and restart elm-reactor which download the latest packages including html-2.0.0

Swift 3 Compiling Error with Alamofire

I seem to be having a problem with "Alamofire" being recognized. I have cleaned and then built. sometimes it will recognize it for a few seconds, but then will not. I have looked at past comments, and changed the syntax within the ( ), but that is not the problem. The problem is the Alamofire. When I start to type, the only option I get is AlamofireVersionNumber. I did import Alamofire, so that is not the issue. I am at a loss. I am running Xcode 8 Beta 6.

Product Name started by a number gets replaced in Xcode by "_"

Xcode 4.0.2 is driving me crazy with this new error.
I have an App with a Product Name that is started with a number, let's say "3Dgame". The problem is Xcode transform "3Dgame" to "_Dgame" so my App ID com.myenterprise._Dgame obviously doesn't match with the App ID of the Provisionning Profile.
Anyone with a hint of how to avoid this annoying behaviour? Thanks!
You can change the app ID in the plist directly. In general it is not a good idea to start a project title with a digit, since variables in most programming languages cannot start with digits, and the name of your Xcode project might get translated into variable names in various places; so Xcode simply removes a starting digit to avoid bad behavior. So you can still name your project with a digit, you just can't expect that behind the scenes it will always remain that way.
It's not much of an issue since the App ID you are needing is easily changed to anything you want.