Coder Social home page Coder Social logo

Comments (3)

trulysinclair avatar trulysinclair commented on June 10, 2024 1

I've been trying to get this thing to work, it doesn't. But I will say, you guys gotta pull some of your weight, if it can't find index then you clearly see main use that instead.

@bhaidar This needs a ton of cleanup just to get started, you're expecting these developers to have npm-run-all, but your scripts also use yarn. You're missing your clean command which is mentioned in db:migration:generate and db:migrate, and also you're missing build:server mentioned by db:migrate. Please take the time to clean this up, or privatize the repository.

I'd also recommend a detailed README for getting started instead of expecting devs to know what to do. I got a lot farther than these two, but unfortunately it's a headache trying to wrap my head around what the server scripts were supposed to look like when they functioned correctly.

PS: I do like the docker-compose.yml being added for quickly running a Postgres database!

from nestjs-todo-app.

vishwa-asts avatar vishwa-asts commented on June 10, 2024

Same issue here , looks like code is having lot of missing files, its an incomplete code

from nestjs-todo-app.

bendeg avatar bendeg commented on June 10, 2024

Same issue here and I have no idea how to fix (tried to rename main.ts to index.ts, but it's even worse...) :

/nestjs-todo-app/server$ npm run start

[email protected] start
ts-node src/index.ts

Error: Cannot find module '/nestjs-todo-app/server/src/index.ts'
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at Object. (/nestjs-todo-app/server/node_modules/ts-node/src/bin.ts:151:12)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47

from nestjs-todo-app.

Related Issues (4)

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.