Questions tagged [parsing-error]

72 questions
7
votes
2 answers

Typescript parsing error when EXTEND_ESLINT=true in create-react-app

Stripped down demonstration - GitHub We currently have a create-react-app project that is undergoing an incremental migration from Flow to Typescript. This meant disabling some undesirable ESLint rules. In order to customise ESLint, I've added…
7
votes
3 answers

HTML Parsing Error

I can't find out what the problem is, and why I keep receiving this error in Internet Explorer 8, as it's the only error that I am receiving. Any thoughts as to what it means, or a simple solution? I haven't noticed any problems with my code though,…
homework
  • 4,987
  • 11
  • 40
  • 50
5
votes
1 answer

Weird compiler error

I just bumped into this little error with msvc. It looks like a parsing problem to me but I'm not sure. The following gives me C2143 syntax error: missing ';' before'}' #include struct X { }; X f(const std::vector v) { for (auto i…
Garp
  • 127
  • 7
4
votes
1 answer

Why do I get a "Premature End of File" error when performing my XSLT transform?

Getting Line #-1; Column #-1; Premature end of file Error while xslt transform XSL : Real's HowTo
Amit
  • 41
  • 1
  • 1
  • 2
4
votes
1 answer

Parsing error while updating app programmatically

My goal is to host an app update to remote server & check for update via API. App will check the defined url for checking the update, if response version code is greater than current code, it'll download the updated apk from server & install it by…
Dipanjan Das
  • 55
  • 1
  • 8
4
votes
1 answer

Solidity ParserError: Expected identifier but got '='

Why does the code below contain an error (ParserError: Expected identifier but got '='). contract Test { struct Box { uint size; } Box public box; box.size = 3; //<-- error here constructor() public { } } It…
sunwarr10r
  • 4,420
  • 8
  • 54
  • 109
4
votes
2 answers

APK Parsing Error

I do not know how to continue... I build a signed or unsigned apk with Android Studio (everything is up to date). Now I want to test this apk and install it on my phone. But I always get a parsing error... I tried diffrent devices but with the same…
Spy-Shifty
  • 51
  • 1
  • 5
3
votes
0 answers

RTK query seems to be hitting targeting my index.html instead of baseUrl / dataset

Code below. The following error is console logged: {status: 'PARSING_ERROR', originalStatus: 200, data: '\n\n \n \n \n\n', error: `SyntaxError: Unexpected…
3
votes
0 answers

Parsing error: cannot find module '@babel/preset-react' when loading multiple projects into VSCode at once

After updating from babel-eslint to @babel/eslint-parser, currently in VSCode (with multiple project folders all loaded at once, collectively in a parent folder that contains all projects), we are receiving the same problem for every file in our…
Canovice
  • 9,012
  • 22
  • 93
  • 211
3
votes
2 answers

Why can't I use Data.Function.(&) in the same expression as Control.Arrow.(>>>)?

Why can't I use Data.Function.(&) in the same expression as Control.Arrow.(>>>)? I'm learning Haskell after spending a lot of time in F#, and I find that right to left notation is making it tough to understand longer pipelines. (I know it's not…
3
votes
1 answer

Grammar: start: (a b)? a c; Input: a d. Which error correct at position 2? 1. expected "b", "c". OR expected "c"

Grammar: rule: (a b)? a c ; Input: a d Question: Which error message correct at position 2 for given input? 1. expected "b", "c". 2. expected "c". P.S. I write parser and I have choice (dilemma) take into account that "b" expected at position or…
mezoni
  • 10,684
  • 4
  • 32
  • 54
2
votes
2 answers

Formula Parse Error on =IMPORTXML in Google Sheets

I'm trying to web scrape the first headline from the yahoo finance press release page, so in this case: "Nutriband Inc. Signs Exclusive Manufacturing Agreement for Diocheck(TM) Visual COVID-19 Antibody Indicator Patch" from the URL:…
2
votes
1 answer

Line 0: Parsing error: Cannot read property 'map' of undefined" - TypeScript Custom Hook

I have got an error "./src/hooks/usePagination.tsx Line 0: Parsing error: Cannot read property 'map' of undefined" Do you know what is the reason? I spent half the night looking for the answer on stackoferflow etc and had many unsuccessful attempts…
karo-s
  • 384
  • 2
  • 15
2
votes
9 answers

How can I write a piece of Java an code that checks if any character of a string is convertible to an integer between 0 and 9?

How can I write a piece of Java code that checks if a string is convertible to an integer, that is if any character of it is convertible to an integer between 0 and 9 ? I thought of something like this: String s = "..."; for (int i = 0; i <…
2
votes
1 answer

D3.js parsing error - rotation of orthogonal map projection

I have an orthogonal projection of the world map, in D3 and by using TopoJSON. I am coloring the countries with each loading of data by calling this code. The globe rotates constantly. My problem is, that during rotating I get the error…
1
2 3 4 5