Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

๐Ÿ› Bug Report:

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

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript, react, vite

Research direction

Start by running npm run dev and inspect the starter's imports of public/appwrite.svg and public/react.svg, using the Vite error output as the guide. Done means the development server starts without public-directory import errors and the referenced assets still load.

Written by the indexing model from the issue text.

Description

bug
๐Ÿ‘Ÿ Reproduction steps

npm run dev

๐Ÿ‘ Expected behavior

[ASUS: starter-for-react]$ npm run dev

[email protected] dev
vite

VITE v6.3.5 ready in 471 ms

โžœ Local: http://localhost:5173/
โžœ Network: use --host to expose
โžœ press h + enter to show help

Image
๐Ÿ‘Ž Actual Behavior

Assets in public directory cannot be imported from JavaScript.
If you intend to import that asset, put the file in the src directory, and use /src/appwrite.svg instead of /public/appwrite.svg.
If you intend to use the URL of that asset, use /appwrite.svg?url.
Assets in public directory cannot be imported from JavaScript.
If you intend to import that asset, put the file in the src directory, and use /src/react.svg instead of /public/react.svg.
If you intend to use the URL of that asset, use /react.svg?url.
Files in the public directory are served at the root path.
Instead of /public/react.svg, use /react.svg.

Image
๐ŸŽฒ Appwrite version

Appwrite Cloud

๐Ÿ’ป Operating system

Windows

๐Ÿงฑ Your Environment

17.0.0

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?
  • I checked and didn't find similar issue
๐Ÿข Have you read the Code of Conduct?
Dominant language
JavaScript
Stars
8
Forks
44
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

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 appwrite/starter-for-react

All issues in appwrite/starter-for-react

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.