'NPM_ERROR_WHEN_IN _SAILS

node:internal/process/promises:279 triggerUncaughtException(err, true /* fromPromise */);



Solution 1:[1]

check bootstrap.js file there is some delay to get the response or return a promise over there in [object, object], resolve that promise and then try or simple implement try catch over there.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 shankey kaushik