docgeni / docgeni

📖 A modern, powerful and out of the box documentation generator for Angular components lib and markdown docs.(现代化的、强大的、开箱即用的 Angular 组件文档生成工具)

Home Page:https://docgeni.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

  1. update angular to v15.2.x(@angular-devkit/build-angular)
  2. npm run start
  3. 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!