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.

`npm start` fails with "Error: 'probot-run' does not exist"

See original GitHub issue

Bug Report

Current Behavior

I’m new to Probot and I’d like to dig into it a little (like adding simple information to startup logs as Probot version). Anyway, I’m checking out current master branch (but I tested this with other refs, like v10.0.1 for example, same behavior), and after clone + npm install, I try to run npm start but it throws an exception:

> probot@0.0.0-development start /Users/alex/git/probot
> node ./bin/probot run

/Users/alex/git/probot/node_modules/commander/index.js:832
        throw new Error(executableMissing);
        ^

Error: 'probot-run' does not exist
 - if 'run' is not meant to be an executable command, remove description parameter from '.command()' and use '.description()' instead
 - if the default executable name is not suitable, use the executableFile option to supply a custom name
    at ChildProcess.<anonymous> (/Users/alex/git/probot/node_modules/commander/index.js:832:15)
    at ChildProcess.emit (events.js:314:20)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:274:12)
    at onErrorNT (internal/child_process.js:468:16)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)

Expected behavior/code

I’m not sure if this is the correct way to start up Probot in development mode but I couldn’t find any piece of docs suggesting otherwise.

Environment

  • Probot version(s): commit e3f6cf583b63805e76958bb43a1e7694b15b8524
  • Node/npm version: v14.8.0
  • OS: macOS v10.15.6

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
gr2mcommented, Aug 28, 2020

Let me close the issue as the original problem is resolved. Please feel free to open new ones as needed

0reactions
shaftoecommented, Aug 28, 2020

All right, it makes all sense, thanks for the clarification!

Read more comments on GitHub >

github_iconTop Results From Across the Web

'npm start' returns error: "There might be a problem with the ...
I have a project which I started with npx create-react-app and then when I cd into the project I get this issue: There...
Read more >
npm-install - npm Docs
Description. This command installs a package and any packages that it depends on. If the package has a package-lock, or an npm shrinkwrap...
Read more >
Developing an app - Probot
Run the app locally by running npm start in your terminal. · Next follow instructions to visit http://localhost:3000 (or your custom Glitch URL)....
Read more >
npm start fails after copying a generated project to a new ...
23 error Failed at the design-angular2@1.2.0 start script. 23 error This is probably not a problem with npm. There is likely additional logging ......
Read more >
Why npm Scripts? - CSS-Tricks
There has been a growing sentiment (for instance) that using node packages ... If a plugin fails, it might not pass along 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