How to fix Facebook SDK "No getter method for read from property" compile error? - facebook-ios-sdk

I upgrade Facebook Login SDK to version 5.5.0 with Pod, but I got a strange compile error "No getter method for read from property" in FBSDKAppEventsUtility.mm file, It seems that FBSDKSettings.limitEventAndDataUsage property is not defined!
parameters[#"application_tracking_enabled"] = #(!FBSDKSettings.limitEventAndDataUsage).stringValue;
Anyone have same issue?

Related

How can I use node-sendmail to send emails? This package crashed the server

I'm using the node-Sendmail npm package in my express JS app, which is like the MVC structure. I have some weird errors, like
node_modules\sendmail\sendmail.js:291
if (mail.to) {
^
TypeError: Cannot read properties of undefined (reading 'to')
Please see the image above. I tried to send the email when the login route was requested, but it sent the email after the server crashed, and this error showed. I checked their official GitHub and asked a question, but no one replied. Have you ever used a node-Sendmail package?
I checked to see if there were any errors in the node module package and code, and here is a screenshot.
I called the Sendmail with import module :
You're calling sendmail with no configuration on line 47, that is throwing your error

netsuite restlet error "message": "ReferenceError: \"Ext\" is not defined. (app-all.js#1)."

I deployed a restlet to my server and selected app-all.js. some odd reason when calling it I get that error and that's it.
What am I doing wrong? What should fix it?
I found its because I was using suitescript 1.0 and its not supported anymore. I have updated to suitescript 2.0 and not used any dependencies in it and it works correct. Also, not having dependencies will solve the issue.

Running into issue with SPFX recently Cannot redefine non-configurable property 'startsWith'

I am running into below issue when I try configuring SPFX control on Modern Page, this particular control was working fine without any issue up until now.
Something went wrong
If the problem persists, contact the site administrator and give them the information in Technical Details.
Technical Details
[SPLoaderError.loadComponentError]:
***Failed to load component "11111111-2017-4bc3-9a39-18dfdd167e1b" (DocumentNavigationWebPart).
Original error: ***Failed to load entry point from component "11111111-2017-4bc3-9a39-18dfdd167e1b" (DocumentNavigationWebPart).
Original error: Error loading https://component-id.invalid/11111111-2017-4bc3-9a39-18dfdd167e1b_0.0.1
Cannot redefine non-configurable property 'startsWith'
***INNERERROR:
***Failed to load entry point from component "11111111-2017-4bc3-9a39-18dfdd167e1b" (DocumentNavigationWebPart).
Original error: Error loading https://component-id.invalid/11111111-2017-4bc3-9a39-18dfdd167e1b_0.0.1
Cannot redefine non-configurable property 'startsWith'
***CALLSTACK:
Error
at t._generateErrorStackForIE (https://spoprod-a.akamaihd.net/files/sp-client-prod_2019-04-19.008/sp-webpart-workbench-assembly_en-...)
at t (https://spoprod-a.akamaihd.net/files/sp-client-prod_2019-04-19.008/sp-webpart-workbench-assembly_en-...)
at t (https://spoprod-a.akamaihd.net/files/sp-client-prod_2019-04-19.008/sp-webpart-workbench-assembly_en-...)
It is a polyfill issue. Please add the below polyfill in the webpart.js file (link).
import 'core-js/es6/string';

LoginApi ERROR Restsharp.addfile

Currently using RestSharp V106.1.0 as well a v2.1.8
While attempting to integrate docusign with our application I received an error off of the loginAPI:
string accountId = loginApi(username, password, integratorKey);
Receiving this error
{"Method not found: 'RestSharp.IRestRequest RestSharp.RestRequest.AddFile(System.String, System.Action`1, System.String, System.String)'."}
I have verified all of the parameters have the correct value and I was able to recreate a working API usage in a brand new project without prior packages installed. This leads me to think it is the version of RestSharp that is giving me this issue.Based on research about others having this issue it was an issue of the library change within updates.
Is there a specific version that is required as the dependancies for Docusign Package in visual studio doesn't mention a Restsharp version requirement?
Thank you in advance.

chrome.system is undefined

In the chrome app,
I want to use chrome.system.display.getInfo to get the resolution of the display.
However, it always reports error
chrome.system is undefined.
Have I missed any permissions in the manifest to use chrome.system?
BTW: My chrome version is 47.0.
chrome.system.display requires "system.display" permission

Resources