Skip to content

simon-3t/print.fun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

print.fun Development Guide

This project uses Node.js scripts located in the repository root. If you see an error similar to:

npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /home/.../package.json

it usually means npm was executed from a directory that does not contain this project's package.json. Run commands from the repository root (the folder that contains package.json).

Getting Started

  1. Install dependencies (even if none are currently listed, this ensures node_modules exists):
    npm install
  2. Start the development server:
    npm run dev
  3. Build the project for production:
    npm run build

If you are working from a different path on your machine, adjust the commands to ensure the current working directory is the root of this repository before running npm.

Project Configuration

The repository's package.json defines two scripts:

  • npm run dev — starts scripts/dev.js, a simple static file development server bound to HOST/PORT (defaults to 0.0.0.0:5173).
  • npm run build — runs scripts/build.js to clean and repopulate the dist/ directory with the app's static assets.

The manifest does not yet list runtime dependencies, so npm install completes immediately but still creates a package-lock.json to capture the Node version metadata. Running either script from any directory other than the repository root will re-create the earlier ENOENT error, because npm looks for package.json in the current working directory.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published