question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Wrong circle CI docs

See original GitHub issue

Apologies for the duplicate issue but the previous issue was closed. My team has followed all the instructions here and here exactly. It’s still not working. As mentioned in the previous issue the output of calling set-shas is:

undefined:1
{:message "Project not found"}
 ^

SyntaxError: Unexpected token : in JSON at position 1
    at JSON.parse (<anonymous>)
    at IncomingMessage.<anonymous> (/home/circleci/repo/index.js:119:22)
    at IncomingMessage.emit (node:events:402:35)
    at endReadableNT (node:internal/streams/readable:1343:12)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)

This is not a very helpful error message. It would be my position the docs are still incomplete or missing (and that this error message could be improved substantially). This also appears to be related to https://github.com/nrwl/nx-orb/issues/2 and we’ll try setting the (undocumented) environment variable, but this environment variable is not mentioned anywhere in the docs for the orb or the circleCI docs on the Nx website, and the error message is not super helpful, therefore it would be my position the docs are in fact wrong. It would be my position this is a valid issue, and I’d be happy to even backfill the docs once we establish it is a valid bug. Could I respectfully request my issue not be closed under an assumption we didn’t follow the steps? Thanks!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
crenuscommented, Feb 25, 2022

To second off of this, why is a user token required and not a project token? What is needed in this sense other than read access to that projects builds?

1reaction
meeroslavcommented, Mar 15, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Welcome to CircleCI Documentation
Welcome to CircleCI Documentation. Use the tutorials, samples, how-to, and reference documentation to learn CircleCI. github bitbucket
Read more >
FAQ - CircleCI
Why are my jobs not running when I push commits? In the CircleCI application, check the individual job and workflow views for error...
Read more >
Configuring CircleCI
Executors define the execution environment in which the steps of a job will be run, allowing you to reuse a single executor definition...
Read more >
11 errors in our docs with our new markdown proofer - CircleCI
Like most technical docs, CircleCI docs are written in Markdown and include ... The wrong indention can make or break a config file....
Read more >
Introduction to environment variables - CircleCI
... the value of the environment variable is equal to one of true , True , false , or False ... See the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found