Issue while integrating CDS with Spartacus - spartacus-storefront

I had created angular app and did respective changes according to documentation below and able to load spartacus store.
https://sap.github.io/spartacus-docs/building-the-spartacus-storefront-from-libraries/
trying to configure CDS on same app by following link below
https://sap.github.io/spartacus-docs/cds-integration/
after running "npm i #spartacus/cds"
when i start app using "ng serve", there is an issue:
Error: ./src/main.ts
Module build failed (from ./node_modules/#ngtools/webpack/src/ivy/index.js):
TypeError: angularCompiler.getResourceDependencies is not a function or its return value is not iterable
at getDependencies (C:\corpgit_ccv2\DACommerceCloud2005-1\js-storefront\mystoreb2ctest\node_modules#ngtools\webpack\src\ivy\plugin.js:291:56)
at C:\corpgit_ccv2\DACommerceCloud2005-1\js-storefront\mystoreb2ctest\node_modules#ngtools\webpack\src\ivy\plugin.js:414:20
at analyzingFileEmitter (C:\corpgit_ccv2\DACommerceCloud2005-1\js-storefront\mystoreb2ctest\node_modules#ngtools\webpack\src\ivy\plugin.js:337:20)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
when i run "npm audit", there is a suggestion to upgrade angular CLI version to #angular/cli#11.2.4.
But as per first documentation, angular CLI version should be <11.
Please suggest.
I'm using SAP Commerce 2011.

The angular version 11.2.4 should also work with other softwares that you have. Please upgrade and then let us know if the problem persists.
If not, then we will update the documentation.

Related

Why metro builder is opening for new react native version in my old project? And facing Cannot find module 'expo-asset/tools/hashAssetFiles'

I recently initialized a new bare react-native project(initialized as version 0.70.6). And now I am facing this issue on my old react-native project.
And I am getting an error when the app runs. Error is error: src/res/images/play.png: Cannot find module 'expo-asset/tools/hashAssetFiles'
I am posting a solution to my question. Because if anyone is facing this without knowing the difference between npx react-native start vs react-native start
Solution: npx react-native start instead of react-native start
Explain: (Reference: https://stackoverflow.com/a/62067116/9877424)
There are currently two CLIs:
#react-native-community/cli – the one used directly by react-native. That makes it a transitive dependency of your project.
react-native-cli – an optional global convenience package, which is a proxy to #react-native-community/cli and global installation helper.
The global version is no longer recommended
npx executes either from a local node_modules/.bin, or from a central cache, installing any packages needed in order for to run.
When you run npx ... it picks up the cli package that is part of your project dependency

'NativeReanimated' could not be found. Verify that a module by this name is registered in the native binary

This is my Code which is showing this error . Here I am trying to make a Drawer-navigation
This is the error showing , I am doing this in react-native.
It seems you might have missed some installation / setup steps for react-navigation.
Please check this section in the docs: https://reactnavigation.org/docs/getting-started#installing-dependencies-into-a-bare-react-native-project
If you have already installed the packages listed there (notably react-native-reanimated), perhaps you have not installed the native dependencies. This is important on iOS - run npx pod-install in your project root, and then build the app again (hot reload will not be enough).

How to use titanium inspector using titanium 5.2.2?

I am using Appcelerator titanium CLI to build ios app. I want to debug the app With Chrome DevTools but it seems like it's not compatible with the version which I have installed currently.
As per ti-inspector documentation, I have installed the node package by the below command.
npm install -g ti-inspector
So, When I tried this into my titanium project directory I am getting this response which is unexpected.
tn-inspector
Unexpected error: undefined
NOTE: titanium version - 5.2.2
Useful GitHub link: https://github.com/omorandi/TiInspector
Need help to understand or mitigate this issue. Thanks in advance!!!.
That repo is 5 years old and might not be compatible with the current SDK. You can use this instruction: https://docs.axway.com/bundle/Appcelerator_Studio_allOS_en/page/debugging_android_apps_with_3rd-party_tools.html to use the internal dev tools connection.

How can I solve an error in build ionic 4 (PWA)?

I have created ionic 4 new project using following command.
ionic start myApp tabs
Install angular
ng add #angular/pwa --project app
And build app
ionic build --prod
at 92%(92% chunk asset optimization TerserPlugin) it doesn't work, stop here and and gives attached error!
Can somone adivse?
I tried to do the same operation with other projects but it doesn't work.
node v 9.8.0
You don't need to install angular, its already part of an Ionic project. Maybe you are confusing things by doing this.
Try doing the steps above but without this line:
ng add #angular/pwa --project app
Also btw if you are posting errors, please copy paste them in as text. Your error is hard to read and half clipped off - do yourself a favour and make it easy for people to help you.

Weex - why can not I start the project

I have a problem with weex. I wanted to start to learn to write a Vue app using weex, but I have a problem because I can not download the package. I have an empty folder and enter the command from the npm documentation install weex-toolkit -g, but it will give me such an error.
Image error:
https://cdn.discordapp.com/attachments/424284796068429824/431948032897187841/unknown.png
The error is from an npm dependency, fsevents, not weex per-se.
Have you tried on a different platform, or see if the toolkit got installed anyway?