Issues with installation

Open
#21 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript, node.js, vite

Research direction

Review the installation instructions and the JavaScript setup around app.js and the npm start command; first reproduce the reported sequence with npm install, node --env-file=.env app.js, and npm run start. Check why vite is unavailable and reorder or complete the setup guidance so a new user can start both server and client successfully.

Written by the indexing model from the issue text.

Description

Description of the bug:

The instructions seem out of order and are missing some dependencies. It first tells you to run the client before setting up and running the server. That's confusing.

Regardless, I attempted to install and run the js version. I ran npm install which was successful. Then, I ran node --env-file=.env app.js and successfully started the server. However, when I go to run the client with npm run start I get:

% npm run start

> [email protected] start
> vite --port 3000

sh: vite: command not found
Actual vs expected behavior:

No response

Any other information you'd like to share?

This is on a Macbook Air M3 Sequoia 15.0.1 running VSCode with Node installed via brew and everything up to date.

Dominant language
JavaScript
Stars
205
Forks
77
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from google-gemini/example-chat-app

All issues in google-gemini/example-chat-app

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.