Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error - Failed to analyse file. Error: Line 1: Unexpected token #7

Closed
bitbay opened this issue Aug 16, 2016 · 2 comments
Closed

Error - Failed to analyse file. Error: Line 1: Unexpected token #7

bitbay opened this issue Aug 16, 2016 · 2 comments

Comments

@bitbay
Copy link

bitbay commented Aug 16, 2016

Running JS Complexity Analysis 1.01 with vscode version 1.4.0 on Windows.
To reproduce:

  1. open a file in the editor
  2. hit F1 + type "file complexity analysis" + hit enter
@tomi
Copy link
Owner

tomi commented Aug 21, 2016

@bitbay Parsing of the file seems to fail. Can you post the file in question, or the first line of the file if you don't want to show the entire file?

@tomi
Copy link
Owner

tomi commented Sep 24, 2016

I assume your file contained some ES6 code that didn't parse before. Version 1.0.3 brings support for ES6 modules, so I assume this fixes your issue as well. Please provide more details if the issue persists.

@tomi tomi closed this as completed Sep 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants