Skip to content

npm start crashes if we dont't run build before #29

@ftrinidad

Description

@ftrinidad

image

The issue above happens if you run npm start without a npm run build.

A way to fix it is to edit the package.json this way so the routes are generated before:

"scripts": {    
    "start": "concurrently \"npm:watch-tsoa\" \"nodemon\"",
    "watch-tsoa": "nodemon -x tsoa spec-and-routes",

Result with the new config:

image


Same in ubuntu:

image

node version 18.17.1
npm 9.8.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions