https://github.com/thundermiracle/typescript-express-error
Sample of how to make source map readable
https://github.com/thundermiracle/typescript-express-error
explorer source-map
Last synced: 4 months ago
JSON representation
Sample of how to make source map readable
- Host: GitHub
- URL: https://github.com/thundermiracle/typescript-express-error
- Owner: thundermiracle
- Created: 2021-07-14T12:51:52.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-07-14T14:29:22.000Z (over 4 years ago)
- Last Synced: 2025-03-08T02:03:16.469Z (11 months ago)
- Topics: explorer, source-map
- Language: JavaScript
- Homepage:
- Size: 56.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# typescript-express-error
A simple typescript + express project with errors for testing `source-map`.
## Install
```shell
yarn
```
## Start
```shell
yarn build && node dist/main.js
```
## Access
http://localhost:3000
will throw 500(internal server error).
## Read Compiled SourceMap
**node@16 is required.**
```shell
yarn build
cd read-sourcemap
yarn && node index.js
```