What product/components do you use and which version/fix level are you on?
latest
Is your question related to the free trial, or to a production (customer) instance?
production
What are you trying to achieve? Please describe it in detail.
We are trying to develop customised cumulocity-datapoints-charting-widget.
We attempt to generate widget.zip application file using the npm install -g gulp command.
And we are receving the following errors.
I think latest angular cli and node version are not compatible.
Please try using below version:
Angular CLI version 8.1.x
Node version 14.x.x
Once you install above version, then please delete node_modules, package-lock.json and run npm install again.
I installed the Angular CLI version version 8.1.2
Node version 14.16.0
I ran the npm install command. It generated a node_modules and package-lock.json file.
I ran the npm install -g gulp command.
Here is the iutput of the command.
Expected result is to generate a cumulocity-datapoints-charting-widget zip file inorder to install to the cumulocity dashboard.
What is the command to generate a widget zip file.
Please execute “npm run buildRuntime” to generate zip file. Zip file will be found in “dist” folder.
This command you can also find in package.json → script section.