setting.json Expected comma jsonc(514) I get this error in my VS Code and live server extension not working - vscode-extensions

In my VS Code, I have tried everything but my live server is not working and I am getting this comma error in json file

Related

Angular 5 / Sentry error reporting shows error source reference in bundled js

I have applied Sentry.io error reporting in an Angular 5 project using Raven-js. Everything works fine and I get the error reports.
The problem is that the reported error location is provided using the bundle.js file references which is very hard to find in the actual project.
For e.g.
TypeError: Cannot read property 'id' of undefined
at e.logOffline (/mem/main.f858f9330b4c0ee7c38e.bundle.js:1:26440)
at e.phoneOffline (/mem/main.f858f9330b4c0ee7c38e.bundle.js:1:25883)
at t.handleEvent_12 (/mem/main.f858f9330b4c0ee7c38e.bundle.js:1:488537)
at HTMLAnchorElement.<anonymous> (/mem/vendor.f8004cbd231f87b295e2.bundle.js:1:311586)
at HTMLAnchorElement.r (/mem/vendor.f8004cbd231f87b295e2.bundle.js:1:666890)
Now this reference is not useful to locate the error.
Is there something that I missed in the sentry setup or this is how it actually shows the error?
Seems like Sentry can't find your source maps. If your site is public, Sentry will try to get the spurce maps automatically. Otherwise you can upload the source maps yourself.
https://docs.sentry.io/clients/javascript/sourcemaps/
The usage of source maps works out of the box for a deployed app. Sentry tries to fetch the source maps through the public internet and thus cannot fetch them on localhost.
If your source maps aren't public (e.g. out of security concerns), then you need to upload them manually like described here: https://docs.sentry.io/platforms/javascript/sourcemaps/availability/#uploading-source-maps-to-sentry .

I'm receiving an error: DataReader.GetFieldType(33) returned null

when trying to run my site on my server I receive the following error. Works fine locally. I have tried referencing the Microsoft.SqlServer.Type and installing the NuGet Package: Microsoft.SqlServer.Type but still recieve the error on my server.
"DataReader.GetFieldType(33) returned null."
This field is a geometry field.

Unable to parse JSON data: JSON_ERROR_SYNTAX

On a newly installed server running CakePHP 3.2.14, a call to debug($myEntity) displays the following error after displaying the entity without any visible problem:
An Internal Error Has Occurred
Error: Error executing command: Unable to parse JSON data: JSON_ERROR_SYNTAX - Syntax error, malformed JSON
Any idea?
EDIT According to my tests, I get this error runing PHP7.0. I don't have this error running PHP5.6.
What does it mean?
Sorry guys, after deeper searchs I found that te problem comes from a plugin.

Wala Building Error

While trying to run first wala example by following steps here, I am receiving an error . However I have copied the JLex.jar in root folder of eclipse work-space.
Copy JLex.jar to com.ibm.wala.core.testdata project. Your error will disappear

How to deploy fuelphp website to server

I'm new to fuelPHP, I developed a simple application and when I uploaded the files to my web server I got those errors :
Notice: Use of undefined constant __DIR__ - assumed '__DIR__' in /home1/tdfdf/public_html/site/site/public/index.php on line 22
Fatal error: require() [function.require]: Failed opening required '/bootstrap.php' (include_path='.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in /home1/tdfdf/public_html/site/site/public/index.php on line 44
I probably miss some configurations here. I also want to remove this "/public" from the url
Can any one help ?
I found the solution. The DIR is not defined for older versions of PHP . I changed my server settings to run on PHP 5.3 and it worked like magic.
Thanks.