create-probot-app icon indicating copy to clipboard operation
create-probot-app copied to clipboard

basic-ts template is outdated and does not compile

Open jacksturtevant opened this issue 3 years ago • 1 comments

After going through the initial flow and selecting basic-ts, and restarting the server, there are multiple errors:

  • npm start does not work. The script points to ./lib/index.js which does not exist
  • after fixing ^, the app still does not compile with:
import { Probot } from "probot";
^^^^^^

SyntaxError: Cannot use import statement outside a module```

jacksturtevant avatar Aug 26 '22 22:08 jacksturtevant

I think the command npm run build is missing. (In readme and dockerfile).

rettenbs avatar Dec 21 '22 08:12 rettenbs