Urgent Need Help Getting Errors Trying to use Plotly with angular 6

Hi I have a project deadline and I am using angular 6.29 and I used npm install angular-plotly.js plotly.js --save to get plotly and I followed the quick start instructions on Git Hub (https://github.com/plotly/angular-plotly.js/blob/master/README.md) but I keep getting the following error:

Uncaught TypeError: Object(…) is not a function
at angular-plotly.js.js:124
at Module…/node_modules/angular-plotly.js/fesm5/angular-plotly.js.js (angular-plotly.js.js:131)
at webpack_require (bootstrap:78)
at Module…/src/app/app.module.ts (app.component.ts:13)
at webpack_require (bootstrap:78)
at Module…/src/main.ts (main.ts:1)
at webpack_require (bootstrap:78)
at Object.0 (main.ts:12)
at webpack_require (bootstrap:78)
at checkDeferredModules (bootstrap:45)

See last comment here (https://github.com/plotly/angular-plotly.js/issues/30). I’d say you will need to install and old version of angular-plotly.

how do I install an older version since I used this “npm install angular-plotly.js plotly.js --save” to install how can I specify versions/ delete the last version. Sorry I am completely new to angular.

In your package.json change this line: “angular-plotly.js”: “0.1.15”
Then run npm install again

Okay thank you for the help!