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

mocha not found on Travis CI #192

Closed
georgeOsdDev opened this issue Oct 23, 2020 · 2 comments
Closed

mocha not found on Travis CI #192

georgeOsdDev opened this issue Oct 23, 2020 · 2 comments
Assignees
Labels
dependencies Pull requests that update a dependency file help wanted Extra attention is needed

Comments

@georgeOsdDev
Copy link
Member

Travis CI build start failing from #190, #191

It seems lerna bootstrap is not called as postinstall after npm ci.

Success case:
https://travis-ci.com/github/mobilusoss/textlint-browser-runner/builds/191070080

npm ci 
> husky@4.3.0 install /home/travis/build/mobilusoss/textlint-browser-runner/node_modules/husky
> node husky install
husky > Setting up git hooks
CI detected, skipping Git hooks installation.
husky > Done
> husky@4.3.0 postinstall /home/travis/build/mobilusoss/textlint-browser-runner/node_modules/husky
> opencollective-postinstall || exit 0
> root@undefined postinstall /home/travis/build/mobilusoss/textlint-browser-runner
> lerna bootstrap
lerna notice cli v3.22.1
lerna info ci enabled
lerna info Bootstrapping 4 packages
lerna info Installing external dependencies
lerna info Symlinking packages and binaries
lerna success Bootstrapped 4 packages
added 944 packages in 20.434s

Fail case:
https://travis-ci.com/github/mobilusoss/textlint-browser-runner/builds/191564613

$ npm ci 
added 946 packages, and audited 946 packages in 6s
5 high severity vulnerabilities
To address issues that do not require attention, run:
  npm audit fix
Some issues need review, and may require choosing
a different dependency.
Run `npm audit` for details.
@georgeOsdDev georgeOsdDev self-assigned this Oct 23, 2020
@georgeOsdDev georgeOsdDev added dependencies Pull requests that update a dependency file help wanted Extra attention is needed labels Oct 23, 2020
@georgeOsdDev
Copy link
Member Author

npm/cli#1905

@georgeOsdDev
Copy link
Member Author

fixed with #193

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant