Code Monkey home page Code Monkey logo

generator-nestjs-app's People

Contributors

0xflotus avatar ashinzekene avatar talvor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

generator-nestjs-app's Issues

Cannot find module '../../utils/walk-dir'

OS and Version?

macOS High Sierra

Versions

v0.1.1

Repro steps

yo nestjs-app

The log given by the failure.

Error: Cannot find module '../../utils/walk-dir'
    at Function.Module._resolveFilename (module.js:485:15)
    at Function.Module._load (module.js:437:25)
    at Module.require (module.js:513:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/Users/geocine/.nvm/versions/node/v8.0.0/lib/node_modules/generator-nestjs-app/generators/app/index.js:6:17)
    at Module._compile (module.js:569:30)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3)

Mention any other details that might be useful.

By the way , README.md is outdated it should be yo nestjs-app not yo nestjs as that points to a different generator

SQL-Typescript Module is created with wrong imports

OS and Version?

Windows 10

Versions

0.1.2

Repro steps

create new repo
add with yo nestjs-app:module servers the module servers

The log given by the failure.

create src\modules\servers\server.entity.ts
create src\modules\servers\servers.controller.ts
create src\modules\servers\servers.module.ts
create src\modules\servers\servers.service.ts
TSError: โจฏ Unable to compile TypeScript
src\modules\servers\servers.module.ts (2,31): Cannot find module './server.service'. (2307)
src\modules\servers\servers.module.ts (3,34): Cannot find module './server.controller'. (2307)

Mention any other details that might be useful.

The error is that in servers.module.ts and servers.controller.ts the imports of the *s.service.ts and *s.controller.ts file created is without the trailing s of the file name.

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.