Solution #3: Error encountered resolving symbol values statically

Consider the third complete error mentioned in the Preparing to use webpack section:

ERROR in Error encountered resolving symbol values statically. Calling function 'ModalDialogParams', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol RecorderModule in /path/to/TNSStudio/app/modules/recorder/recorder.module.ts, resolving symbol RecorderModule in /path/to/TNSStudio/app/modules/recorder/recorder.module.ts

The solution to the preceding error is to open app/modules/recorder/recorder.module.ts and make the following change:

...// factory functionsexport function defaultModalParamsFactory() { return ...

Get NativeScript for Angular Mobile Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.