Salesforce attachments to files migration app error - salesforce

Salesforce attachments to files migration app error giving below error.
This package is installed in SF and upgraded to resolve this issue ...still this issue persists.
Below is the stack trace details
TypeError: Cannot read properties of null (reading 'includes')
at de.connectedCallback (https://xxxcccccc.sandbox.lightning.force.com/lightning/n/modules/c/core_xxx_attachmentUploadLex.js:1:5951)
at callHook (https://xxxcccccc.sandbox.lightning.force.com/auraFW/javascript/HCWj4sXl-ak8mVteewPd7Q/aura_prod.js:59:76291)
at https://xxxcccccc.sandbox.lightning.force.com/auraFW/javascript/HCWj4sXl-ak8mVteewPd7Q/aura_prod.js:13:33261
at Pr (https://xxxcccccc.sandbox.lightning.force.com/auraFW/javascript/HCWj4sXl-ak8mVteewPd7Q/aura_prod.js:13:37932)
at Zn (https://xxxcccccc.sandbox.lightning.force.com/auraFW/javascript/HCWj4sXl-ak8mVteewPd7Q/aura_prod.js:13:33246)
at Tr (https://xxxcccccc.sandbox.lightning.force.com/auraFW/javascript/HCWj4sXl-ak8mVteewPd7Q/aura_prod.js:13:37381)
at https://xxxcccccc.sandbox.lightning.force.com/auraFW/javascript/HCWj4sXl-ak8mVteewPd7Q/aura_prod.js:13:25672
at hn (https://xxxcccccc.sandbox.lightning.force.com/auraFW/javascript/HCWj4sXl-ak8mVteewPd7Q/aura_prod.js:13:25727)
at pn (https://xxxcccccc.sandbox.lightning.force.com/auraFW/javascript/HCWj4sXl-ak8mVteewPd7Q/aura_prod.js:13:25849)
at https://xxxcccccc.sandbox.lightning.force.com/auraFW/javascript/HCWj4sXl-ak8mVteewPd7Q/aura_prod.js:13:25143

Related

AWS-sdk contributes to Build Error "Uncaught TypeError: e is not a constructor"

My react application is working fine until I wanted to wrap it up and deploy it. The build via vite build is successful. However, when the built folder "dist" is deployed and served, it says Uncaught TypeError: e is not a constructor.
After hours of debug, I can confirm that it's the aws-sdk that is causing the issue. In particular, the following code:
const s3 = new S3({
accessKeyId: VITE_ACCESS_KEY_ID,
secretAccessKey: VITE_SECRET_ACCESS_KEY,
region: VITE_REGION,
});
I think the new S3(...config) here corresponds to a line that reads o = new e; in the compiled index.bad38efb.js file that gives the Uncaught TypeError: e is not a constructor error.
Ultimately the question comes down to, is there any alternative that I could authenticate with s3 or does anyone know how to resolve this problem? Please let me know what extra information could I provide to answer the question.
Had the same issue, although harder to debug since I was not getting any errors in building.
Solution is to move to the v3 version of the SDK which is better maintained (and has other benefits too).

PWA not loading when offline SharePoint SPFx and React

We are trying to make an PWA which works offline. Until December last year it was working fine, we could load the app, go through the content, change pages.
Something happened and we are not able to load the app anymore and we have this error. We have tried a lot of things on the service worker and nothing has worked.
If someone knows how to solve this, please let us know.
Thanks
[SPLoaderError.loadComponentError]: Failed to load component "86682639-29f2-47cc-ac3f-cc259ef2959d" (AppWebPart). Original error: Manifest not found for component id "0d910c1c-13b9-4e1c-9aa4-b008c5e42d7d" and version "16.8.5".
INNERERROR: Manifest not found for component id "0d910c1c-13b9-4e1c-9aa4-b008c5e42d7d" and version "16.8.5". CALLSTACK: Error
at t [as constructor] (https://res-1.cdn.office.net/files/sp-client/sp-classic-page-assembly_en-us_b9f62e31470bfd5b13c16abbbd9a56b1.js:68:116110)
at new t (https://res-1.cdn.office.net/files/sp-client/sp-classic-page-assembly_en-us_b9f62e31470bfd5b13c16abbbd9a56b1.js:68:299482)
at e.buildErrorWithVerboseLog (https://res-1.cdn.office.net/files/sp-client/sp-classic-page-assembly_en-us_b9f62e31470bfd5b13c16abbbd9a56b1.js:68:336766)
at e.buildLoadComponentError (https://res-1.cdn.office.net/files/sp-client/sp-classic-page-assembly_en-us_b9f62e31470bfd5b13c16abbbd9a56b1.js:68:332857)
at https://res-1.cdn.office.net/files/sp-client/chunk.systemjs-component-loader_en-us_c9d296eaa8490acee6b3.js:1:6036
We have tried caching different links on the service-worker but they all got the same error.

strapi: Server wasn't able to start properly TypeError: Cannot convert undefined or null to object

please how to resolve this problem :(
[2021-11-12T10:48:02.075Z] debug ⛔️ Server wasn't able to start properly.
[2021-11-12T10:48:02.076Z] error TypeError: Cannot convert undefined or null to object
at Function.values (<anonymous>)
at Object.load (/home/mondher/plateforme/node_modules/strapi-database/lib/connector-registry.js:17:39)
at DatabaseManager.initialize (/home/mondher/plateforme/node_modules/strapi-database/lib/database-manager.js:32:21)
at Strapi.load (/home/mondher/plateforme/node_modules/strapi/lib/Strapi.js:299:19)
at async Strapi.start (/home/mondher/plateforme/node_modules/strapi/lib/Strapi.js:158:9)
To reproduce this error, rename or delete on of your files in the config folder, basically Strapi wasn't able to be all required configurations during startup - Strapi should should a better job with logging
Go their documentation and check if your config files match to what has been mentioned. I was using using Strapi V3 and here is the link I used.

local react project migration to codesandbox.io

I want to migrate a local project (hosted local via npx on apache) to codesandbox. But I have some difficulties.
This is the project on codesandbox: https://codesandbox.io/s/weather-app-p4h0u
This is the local code at Github: https://github.com/bastian-84/weather_app_1
I checked:
Dependencies in package.json
File structure in general
The errors I get are:
When I load the page the ${} variables are not shown. But no error messages.
When I search for a city in the form input field I get those error messages:
"Network Error"
in ./src/App.js at line 76 Axios.get( ) wont work.
stack frames were collapsed
I guess I do some fundamental error.

android build error on codenameone with braintree payments

when I add braintree extension to my codenameone project and send android build to codenameone I got build error with these error log:
FAILURE: Build failed with an exception.
What went wrong:
A problem occurred configuring root project 'NLApplication'.
Could not resolve all dependencies for configuration ':_debugCompile'.
Could not find com.android.support:cardview-v7:26.0.0.
Searched in the following locations:
https://jcenter.bintray.com/com/android/support/cardview-v7/26.0.0/cardview-v7-26.0.0.pom
https://jcenter.bintray.com/com/android/support/cardview-v7/26.0.0/cardview-v7-26.0.0.jar
file:/tmp/build2388050053529696565xxx/NLApplication/libs/cardview-v7-26.0.0.jar
file:/tmp/build2388050053529696565xxx/NLApplication/libs/cardview-v7.jar
file:/home/ec2-user/android-sdk/extras/android/m2repository/com/android/support/cardview-v7/26.0.0/cardview-v7-26.0.0.pom
file:/home/ec2-user/android-sdk/extras/android/m2repository/com/android/support/cardview-v7/26.0.0/cardview-v7-26.0.0.jar
file:/home/ec2-user/android-sdk/extras/google/m2repository/com/android/support/cardview-v7/26.0.0/cardview-v7-26.0.0.pom
file:/home/ec2-user/android-sdk/extras/google/m2repository/com/android/support/cardview-v7/26.0.0/cardview-v7-26.0.0.jar
Required by:
:NLApplication:unspecified > com.braintreepayments.api:drop-in:3.1.0
Could not find com.android.support:design:26.0.0.
Searched in the following locations:
https://jcenter.bintray.com/com/android/support/design/26.0.0/design-26.0.0.pom
https://jcenter.bintray.com/com/android/support/design/26.0.0/design-26.0.0.jar
file:/tmp/build2388050053529696565xxx/NLApplication/libs/design-26.0.0.jar
file:/tmp/build2388050053529696565xxx/NLApplication/libs/design.jar
file:/home/ec2-user/android-sdk/extras/android/m2repository/com/android/support/design/26.0.0/design-26.0.0.pom
file:/home/ec2-user/android-sdk/extras/android/m2repository/com/android/support/design/26.0.0/design-26.0.0.jar
file:/home/ec2-user/android-sdk/extras/google/m2repository/com/android/support/design/26.0.0/design-26.0.0.pom
file:/home/ec2-user/android-sdk/extras/google/m2repository/com/android/support/design/26.0.0/design-26.0.0.jar
Required by:
:NLApplication:unspecified > com.braintreepayments.api:drop-in:3.1.0 > com.braintreepayments:card-form:3.1.0
It seems that Braintree pushed out a 3.1 update with an odd new dependency that fails. I've restricted gradle to use 3.0 and will push out an updated cn1lib. This should appear as an update in your extension manager later today. However, if you have the cn1lib already installed you will need to first delete the build hint android.gradleDep then do a refresh cn1libs.

Resources