w3tecch / express-typescript-boilerplate

A delightful way to building a RESTful API with NodeJs & TypeScript by @w3tecch
MIT License
3.31k stars 905 forks source link

the bug #60 not solved in rc.2 #62

Closed Paul75 closed 6 years ago

Paul75 commented 6 years ago

Hello,

Thanks for help to solve the #60 but again in the rc.2 same error....

> express-typescript-boilerplate@3.0.0-rc.2 setup /Users/far-paul/Sites/lucy/outilSL/server2
> npm start setup.db

> express-typescript-boilerplate@3.0.0-rc.2 start /Users/far-paul/Sites/lucy/outilSL/server2
> nps "setup.db"

Scripts must resolve to strings. There is no script that can be resolved from "setup.db" https://github.com/kentcdodds/nps/blob/v5.7.1/other/ERRORS_AND_WARNINGS.md#missing-script
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! express-typescript-boilerplate@3.0.0-rc.2 start: `nps "setup.db"`

Thanks

lopezm94 commented 6 years ago

I've got the same problem. Though I changed setup.db (doesn't exist anymore) for setup.script and a new error appears:

nps is executing `db.drop` : ts-node ./node_modules/typeorm/cli.js schema:drop
Error during schema drop:
Error: No connection options were found in any of configurations file.