I have set up my Loopback project and installed other packages required to run my project. Whenever I tried to run the application with the command within the folder
node .
it is raising following error:
test_app/node_modules/strong-remoting/lib/shared-method.js:157
if (/^prototype\./.test(name)) {
^
RangeError: Maximum call stack size exceeded
I am literally unknown about this error. Can you please suggest any solution?
I had the same issue and this worked for me:
Go in your models folder which should be somewhere --> /projectfolder/common/models/
Open the files of the models you just set your relation about --> yourmodel.json
Delete this part in your "relations" -->
"options": { "nestRemoting": true }
If you have set 2 relations such as hasMany and belongesTo you should apply this to booth.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.