I am receiving some errors when i run the command ‘ionic build.’ The first error I am getting is Error: export ‘buildRequestInit’ (imported as ‘buildRequestInit’) was not found in ‘@capacitor/core’ (possible exports: Capacitor, CapacitorException, CapacitorPlatforms, ExceptionCode, Plugins, WebPlugin, WebView, addPlatform, registerPlugin, registerWebPlugin, setPlatform). The next error I am receiving is Error: node_modules/@capacitor/filesystem/dist/esm/definitions.d.ts:1:15 – error TS2305: Module ‘”@capacitor/core”‘ has no exported member ‘HttpOptions’.
1 import type { HttpOptions, PermissionState, PluginListenerHandle } from ‘@capacitor/core’;
~~~~~~~~~~~
[ERROR] An error occurred while running subprocess ng. I understand that there are compatibility issues with my @capacitor/filesystem and @capacitor/core. Here are the versions I have for reference. “@capacitor/filesystem”: “^5.1.3” and “@capacitor/core”: “^3.0.0”. i just need help knowing what versions are compatible with each other and the commands to uninstall the current versions and install the needed versions.
I have trying running several uninstall and install commands such as npm install @capacitor/core@^3.0.0 @capacitor/filesystem@^3.0.0 –save, npm install @capacitor/core@^5.0.0 @capacitor/storage@^3.0.0 –save, npm uninstall typescript –legacy-peer-deps, npm install typescript –legacy-peer-deps, npm install @capacitor/[email protected] –force, npm uninstall @capacitor/core –force, npm install [email protected] –save-dev