creativetimofficial/ct-light-bootstrap-dashboard-pro-angular

[Bug] I'm trying to run it but I get the error below

Opened this issue · 0 comments

Version

1.7.0

Reproduction link

https://github.com/LeoneRocha/SmartDigitalPsico/tree/master2/SmartDigitalPsico/SmartDigitalPsico.UI.DashBoard

Operating System

Windows 10

Device

Desktop

Browser & Version

Last update

Steps to reproduce

1 Run in terminal: npm install -g @angular/cli
2 Then: npm install

What is expected?

build e run

What is actually happening?

DashBoard\node_modules@angular-devkit\build-angular\src\webpack\utils\helpers.js:177
throw new Error(Script file ${input} does not exist.);
^

Error: Script file src/assets/js/perfect-scrollbar.min.js does not exist.
at .UI.DashBoard\node_modules@angular-devkit\build-angular\src\webpack\utils\helpers.js:177:23
at Array.reduce ()
at globalScriptsByBundleName ( UI.DashBoard\node_modules@angular-devkit\build-angular\src\webpack\utils\helpers.js:169:58)
at getCommonConfig ( UI.DashBoard\node_modules@angular-devkit\build-angular\src\webpack\configs\common.js💯89)

Node.js v18.14.2

code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: bootstrap-switch@3.4.0
npm ERR! Found: bootstrap@3.3.5
npm ERR! node_modules/bootstrap
npm ERR! bootstrap@"3.3.5" from the root project
npm ERR! peer bootstrap@">=3.0.0" from bootstrap-select@1.13.18
npm ERR! node_modules/bootstrap-select
npm ERR! bootstrap-select@"1.13.18" from the root project
npm ERR! 1 more (eonasdan-bootstrap-datetimepicker)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer bootstrap@"^4.3.1" from bootstrap-switch@3.4.0
npm ERR! node_modules/bootstrap-switch
npm ERR! bootstrap-switch@"3.4.0" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: bootstrap@4.6.2
npm ERR! node_modules/bootstrap
npm ERR! peer bootstrap@"^4.3.1" from bootstrap-switch@3.4.0
npm ERR! node_modules/bootstrap-switch
npm ERR! bootstrap-switch@"3.4.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resol


Solution

DashBoard\node_modules@angular-devkit\build-angular\src\webpack\utils\helpers.js:177
throw new Error(Script file ${input} does not exist.);
^

Error: Script file src/assets/js/perfect-scrollbar.min.js does not exist.
at .UI.DashBoard\node_modules@angular-devkit\build-angular\src\webpack\utils\helpers.js:177:23
at Array.reduce ()
at globalScriptsByBundleName ( UI.DashBoard\node_modules@angular-devkit\build-angular\src\webpack\utils\helpers.js:169:58)
at getCommonConfig ( UI.DashBoard\node_modules@angular-devkit\build-angular\src\webpack\configs\common.js💯89)

Node.js v18.14.2

code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: bootstrap-switch@3.4.0
npm ERR! Found: bootstrap@3.3.5
npm ERR! node_modules/bootstrap
npm ERR! bootstrap@"3.3.5" from the root project
npm ERR! peer bootstrap@">=3.0.0" from bootstrap-select@1.13.18
npm ERR! node_modules/bootstrap-select
npm ERR! bootstrap-select@"1.13.18" from the root project
npm ERR! 1 more (eonasdan-bootstrap-datetimepicker)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer bootstrap@"^4.3.1" from bootstrap-switch@3.4.0
npm ERR! node_modules/bootstrap-switch
npm ERR! bootstrap-switch@"3.4.0" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: bootstrap@4.6.2
npm ERR! node_modules/bootstrap
npm ERR! peer bootstrap@"^4.3.1" from bootstrap-switch@3.4.0
npm ERR! node_modules/bootstrap-switch
npm ERR! bootstrap-switch@"3.4.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resol

Additional comments