can't support angular lastest version(15.2.6)
wangzhenghong opened this issue · comments
Describe the bug
ng upgrade 14 to 15, will produce error:
HookWebpackError: Module build failed (from ../../node_modules/sass-loader/dist/cjs.js):
SassError: Can't find stylesheet to import.
╷
│ @import '@manulife-design/md/styles/global/index.scss';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
src/styles.scss 2:9 root stylesheet
./src/styles.scss - Error: Module build failed (from ../../node_modules/sass-loader/dist/cjs.js):
SassError: Can't find stylesheet to import.
╷
│ @import '@manulife-design/md/styles/global/index.scss';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
src/styles.scss 2:9 root stylesheet
To Reproduce
Steps to reproduce the behavior:
- update angular to v15.2.x(@angular-devkit/build-angular)
- npm run start
- See error
Expected behavior
can support angular v 15.2.x
Can you check if this file @manulife-design/md/styles/global/index.scss
exists ?
The angular version of repo https://github.com/docgeni/docgeni-template 's is 15.2.8
, it is ok!