Giter VIP home page Giter VIP logo

travelbudget's People

Contributors

dependabot[bot] avatar micklynch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

travelbudget's Issues

Building problem with @type/jasmine

Hello,
i'm trying to build the project in order to run the server but the building with vscode tsc is failing because of a problem with jasmine in node modules. I tried to lower my version of ts but it's not working.

Thank's for sharing this project

Error running ng serve

ERROR in node_modules/sequelize-typescript/lib/utils/types.d.ts(1,100): error TS2536: Type 'T' cannot be used to index type '{ [P in T]: P; } & { [P in U]: never; } & { [x: string]: never; }'.
node_modules/sequelize-typescript/lib/utils/types.d.ts(2,11): error TS2322: Type 'T' is not assignable to type 'string'.
  Type 'PropertyKey' is not assignable to type 'string'.
    Type 'number' is not assignable to type 'string'.
node_modules/sequelize-typescript/lib/utils/types.d.ts(4,11): error TS2322: Type 'U' is not assignable to type 'string'.
  Type 'PropertyKey' is not assignable to type 'string'.
    Type 'number' is not assignable to type 'string'.
src/server/database.ts(2,26): error TS2307: Cannot find module '../../config'.

error when server.js start ....

Hello Mick,

When i tried to run node server.js I have this error :

node server.js
/........................./tuto/travelbudget-master/node_modules/sequelize-typescript/lib/services/models.js:158
throw new Error("Specified type of property '" + propertyName + "'\n cannot be automatically resolved to a sequelize data type. Please\n define the data type manually");
^

Error: Specified type of property 'country'
cannot be automatically resolved to a sequelize data type. Please
define the data type manually
at Object.getSequelizeTypeByDesignType (/............................./tuto/travelbudget-master/node_modules/sequelize-typescript/lib/services/models.js:158:11)

Any ideas ?

Phil

How the server *.ts files are built?

So I used this project as a tutorial for my Angular 7 project to create Postgres backend. I managed to make everything but when building, how do I get that server folder to tsc-out? You only mention about building ts -files, but you do not show how it is done in VSCode or give any reference to this action. Why?
So if you could add this information to your medium article, and also that config.ts from comments.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.