Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
15 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 ...
Rodrigo Melara's user avatar
1 vote
0 answers
15 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 ...
Sanket Kumbhare's user avatar
0 votes
1 answer
25 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 ...
ihsan's user avatar
  • 1
0 votes
0 answers
29 views

Handling changes in user permissions across multiple layers (persona and company) in Sails.js

I am currently in the process of adding another layer of permissioning to our application - where it was previously handled by persona only, we are now allowing for company filtering too. So as an '...
Skandog's user avatar
  • 306
0 votes
1 answer
12 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/...
Cody's user avatar
  • 9,965
0 votes
0 answers
63 views

Unable to set database URL dynamically in Sails.js

I am working on a Sails.js application where I need to dynamically set the database URL for my Mongodb database in the datastore configuration at runtime. The idea is to get the database URL with ...
Nabil Mohammed Nalakath's user avatar
0 votes
0 answers
26 views

Error: Encountered error during file download: Cannot pipe, not readableCannot pipe, not readable

I recently starting getting this error on my sailsjs project during deploy. Can someone assist in solving this? error: Sending 500 ("Server Error") response: ERROR Error: Encountered error ...
Stanley Kelechi O'mene's user avatar
0 votes
0 answers
28 views

Sailsjs upload file nodejs v 18

I have the following problem, I work with Sailjs but on this occasion they asked me for compatibility issues to use Nodejs v18 which there is no problem except now that I have to upload some files ...
Ruperto Melo Hernández's user avatar
1 vote
1 answer
63 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 ...
amad's user avatar
  • 11
0 votes
0 answers
25 views

Connect Sails.js to Mongo Atlas

I have been trying to connect my Sails application to the cloud database Mongo Atlas. I got my sails application to lift all the datas are still being store in the local disk. I think I got my ...
Jason Nguyen 's user avatar
0 votes
1 answer
16 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 ...
gaurav's user avatar
  • 1
0 votes
0 answers
68 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 ...
Ashish's user avatar
  • 620
0 votes
1 answer
84 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("...
m_dot_dev's user avatar
0 votes
0 answers
39 views

Sails js ORM isssue

I've been facing this issue 3 days node v 14.15.1 sails v 1.5.2 I have upgraded and downgraded nodeJs version and sails js version also downgraded sail-mongo
Nisar Ahmed's user avatar
0 votes
0 answers
40 views

Can not connect to sails socket

I am trying to continously broadcast/publish/emit/send messages to a socket room using Sails on my backend, and on another project continously recieve these messages. Expected behaviour : every time ...
Fares's user avatar
  • 62

15 30 50 per page
1
2 3 4 5
438