Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Not sure this is the right place but it seems there’s a bug on App Platform. I’m building an Ionic / React / TS static app which’s served through an index.html in a standard output directory.
I started this error a few days ago
[bloodbath-app] [2021-05-23T05:49:53.564086557Z] /workspace/src/App.tsx
[bloodbath-app] [2021-05-23T05:49:53.564121154Z] TypeScript error in /workspace/src/App.tsx(1,10):
[bloodbath-app] [2021-05-23T05:49:53.564130346Z] Module '"react-router-dom"' has no exported member 'Redirect'. TS2305
[bloodbath-app] [2021-05-23T05:49:53.564136844Z]
[bloodbath-app] [2021-05-23T05:49:53.564142210Z] > 1 | import { Redirect, Route } from 'react-router-dom';
[bloodbath-app] [2021-05-23T05:49:53.564148371Z] | ^
[bloodbath-app] [2021-05-23T05:49:53.564152584Z] 2 | import {
[bloodbath-app] [2021-05-23T05:49:53.564158095Z] 3 | IonApp,
[bloodbath-app] [2021-05-23T05:49:53.564162893Z] 4 | IonIcon,
[bloodbath-app] [2021-05-23T05:49:53.564167042Z]
[bloodbath-app] [2021-05-23T05:49:53.565237923Z]
[bloodbath-app] [2021-05-23T05:49:53.630227668Z] [ERROR] An error occurred while running subprocess react-scripts.
[bloodbath-app] [2021-05-23T05:49:53.630282601Z]
[bloodbath-app] [2021-05-23T05:49:53.630291006Z] react-scripts build exited with exit code 1.
[bloodbath-app] [2021-05-23T05:49:53.630300570Z]
[bloodbath-app] [2021-05-23T05:49:53.630306077Z] Re-running this command with the --verbose flag may provide more information.
[bloodbath-app] [2021-05-23T05:49:53.707686553Z] building: exit status 1
[bloodbath-app] [2021-05-23T05:49:53.714180092Z] ERROR: failed to build: exit status 1
[bloodbath-app] [2021-05-23T05:50:16.040777703Z]
[bloodbath-app] [2021-05-23T05:50:16.040883565Z] For documentation on the buildpacks used to build your app, please see:
[bloodbath-app] [2021-05-23T05:50:16.041024480Z] Node.js: https://do.co/apps-buildpack-node
[bloodbath-app] [2021-05-23T05:50:16.044714654Z]
I figured there was a problem in my code or a difference between my development environment and DigitalOcean, so I put a specific node / react-router-dom version and made sure it’s the same on both.
It “worked” and I could compile and deploy my app. But then today I made a minor change which has nothing to do with those files on the same app (a simple tag change in a file of the app) and it broke again with this error.
Because my changes were absolutely not related, I believe I’m facing a bug. Did it happen to someone else? Is it a bug?
KFSys
1e6b823ea20d4cb189a34a922f5588
a78df6d867e44a458d3e9e23747988
ibrahim
mayricoak
nashurgessa
tumerseyrek
da1d14cd11434cac8303ee43a3cec6
bennyooo
Samiuddin Mohammed
HappyDarkCyanDolphin