Giter Club home page Giter Club logo

generator-node-crud-api's People

Contributors

agustincroce avatar josx avatar reyiyo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

generator-node-crud-api's Issues

cannot find decorators

On default generator flow, on first run npm start, I got

Error: Cannot find module './lib/decorators'
    at Function.Module._resolveFilename (module.js:469:15)

To avoid this you can always create an empty decorator file on generator.
BTW to avoid this locally you can touch lib/decorators.js

Error al crear la estructura del proyecto

Selecciono la opción "usar decorators"
y al ejecutar npm start:

Glimpse (Error PackageRequiredBeforeInit): The package 'dotenv' was imported before Glimpse was initialized. Glimpse may not capture data related to that package.
module.js:472
throw err;

Doesnt create mongo db if not exists

default is the name of the default db in .env, if there is no db with that name, doesnt attemp to create it.
Also I got this error:

(node:21183) DeprecationWarning: `open()` is deprecated in mongoose >= 4.11.0, use `openUri()` instead, or set the `useMongoClient` option if using `connect()` or `createConnection()`. See http://mongoosejs.com/docs/connections.html#use-mongo-client
2017-08-01T15:50:34.337Z - error:  MongoError: failed to connect to server [localhost:27017] on first connect [MongoError: connect ECONNREFUSED 127.0.0.1:27017]

Node 8+ Support

glimpse components and Node Async support issues in Node version 8+. Not letting the end point creation.

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.