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

Parsing error: Cannot read property 'ecmaFeatures' of undefined (null) #1189

Closed
keenwon opened this issue Aug 29, 2018 · 6 comments

Comments

@keenwon
Copy link

commented Aug 29, 2018

What version of standard?

12.0.0

What operating system, Node.js, and npm version?

ubuntu

$ node --version
v7.10.1
$ npm --version
4.2.0
$ nvm --version

What actually happened?

> standard "lib/**/*.js" "test/**/*.js" --fix --verbose --env mocha
standard: Use JavaScript Standard Style (https://standardjs.com)
  /home/travis/build/keenwon/koa-subdomain/lib/subdomain.js:0:0: Parsing error: Cannot read property 'ecmaFeatures' of undefined (null)
  /home/travis/build/keenwon/koa-subdomain/test/index.spec.js:0:0: Parsing error: Cannot read property 'ecmaFeatures' of undefined (null)
  /home/travis/build/keenwon/koa-subdomain/test/lib/request.js:0:0: Parsing error: Cannot read property 'ecmaFeatures' of undefined (null)
  /home/travis/build/keenwon/koa-subdomain/test/lib/subdomainRouter.js:0:0: Parsing error: Cannot read property 'ecmaFeatures' of undefined (null)

more info: https://travis-ci.org/keenwon/koa-subdomain/jobs/421953344

@Kikobeats

This comment has been minimized.

Copy link

commented Aug 30, 2018

Duplicate #1163

@favadi

This comment has been minimized.

Copy link

commented Aug 31, 2018

Is there a known workaround for this?

@favadi

This comment has been minimized.

Copy link

commented Sep 4, 2018

Is there a known workaround for this?

The workaround is just downgrade to 11.x version.

@SergeyVolynkin

This comment has been minimized.

Copy link

commented Sep 7, 2018

Experiencing same issue using standard 12.0.1 with create-react-app

@faqndo97

This comment has been minimized.

Copy link

commented Sep 14, 2018

I'm trying to use standard with a vscode extension but I can't. Standard 12.0.1

bkimminich added a commit to bkimminich/juice-shop-ctf that referenced this issue Oct 6, 2018

philschatz added a commit to philschatz/puzzlescript that referenced this issue Dec 9, 2018

@stale

This comment has been minimized.

Copy link

commented Dec 13, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale label Dec 13, 2018

@stale stale bot closed this Dec 20, 2018

@lock lock bot locked as resolved and limited conversation to collaborators Mar 20, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
5 participants
You can’t perform that action at this time.