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

Commitlint not working #200

Open
npaton opened this issue Dec 8, 2020 · 0 comments
Open

Commitlint not working #200

npaton opened this issue Dec 8, 2020 · 0 comments

Comments

@npaton
Copy link
Contributor

npaton commented Dec 8, 2020

Cannot commit with commitlint active. Got the following error:

> git commit
husky > pre-commit (node v14.5.0)
  ↓ Stashing changes... [skipped]
    → No partially staged files found...
  ✔ Running linters...
husky > commit-msg (node v14.5.0)
internal/modules/cjs/loader.js:1033
  throw err;
  ^

Error: Cannot find module '../modules/es.symbol'
Require stack:
- /Users/npaton/projects/empirica/packages/core/node_modules/core-js/es/index.js
- /Users/npaton/projects/empirica/packages/core/node_modules/core-js/stable/index.js
- /Users/npaton/projects/empirica/packages/core/node_modules/@commitlint/cli/lib/cli.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1030:15)
    at Function.Module._load (internal/modules/cjs/loader.js:899:27)
    at Module.require (internal/modules/cjs/loader.js:1090:19)
    at require (internal/modules/cjs/helpers.js:75:18)
    at Object.<anonymous> (/Users/npaton/projects/empirica/packages/core/node_modules/core-js/es/index.js:1:1)
    at Module._compile (internal/modules/cjs/loader.js:1201:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1221:10)
    at Module.load (internal/modules/cjs/loader.js:1050:32)
    at Function.Module._load (internal/modules/cjs/loader.js:938:14)
    at Module.require (internal/modules/cjs/loader.js:1090:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/Users/npaton/projects/empirica/packages/core/node_modules/core-js/es/index.js',
    '/Users/npaton/projects/empirica/packages/core/node_modules/core-js/stable/index.js',
    '/Users/npaton/projects/empirica/packages/core/node_modules/@commitlint/cli/lib/cli.js'
  ]
}
husky > commit-msg hook failed (add --no-verify to bypass)

Using Node 14.5.0.

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