linter-gcc icon indicating copy to clipboard operation
linter-gcc copied to clipboard

Uncaught SyntaxError: ~/Desktop\Program\study\clang_study\c \.gcc-flags.json: Unexpected token }...

Open 3038922 opened this issue 6 years ago • 0 comments

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.24.0 x64 Electron: 1.6.16 OS: Unknown Windows version Thrown From: linter-gcc package 0.7.1

Stack Trace

Uncaught SyntaxError: C:\Users\aresp\Desktop\Program\study\clang_study\c .gcc-flags.json: Unexpected token } in JSON at position 301

At module.js:591

SyntaxError: C:\Users\aresp\Desktop\Program\study\clang_study\c  \.gcc-flags.json: Unexpected token } in JSON at position 301
    at JSON.parse (<anonymous>)
    at Object.Module._extensions..json (module.js:588:27)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (/app.asar/static/index.js:47:45)
    at require (~/AppData/Local/atom/app-1.24.0/resources/app/src/native-compile-cache.js:66:33)
    at Object.module.exports.settings (/packages/linter-gcc/lib/config.js:49:25)
    at Object.buildCommand (/packages/linter-gcc/lib/utility.js:127:23)
    at Object.lint (/packages/linter-gcc/lib/main.js:110:36)
    at /packages/linter-gcc/lib/main.js:180:26

Commands

Non-Core Packages

autocomplete-clang 0.11.4 
busy-signal 1.4.3 
clang-format 1.30.0 
file-icons 2.1.17 
gcc-make-run 0.2.12 
highlight-line 0.12.0 
highlight-selected 0.13.1 
intentions 1.1.5 
language-cpp14 0.6.2 
linter 2.2.0 
linter-gcc 0.7.1 
linter-ui-default 1.7.1 
minimap 4.29.8 
minimap-highlight-selected 4.6.1 
monokai 0.24.0 
tool-bar 1.1.6 
tool-bar-main 0.0.11 

3038922 avatar Mar 06 '18 12:03 3038922