Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
    there are issues i am finding
    Som Rout
    @frangelico Colmena is good
    Jarrad Henry
    This channel is awesome
    New to StrongLoop
    after cloning the example app and running slc start
    I get the following error
    Error: connect ECONNREFUSED
    any help would be appreciated, thanks
    Rômulo Santos
    Hello, is http://apidocs.loopback.io/ down?
    Is strong-pm deprecated?
    Javier Pinedo Alonso
    Why occurs this error only when I change the model datasource to mysql (with mysql-connector)
    Error creating Test2 account { ValidationError: The Account instance is not valid. Details: username is invalid (value: "test2"); email is invalid (value: "test2@test.com").
    Javier Pinedo Alonso
    why when I'm using Account.create(...) method with mysql-connector attatched to it, it tries to create new row in "<datasource_name>.Account" table instead of "Account" table that has been created before. Thanks
    Javier Pinedo Alonso
    @pinicius_gitlab my Account model extends of loopback User model
    Aquid Shahwar

    @bajtos I am trying to setup micro-services with loopback and remote connector and there came a scenario where I had to pass the accessToken between various services. I knew that loopback:3 by default support's the options argument and also came across https://github.com/strongloop/strong-remoting/pull/430 PR which says that options: {passAccessToken: true} will allow the connector to pass the token between services.

    Hence, I tried everything and nothing worked, then went to dig out the actual reason why it wasn't working and came across https://github.com/strongloop/strong-remoting/blob/master/lib/rest-adapter.js#L49 line of code, which I believe is culprit. So I made few changes in my setting file and now token are being passed properly.


    "serviceAgreement": {
        "url": "http://localhost:3000/api",
        "name": "xxx",
        "connector": "remote",
        "options": {
            "passAccessToken": true

    Working Solution:

    "serviceAgreement": {
        "url": "http://localhost:3000/api",
        "name": "xxx",
        "connector": "remote",
        "options": {
            "rest": {
            "passAccessToken": true

    Do you think this is a correct workaround? Will this break anything or not?

    cc @pulkitsinghal What is your thoughts on the above issue?
    Pulkit Singhal
    @aquid i wouldn't be able to tell you definitively without running the loopback test suite but I'm excited to see all your work!
    Drew Anderson CMW
    Hi All - first time here
    Daniel Prado
    Hello! quick question, do any of you happen to have a good example or good documentation about the “Application” built-in model in LB? I can find some bits and pieces here and there but nothing concrete on what the capabilities and limitations of the model are
    for now, I’m just using the codebase to guide myself https://github.com/strongloop/loopback/blob/master/common/models/application.js
    hi guys, i need to send a data to two databases / data source. Is this possible? and also run migration in both the databases? My datasource type is mysql
    'lb' is not recognized as an internal or external command,
    operable program or batch file.
    can anyone help me
    Can anyone show me setup / config for model relations and how I can create a model and its relations in one call?
    Posted a query on stackoverflow with my current config https://stackoverflow.com/questions/52090245/loopback-insert-model-and-its-relational-data
    Hello eveyone,
    Anyone can help me to understand Loopback Application Model. How can I utilize this model. I am going to develop an application in which as main server api which will authenticate a client api which uses by client dashboard.
    The documentation of Application Model available on loopback/docs are not enough for a beginner.
    Kevin Loh
    Hi all,
    There are probably quite a number of people asked this before,
    but is it possible to do Event Sourcing/CQRS with loopback?
    Scott Brady
    I'm curious if there's a roadmap/release plan for strong-cluster-control. In particular I'm wondering if there's an ETA to address this vulnerability strongloop/strong-cluster-control#67
    Scott Brady

    Until this is resolved anyone with strong-cluster-control installed will get this report when running npm audit:

    Low Prototype Pollution

    Package lodash

    Patched in >=4.17.5

    Dependency of strong-supervisor

    Path strong-supervisor > strong-cluster-control > lodash

    More info https://nodesecurity.io/advisories/577

    Younes Keraressi
    Hello is there a way to emit a event inside a method once from the server when its done, example: 2 users got same value, once one of them update that value the new value is sent directly to all connected users, is there a way to hook into that (from server) in loopback?
    @osamasaeed saha ossam whats your problem exactly?
    Younes Keraressi
    @marwan788 try slc loopback
    Younes Keraressi
    Hey, i couldnt figured out why this is perma 401 status when trying to get /users from User model?? even when i set an access token?
    Marioandre Pigorini
    Hello, anyone here know is loopback 4 provide a auth module predefine ?
    Nick Dunas
    @Mpigorini_gitlab I am wondering the same thing!
    Gershon Papi
    Hi guys I'm a bit confused, I want to use strongloop pm, which to my understanding is still supported, but all documentation mentions slc and the global strongloop package which are deprecated, can someone clarify?
    Paul Ehigie
    Good day, i like to know how to create an api route that looks like this "/tv/{id}/season/{id}/episode"
    Good day, do someone know how to restart app after changes build:watch - recompile app but I need to restart npm start manually. How can I automate it? I use loopback 4
    Rahul Radhakrishnan
    @/all Created sample rest service-proxy using loopback 4.
    Muhammad Ali Shahzad
    @kosach it can be done using gulp + parallelshell
    configure your package.json like
    "dev": "parallelshell \"npm run build:watch\" \"gulp StartServer\"",
    and paste below code in gulpfile and you are good to go
    const { src, series, parallel } = require('gulp');
    const nodemon = require('gulp-nodemon');
    const logger = require('gulp-logger');
    function StartServer(cb) {
        script: './index.js',
        done: cb,
        watch: ['./dist', './index.js']
        .on('readable', function () {
    exports.StartServer = StartServer
    Alen Mo
    API connect not support lb4?
    How to lock a user to find someone in the userID
    Hi everyone I am using loopback 3,
    How to use upload image & update data at the same time
    Many Thanks
    the options [database] is not supported
    the options [connector] is not supported
    the options [provider] is not supported
    the options [debug] is not supported
    the options [url] is not supported
    i have build container and i am getting this warning
    i am litrerallyconfused what to do now ?
    Hi everyone, I have a question about change stream. Everyone who has ever done a change stream gives me an example of how to do this.
    Anyone else getting a 502 error accessing the docs: https://docs.strongloop.com/display/SLC ?
    @bwjohnson-ss no i can access it
    Can someone suggest an APM for loopback 4 ? We use new relic but doesnt seem to work.
    hello my loopback 4 authorization doesn't work