From 3329cfe88a11f616e06fed13db31ab15a454f5a8 Mon Sep 17 00:00:00 2001 From: Nikhil <6836536+qwertynik@users.noreply.github.com> Date: Wed, 31 Jan 2024 16:56:49 +0530 Subject: [PATCH 1/2] Update README.md to make it easier to explore app --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 98ba026..77456cb 100644 --- a/README.md +++ b/README.md @@ -28,8 +28,8 @@ After the user navigates to Tab 2 (Photos), they can tap/click on the camera but > Note: It's highly recommended to follow along with the [tutorial guide](https://ionicframework.com/docs/react/your-first-app), which goes into more depth, but this is the fastest way to run the app. 0) Install Ionic if needed: `npm install -g @ionic/cli`. -1) Clone this repository. -2) In a terminal, change directory into the repo: `cd photo-gallery-capacitor-react`. +1) Clone this repository. `git clone https://github.com/ionic-team/tutorial-photo-gallery-react` +2) Change into the cloned directory: `cd tutorial-photo-gallery-react`. 3) Install all packages: `npm install`. 4) Run on the web: `ionic serve`. -5) Run on iOS or Android: See [here](https://ionicframework.com/docs/building/running). +5) For running on iOS or Android: See [here](https://ionicframework.com/docs/building/running). From 5cb7398901326bf7197287eb1e0a34f390729657 Mon Sep 17 00:00:00 2001 From: Brandy Smith <6577830+brandyscarney@users.noreply.github.com> Date: Mon, 24 Aug 2026 15:51:14 -0400 Subject: [PATCH 2/2] docs(readme): update how to run instructions --- README.md | 20 ++++++++++++-------- package-lock.json | 3 +++ package.json | 3 +++ 3 files changed, 18 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 77456cb..913b84e 100644 --- a/README.md +++ b/README.md @@ -25,11 +25,15 @@ After the user navigates to Tab 2 (Photos), they can tap/click on the camera but ## How to Run -> Note: It's highly recommended to follow along with the [tutorial guide](https://ionicframework.com/docs/react/your-first-app), which goes into more depth, but this is the fastest way to run the app. - -0) Install Ionic if needed: `npm install -g @ionic/cli`. -1) Clone this repository. `git clone https://github.com/ionic-team/tutorial-photo-gallery-react` -2) Change into the cloned directory: `cd tutorial-photo-gallery-react`. -3) Install all packages: `npm install`. -4) Run on the web: `ionic serve`. -5) For running on iOS or Android: See [here](https://ionicframework.com/docs/building/running). +> [!TIP] +> It's highly recommended to follow along with the [tutorial guide](https://ionicframework.com/docs/react/your-first-app), which goes into more depth, but this is the fastest way to run the app. + +> [!IMPORTANT] +> Requires Node `^22.12.0 || >=24.0.0`. Node 23 is not supported. + +1) Install the Ionic CLI (if you haven't already): `npm install -g @ionic/cli` +2) Clone the repository: `git clone https://github.com/ionic-team/tutorial-photo-gallery-react` +3) Navigate to the project directory: `cd tutorial-photo-gallery-react` +4) Install the project dependencies: `npm install` +5) Run the app in your browser: `ionic serve` +6) Run the app on iOS or Android: Follow the [Capacitor Workflow](https://capacitorjs.com/docs/basics/workflow) guide for instructions on building and running the app on a native platform. diff --git a/package-lock.json b/package-lock.json index 14d9e1e..a56946e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -45,6 +45,9 @@ "typescript": "^5.1.6", "vite": "^4.3.9", "vitest": "^0.32.2" + }, + "engines": { + "node": "^22.12.0 || >=24.0.0" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/package.json b/package.json index ad60cab..38db633 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,9 @@ "private": true, "version": "4.0.0", "type": "module", + "engines": { + "node": "^22.12.0 || >=24.0.0" + }, "scripts": { "dev": "vite", "build": "tsc && vite build",