#ionic-framework #ionic3 #ionic4 #ionic5 #angular10
#ionic-framework #ionic3 #ionic4 #ionic5 #angular10
Вопрос:
Пытаюсь обновить свой проект с ionic 3 до 5, и когда я делаю ionic serve, получил это:
ERROR in ./src/theme/variables.scss (./node_modules/css-loader/dist/cjs.js??ref--14-1!./node_modules/postcss-loader/src??embedded!./node_modules/resolve-url-loader??ref--14-3!./node_modules/sass-loader/dist/cjs.js??ref--14-4!./src/theme/variables.scss)
[ng] Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
[ng] SassError: Can't find stylesheet to import.
[ng] ╷
[ng] 15 │ @import "ionic.globals";
[ng] │ ^^^^^^^^^^^^^^^
[ng] ╵
[ng] D:ProducaoTs-CeoMobile_io5Ts-CeoMobilesrcthemevariables.scss 15:9 root stylesheet
[ng] ERROR in multi (webpack)-dev-server/client?http://0.0.0.0:0/sockjs-nodeamp;sockPath=/sockjs-node ./src/main.ts
[ng] Module not found: Error: Can't resolve 'D:ProducaoTs-CeoMobile_io5Ts-CeoMobilesrcmain.ts' in 'D:ProducaoTs-CeoMobile_io5Ts-CeoMobile'
[ng] ERROR in multi ./src/polyfills.ts ./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/jit-polyfills.js
[ng] Module not found: Error: Can't resolve 'D:ProducaoTs-CeoMobile_io5Ts-CeoMobilesrcpolyfills.ts' in 'D:ProducaoTs-CeoMobile_io5Ts-CeoMobile'
[ng] ERROR in Must have a source file to refactor.