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.

Build Process Documentation

See original GitHub issue

Could you document the build process a bit?

I’m trying to tweak the formatting, but am not sure how to recreate dist/index.js (js/ts is a bit out of my comfort zone).

When I do npm run build I’m getting errors:

~/Projects/slatify> npm run build                                                                                          (master)

> container-toolkit-template@0.0.0 build /Users/developer/Projects/slatify
> ncc build src/index.ts

ncc: Version 0.20.5
ncc: Compiling file index.js
ncc: Using typescript@3.7.5 (local user-provided)
Error: [tsl] ERROR in /Users/developer/Projects/slatify/src/slack.ts(91,41)
      TS2339: Property 'repos' does not exist on type 'GitHub'.
    at evalmachine.<anonymous>:1:1483065
    at eval (eval at create (evalmachine.<anonymous>:1:273347), <anonymous>:13:1)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)

I guess I’ve got a bad dependency or the wrong version of @actions/github?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
samdeanecommented, Feb 7, 2020

I can confirm it’s working for me now. Thanks!

  1. Install dependencies

npm install 2. Compile

npm run build

Might be worth adding that to the Contribute section of the read me?

1reaction
homoluctuscommented, Feb 7, 2020

I fixed this bug. Now you can build.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Process documentation: The ultimate how-to with examples
How to create a process document · 1. Scope the initial process · 2. Define process boundaries · 3. Determine process inputs and...
Read more >
Process Documentation Guide: Learn How to ... - Creately
How to Document Processes · Step 1: Identify and Name the Process · Step 2: Define the Process Scope · Step 3: Explain...
Read more >
Process Documentation Guide with Examples & Templates
The guide to write the process documentation, benefits, and best practices. Use this helpful guide and make your own process documentation!
Read more >
How to Create Process Documentation (Free Template)
First, click the Create button and choose Image from Template or select images from the Recent Captures tray, then right click and choose...
Read more >
What is Process Documentation: Complete Guide with Template
Process documentation is a detailed description of how to execute a process. The process document outlines the exact steps needed to complete a...
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