1.
有时在页面中写ionic标签会报错“If 'ion-buttons' is an Angular component, then verify that it is part of this module.....”,解决方法是在当前页面的module.ts添加 schemas: [CUSTOM_ELEMENTS_SCHEMA]
2.
有时`ionic serve` 时会报这么一堆错误
“Module not found: Error: Can't resolve 'crypto' in 'E:\SAAS-App\node_modules\ws\lib'”
解决办法是
在`\node_modules@angular-devkit\build-angular\src\angular-cli-files\models\webpack-configs\browser.js`中 `node: false `替换为`node: {crypto:"empty",http:"empty",https:"empty",fs:"empty",path:"empty"},`