尝试更新我的项目从离子3到5,当我做离子服务得到了这个:
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:\Producao\Ts-CeoMobile_io5\Ts-CeoMobile\src\theme\variables.scss 15:9 root stylesheet
[ng] ERROR in multi (webpack)-dev-server/client?http://0.0.0.0:0/sockjs-node&sockPath=/sockjs-node ./src/main.ts
[ng] Module not found: Error: Can't resolve 'D:\Producao\Ts-CeoMobile_io5\Ts-CeoMobile\src\main.ts' in 'D:\Producao\Ts-CeoMobile_io5\Ts-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:\Producao\Ts-CeoMobile_io5\Ts-CeoMobile\src\polyfills.ts' in 'D:\Producao\Ts-CeoMobile_io5\Ts-CeoMobile'
[ng] ERROR in Must have a source file to refactor.
1条答案
按热度按时间4jb9z9bj1#