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

Project failing to build #1034

Closed
dyladan opened this issue May 7, 2020 · 2 comments · Fixed by #1035
Closed

Project failing to build #1034

dyladan opened this issue May 7, 2020 · 2 comments · Fixed by #1035
Assignees

Comments

@dyladan
Copy link
Member

dyladan commented May 7, 2020

When running npm install from the root, I end up with the following results. TLDR -- is seems like the prometheus package at master can't compile right now.

    test/prometheus.test.ts:527:5 - error TS7027: Unreachable code detected.

    527     done();
            ~~~~~~~


    Found 2 errors.

    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! @opentelemetry/[email protected] compile: `npm run version:update && tsc -p .`
    npm ERR! Exit status 1
    npm ERR! 
    npm ERR! Failed at the @opentelemetry/[email protected] compile 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!     /Users/alanstorm/.npm/_logs/2020-05-07T03_59_24_975Z-debug.log
    lerna info lifecycle @opentelemetry/[email protected]~prepare: @opentelemetry/[email protected]
    lerna info lifecycle @opentelemetry/[email protected]~prepare: @opentelemetry/[email protected]
    lerna info lifecycle @opentelemetry/[email protected]~prepare: @opentelemetry/[email protected]
    lerna info lifecycle @opentelemetry/[email protected]~prepare: @opentelemetry/[email protected]
    lerna info lifecycle @opentelemetry/[email protected]~prepare: @opentelemetry/[email protected]
    lerna info lifecycle @opentelemetry/[email protected]~prepare: @opentelemetry/[email protected]
    lerna info lifecycle @opentelemetry/[email protected]~prepare: @opentelemetry/[email protected]
    lerna info lifecycle @opentelemetry/[email protected]~prepare: Failed to exec prepare script.  

Originally posted by @astorm in #1032 (comment)

@obecny
Copy link
Member

obecny commented May 7, 2020

Not sure how this passed but in my PR it fails on different things now - locally all works fine though see here
https://circleci.com/gh/open-telemetry/opentelemetry-js/18918?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-checks-link

@dyladan do you know what has been changed as it seems like there might be more failures and not sure why it works fine locally.

@dyladan
Copy link
Member Author

dyladan commented May 7, 2020

You have to do a full clean and remove all package-lock.json files to get the most updated types files.

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

Successfully merging a pull request may close this issue.

2 participants