I have integrated bootbox into my Angular application following the guidance provided in this answer. However, upon building the project, I encountered the following error:
error TS2304: Cannot find name 'bootbox'.
Below is an excerpt from my package.json file:
"dependencies": {
"@angular/animations": "6.0.2",
"@angular/common": "6.0.2",
...
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.6.3",
...
<p>An extract from my angular.json file shows the scripts being utilized:</p>
<pre><code>"scripts": [
"node_modules/core-js/client/shim.min.js",
"src/assets/js/Chart.bundle.min.js",
...
"node_modules/bootbox/bootbox.js",
...
]
Despite meticulously following the instructions, I am unable to pinpoint the source of the issue. Any help would be greatly appreciated!