Pulkit Singhal
Quiz by , created more than 1 year ago

Questions based on day-2-day use of loopback

11
0
0
Pulkit Singhal
Created by Pulkit Singhal over 9 years ago
Close

LoopBack

Question 1 of 2

1

If you create MyModel.js and MyModel.json in loopback, but forget to add it to model-config.json, then will you see errors like:

Unhandled rejection TypeError: Cannot call method '<whatever>' of undefined?

Select one of the following:

  • True
  • False

Explanation

Question 2 of 2

1

Do you have to delete db.json to get past an error like the following?
Unhandled rejection TypeError: Object.keys called on non-object
at Function.keys (native)
at Memory.all (/node_modules/loopback-datasource-juggler/lib/connectors/memory.js:289:22)
at /node_modules/loopback-datasource-juggler/lib/dao.js:1210:38

Select one of the following:

  • True
  • False

Explanation