You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#!/bin/bash -eo pipefail
npm install
npm WARN prepublish-on-install As of npm@5, `prepublish` scripts are deprecated.
npm WARN prepublish-on-install Use `prepare` for build steps and `prepublishOnly` for upload-only.
npm WARN prepublish-on-install See the deprecation note in `npm help scripts` for more information.
> @creately/mungo@1.2.1 prepublish /home/circleci/repo
> npm run lint && npm run build
node_modules/@types/node/index.d.ts:252:13 - error TS2403: Subsequent variable declarations must have the same type. Variable 'require' must be of type 'any', but here has type 'NodeRequire'.
252 declare var require: NodeRequire;
~~~~~~~
Found 1 error.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! @creately/mungo@1.2.1 build: tsc
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the @creately/mungo@1.2.1 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/circleci/.npm/_logs/2018-12-07T09_49_59_135Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! @creately/mungo@1.2.1 prepublish: npm run lint && npm run build
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the @creately/mungo@1.2.1 prepublish script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/circleci/.npm/_logs/2018-12-07T09_49_59_174Z-debug.log
Exited with code 2
The text was updated successfully, but these errors were encountered:
CircleCI build fails on master branch.
The text was updated successfully, but these errors were encountered: