I want to deploy a private cloud. The client-side project downloaded from GitHub compiles with the following errors:
Expected Result
webpack 5.73.0 compiled with 6 warnings in 81754 ms
Actual Result
`ERROR in ./src/popup/scss/popup.scss (./src/popup/scss/popup.scss.webpack[javascript/auto]!=!../../node_modules/css-loader/dist/cjs.js!../../node_modules/sass-loader/dist/cjs.js!./src/popup/scss/popup.scss) 7:36-114
Module not found: Error: Can't resolve '@bitwarden/angular/src/images/cards/visa-light.png' in 'D:\xieweiCompany\githubDesktop\clients\apps\browser\src\popup\scss'
@ ./src/popup/scss/popup.scss
@ ./src/popup/main.ts 3:0-28
ERROR in ./src/popup/scss/popup.scss (./src/popup/scss/popup.scss.webpack[javascript/auto]!=!../../node_modules/css-loader/dist/cjs.js!../../node_modules/sass-loader/dist/cjs.js!./src/popup/scss/popup.scss) 8:36-114
Module not found: Error: Can't resolve '@bitwarden/angular/src/images/cards/amex-light.png' in 'D:\xieweiCompany\githubDesktop\clients\apps\browser\src\popup\scss'
@ ./src/popup/scss/popup.scss
@ ./src/popup/main.ts 3:0-28
ERROR in ./src/popup/scss/popup.scss (./src/popup/scss/popup.scss.webpack[javascript/auto]!=!../../node_modules/css-loader/dist/cjs.js!../../node_modules/sass-loader/dist/cjs.js!./src/popup/scss/popup.scss) 9:36-121
Module not found: Error: Can't resolve '@bitwarden/angular/src/images/cards/diners_club-light.png' in 'D:\xieweiCompany\githubDesktop\clients\apps\browser\src\popup\scss'
@ ./src/popup/scss/popup.scss
@ ./src/popup/main.ts 3:0-28
ERROR in ./src/popup/scss/popup.scss (./src/popup/scss/popup.scss.webpack[javascript/auto]!=!../../node_modules/css-loader/dist/cjs.js!../../node_modules/sass-loader/dist/cjs.js!./src/popup/scss/popup.scss) 10:36-118
Module not found: Error: Can't resolve '@bitwarden/angular/src/images/cards/discover-light.png' in 'D:\xieweiCompany\githubDesktop\clients\apps\browser\src\popup\scss'
@ ./src/popup/scss/popup.scss
@ ./src/popup/main.ts 3:0-28### ### `
Screenshots or Videos
Additional Context
The discovery is similar to visa light PNG and other font directories, icons and other resources are missing. Is it because the project code is missing?
My local code annotates the corresponding icon reference, and the compilation succeeds. However, there is no icon in the open interface
Steps To Reproduce
I want to deploy a private cloud. The client-side project downloaded from GitHub compiles with the following errors:
Expected Result
webpack 5.73.0 compiled with 6 warnings in 81754 ms
Actual Result
`ERROR in ./src/popup/scss/popup.scss (./src/popup/scss/popup.scss.webpack[javascript/auto]!=!../../node_modules/css-loader/dist/cjs.js!../../node_modules/sass-loader/dist/cjs.js!./src/popup/scss/popup.scss) 7:36-114 Module not found: Error: Can't resolve '@bitwarden/angular/src/images/cards/visa-light.png' in 'D:\xieweiCompany\githubDesktop\clients\apps\browser\src\popup\scss' @ ./src/popup/scss/popup.scss @ ./src/popup/main.ts 3:0-28
ERROR in ./src/popup/scss/popup.scss (./src/popup/scss/popup.scss.webpack[javascript/auto]!=!../../node_modules/css-loader/dist/cjs.js!../../node_modules/sass-loader/dist/cjs.js!./src/popup/scss/popup.scss) 8:36-114 Module not found: Error: Can't resolve '@bitwarden/angular/src/images/cards/amex-light.png' in 'D:\xieweiCompany\githubDesktop\clients\apps\browser\src\popup\scss' @ ./src/popup/scss/popup.scss @ ./src/popup/main.ts 3:0-28
ERROR in ./src/popup/scss/popup.scss (./src/popup/scss/popup.scss.webpack[javascript/auto]!=!../../node_modules/css-loader/dist/cjs.js!../../node_modules/sass-loader/dist/cjs.js!./src/popup/scss/popup.scss) 9:36-121 Module not found: Error: Can't resolve '@bitwarden/angular/src/images/cards/diners_club-light.png' in 'D:\xieweiCompany\githubDesktop\clients\apps\browser\src\popup\scss' @ ./src/popup/scss/popup.scss @ ./src/popup/main.ts 3:0-28
ERROR in ./src/popup/scss/popup.scss (./src/popup/scss/popup.scss.webpack[javascript/auto]!=!../../node_modules/css-loader/dist/cjs.js!../../node_modules/sass-loader/dist/cjs.js!./src/popup/scss/popup.scss) 10:36-118 Module not found: Error: Can't resolve '@bitwarden/angular/src/images/cards/discover-light.png' in 'D:\xieweiCompany\githubDesktop\clients\apps\browser\src\popup\scss' @ ./src/popup/scss/popup.scss @ ./src/popup/main.ts 3:0-28### ### `
Screenshots or Videos
Additional Context
The discovery is similar to visa light PNG and other font directories, icons and other resources are missing. Is it because the project code is missing?
My local code annotates the corresponding icon reference, and the compilation succeeds. However, there is no icon in the open interface
Please check!!!
Operating System
Windows
Operating System Version
win10
Web Browser
Chrome, Firefox
Browser Version
版本 102.0.5005.115(正式版本) (64 位)
Build Version
v2.28.1