Giter Club home page Giter Club logo

generator-angular-auto-admin-loopback's People

Contributors

johannesjo 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

Watchers

 avatar  avatar  avatar  avatar  avatar

generator-angular-auto-admin-loopback's Issues

TypeError: Cannot read property 'extend' of undefined

Hi,
I was trying to use this today however when executing "yo aaal" the below TypeError is raised:

/usr/lib/node_modules/generator-aaal/app/index.js:13
module.exports = yeoman.Base.extend({
                            ^

TypeError: Cannot read property 'extend' of undefined
    at Object.<anonymous> (/usr/lib/node_modules/generator-aaal/app/index.js:13:29)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.get [as aaal:app] (/usr/lib/node_modules/yo/node_modules/yeoman-environment/lib/store.js:40:23)
    at Store.get (/usr/lib/node_modules/yo/node_modules/yeoman-environment/lib/store.js:64:35)

Issue when executing "yo aaal" command with mysql loopback:model

Hi !

I'm trying to use generator angular auto admin loopback and everything works fine when I install it with a loopback:model on memory but it doesn't work when I'm using a loopback:model on my mysql db.

The loopback explorer gets the data from the mysql db successfully. But I got this issue when I do this command :
yo aaal

The script can't finish. It displays this on my prompt :
.... injecting state into app/scripts/aaal/aaal-routes.js updating aaal-routes.js Chargement de l'application LoopBack "/Users/xxxx/NodeProjects/strongloop/crud-loop/server/server.js" Génération de "lbServices" pour le noeud final d'API "/api" Warning: scope User.accessTokens targets class "AccessToken", which is not exposed via remoting. The Angular code for this scope won't be generated. Sauvegarde de la source des services générés vers "/Users/xxxx/NodeProjects/strongloop/crud-loop/client/app/scripts/aaal/global-services/lb-services-s.js"

I've tried again with a fresh install. If I don't use a loopback model connected to mysql, I have no issue. The script finished well displaying the same prompt message

injecting state into app/scripts/aaal/aaal-routes.js updating aaal-routes.js Chargement de l'application LoopBack "/Users/xxxx/NodeProjects/strongloop/crud-loop/server/server.js" Génération de "lbServices" pour le noeud final d'API "/api" Warning: scope User.accessTokens targets class "AccessToken", which is not exposed via remoting. The Angular code for this scope won't be generated. Sauvegarde de la source des services générés vers "/Users/xxxx/NodeProjects/strongloop/crud-loop/client/app/scripts/aaal/global-services/lb-services-s.js"

The script can't finished after I have done this :
slc loopback:datasource mydatabase

I would be very thankful if you can help me.
Best regards

login issue

just tried the code installation and i got erroraddressnotavailable, can you point out the issue?

Possibly unhandled rejection: {"data":"Error: connect EADDRNOTAVAIL 127.0.0.1:3000 - Local (127.0.0.1:0)<br> &nbsp; &nbsp;at Object.exports._errnoException (util.js:1026:11)<br> &nbsp; &nbsp;at exports._exceptionWithHostPort (util.js:1049:20)<br> &nbsp; &nbsp;at connect (net.js:879:16)<br> &nbsp; &nbsp;at net.js:1008:7<br> &nbsp; &nbsp;at GetAddrInfoReqWrap.asyncCallback [as callback] (dns.js:62:16)<br> &nbsp; &nbsp;at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:81:10)\n","status":500,"config":{"method":"POST","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","url":"/api/Users/login","data":{"email":"[email protected]","password":"opensesame"},"params":{"include":"user","rememberMe":true},"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/json;charset=utf-8"}},"statusText":"Internal Server Error"}

Error yo aaal can't found \common\models

Hello, I'm trying to run the command 'yo aaal' and I get an error Error: ENOENT: no such file or directory, scandir 'D:\Git\common\models'. My common path is 'D:\Git\teste\common\models' how can I set my correct path?

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.