/typescript-express-error

Sample of how to make source map readable

Primary LanguageJavaScript

typescript-express-error

A simple typescript + express project with errors for testing source-map.

Install

yarn

Start

yarn build && node dist/main.js

Access

http://localhost:3000

will throw 500(internal server error).

Read Compiled SourceMap

node@16 is required.

yarn build
cd read-sourcemap
yarn && node index.js