bitwarden / clients

Bitwarden client apps (web, browser extension, desktop, and cli).
https://bitwarden.com
Other
9.25k stars 1.24k forks source link

I want to deploy a private cloud. The client-side project downloaded from GitHub compiles with the following errors: #2957

Closed HeavyShell closed 2 years ago

HeavyShell commented 2 years ago

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

image

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

HeavyShell commented 2 years ago

The bug work order is repeated. Close this item