I'm stoke do build a Bitbucket Pipeline for an ionic app. The Problem occurred for "ionic build --prod" command not found
{
"name": "******",
"version": "0.0.1",
"private": true,
"dependencies": {
"@capacitor/android": "4.2.0",
"@capacitor/app": "4.1.1",
"@capacitor/camera": "4.1.4",
"@capacitor/core": "^4.0.0",
"@capacitor/haptics": "4.1.0",
"@capacitor/keyboard": "4.1.0",
"@hookform/resolvers": "^2.9.8",
"@ionic/pwa-elements": "^3.1.1",
"@ionic/react": "^6.0.0",
"@ionic/react-router": "^6.0.0",
"@reduxjs/toolkit": "^1.8.3",
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/react": "^11.2.5",
"@testing-library/user-event": "^12.6.3",
"@tiptap/react": "^2.0.0-beta.207",
"@tiptap/starter-kit": "^2.0.0-beta.207",
"@toast-ui/react-image-editor": "^3.15.2",
"@types/jest": "^26.0.20",
"@types/node": "^12.19.15",
"@types/react": "^16.14.3",
"@types/react-dom": "^16.9.10",
"@types/react-router": "^5.1.11",
"@types/react-router-dom": "^5.1.7",
"aws-amplify": "^4.3.39",
"axios": "^0.27.2",
"axios-mock-adapter": "^1.21.2",
"flag-icons": "^6.6.6",
"i18next": "^22.0.4",
"i18next-browser-languagedetector": "^7.0.1",
"ionicons": "^5.4.0",
"joi": "^17.6.1",
"joi-password": "^4.0.0",
"lodash": "^4.17.21",
"quagga": "^0.12.1",
"react": "^17.0.1",
"react-collapsed": "^3.6.0",
"react-dom": "^17.0.1",
"react-hook-form": "^7.36.1",
"react-i18next": "^12.0.0",
"react-native-uuid": "^2.0.1",
"react-paginate": "^8.1.4",
"react-redux": "^8.0.2",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react-scripts": "^5.0.0",
"react-select": "^5.7.0",
"recorderjs": "github:mattdiamond/Recorderjs",
"remixicon": "^2.5.0",
"signature_pad": "^4.1.4",
"typescript": "^4.1.3",
"underscore": "^1.13.6",
"videojs-record": "^4.6.0",
"web-vitals": "^0.2.4",
"workbox-background-sync": "^5.1.4",
"workbox-broadcast-update": "^5.1.4",
"workbox-cacheable-response": "^5.1.4",
"workbox-core": "^5.1.4",
"workbox-expiration": "^5.1.4",
"workbox-google-analytics": "^5.1.4",
"workbox-navigation-preload": "^5.1.4",
"workbox-precaching": "^5.1.4",
"workbox-range-requests": "^5.1.4",
"workbox-routing": "^5.1.4",
"workbox-strategies": "^5.1.4",
"workbox-streams": "^5.1.4",
"xmlbuilder2": "^3.0.2"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --transformIgnorePatterns \"node_modules/(?!(@ionic/react|@ionic/react-router|@ionic/core|@stencil/core|ionicons)/)\"",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@capacitor/cli": "^4.0.0",
"@ionic/cli": "6.20.3",
"@types/lodash": "^4.14.190",
"@types/recordrtc": "^5.6.10",
"@types/underscore": "^1.11.4",
"@types/video.js": "^7.3.50",
"sass": "^1.54.8"
},
"description": "An Ionic project"
}