You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating to beta.5 I get the following error:
TypeError: Cannot read property 'platforms' of undefined
at getPlatforms (platform.js:17)
at isPlatform (platform.js:20)
at Platform.push../node_modules/@ionic/angular/dist/providers/platform.js.Platform.is (platform.js:86)
doender
changed the title
Ionic 4.0.0-beta.5: Cannot read property 'platforms' of undefined
[4.0.0-beta.5] Cannot read property 'platforms' of undefined
Aug 28, 2018
Until this is fixed and to be able to continue development I manually set the platforms in node_modules/@ionic/angular/dist/providers/platform.js for now:
export function getPlatforms(win) {
return ['desktop'];
}
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
After updating to beta.5 I get the following error:
Here's my environment:
The text was updated successfully, but these errors were encountered: