All Questions
6,600 questions
Score of -1
1 answer
53 views
Docker Desktop 4.39 | WSL integration fails (Win 11)
I’ve just updated Docker Desktop (DD) to the latest version and I’m able to run the first WSL distribution D01. (Laravel 12 Sail, Win 11).
But when I try to work with distribution D02, DD always open ...
Score of 0
0 answers
36 views
Unable to launch Sails DEV mode while using PostgreSQL as database due to long time to load orm hook
Hello fellow developers! Thanks in advance for reading this question. I am currently working on a program in which I've been unable to establish a successful launch of sails in DEV mode caused by a ...
Score of 1
0 answers
51 views
AdapterError: '1st argument must be a dictionary' when creating a record using Sails.js and MongoDB
I am encountering an error while creating a record in my Sails.js application using the UserTM.create() method with a MongoDB database. The error message states:
Error [AdapterError]: Unexpected error ...
Score of 0
1 answer
56 views
Using sails.log.crit() in Sails.js with and without Winston
I'm working on a Node.js application using the Sails framework. I've noticed that the sails.log.crit() function works without integrating Winston, but I can't find any documentation or records on this ...
Score of 0
2 answers
17 views
SailsJS Does Not Invoke Controller Action When URL Ends With File Extension
SailsJS Does Not Invoke Controller Action When URL Ends With File Extension
I have a route set up to handle requests to an image...
./config/routes.js
module.exports.routes = {
...,
'/api/v1/...
Score of 1
1 answer
112 views
Sails.js CSRF token always changing for POST request
I have enabled csrf protection for my sails.js app and am calling the route to get the token for my POST request. However I keep getting a mismatch error for the post request.
This is my code to get ...
Score of 0
1 answer
33 views
how to call SailsJs controller function from ExpressJs router?
i want to call UserController from express js router
when i try to do it
i got Users.find is not a function
is this possible?
I want to integrations of express and sails same project
within single ...
Score of 0
0 answers
86 views
Node.js server stops responding to requests
I have written a Node.js (14.17.1) web application using Sails.js (0.12.14) which internally uses Express.js (3.21.3). This application has been in production since more than 5 years (whith only minor ...
Score of 0
1 answer
117 views
Node js promise-ftp: Error uploading file: Error: Can't open that file: No such file or directory
Using node js server and promise-ftp library, i want to upload a file "inventory.txt" to the FTP Server.
These are the imports:
const fs = require("fs");
const path = require("...
Score of 0
2 answers
55 views
Why aren't models being imported in my Sails application?
I'm helping someone out who's got existing code written in JavaScript using the Sails framework. For context, I currently have zero experience with this framework.
Why aren't the application's models ...
Score of 4
0 answers
1581 views
Sail npm run dev
I'm new to Laravel, My application is Laravel, Vue + InertiaJS.
I start my docker in terminal with
sail up -d
This will start the docker container, then I navigate to the url of my application,
when ...
Score of 0
1 answer
74 views
Can someone please give me guidence to resolve this error message?
[0] Unhandled rejection MongoError: (Unauthorized) not authorized on admin to execute command { listIndexes: "sessions", cursor: { } }
[0] at MongoError.create (/Users/biggahd/Desktop/...
Score of 0
0 answers
83 views
Sails: io.socket.get requests are throwing 401 Unauthorized
I recently upgraded the version of Sails from version 1.5.2 to 1.5.7 for Vulnerability Fix.
This is my first time working with sails and node. So, there are lots of gaps in my understanding.
After the ...
Score of 1
1 answer
66 views
how to use i18next in sailsjs
we are using handlebar to render the view and now must use i18next lib to render the translated pages in our sailsjs backend but i could not find any example on how to integrate i18next in sailsjs and ...
Score of -2
1 answer
76 views
Every time i create new sails project and try to log in this error will come help me with this plz
enter image description here
CloudError: Endpoint (`observeMySession`) responded with an error (or the request failed).
I need to fix this error this is my browser console error and those come while ...