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

yarn run lint broken on develop #57

Open
peeech opened this issue Aug 23, 2022 · 1 comment
Open

yarn run lint broken on develop #57

peeech opened this issue Aug 23, 2022 · 1 comment

Comments

@peeech
Copy link
Contributor

peeech commented Aug 23, 2022

When I try to run yarn run lint on current tip of develop (a720b84) I get an error:

$ vue-cli-service lint
 ERROR  TypeError: CLIEngine is not a constructor
TypeError: CLIEngine is not a constructor
    at lint (/Users/pj/Programming_School/holochain/host-console-ui/node_modules/@vue/cli-plugin-eslint/lint.js:53:18)
    at /Users/pj/Programming_School/holochain/host-console-ui/node_modules/@vue/cli-plugin-eslint/index.js:82:24
    at Service.run (/Users/pj/Programming_School/holochain/host-console-ui/node_modules/@vue/cli-service/lib/Service.js:230:12)
    at Object.<anonymous> (/Users/pj/Programming_School/holochain/host-console-ui/node_modules/@vue/cli-service/bin/vue-cli-service.js:36:9)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12)
    at internal/main/run_main_module.js:17:47
error Command failed with exit code 1.

Tested on node v14 and v16

@peeech
Copy link
Contributor Author

peeech commented Aug 23, 2022

It seems that issue is related to version of eslint "8.15.0". As per this thread on vue-cli repo downgrading to eslint "^7.0.0" fixes an issue

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

1 participant