Skip to content

Wrong Command in documentation (Readme FIle) #2

@The3ven

Description

@The3ven

$ npm run build && npm run serve

code-screenshot@0.0.0 build
vite build

vite v4.4.9 building for production...
transforming (40) src\components\WidthMeasurement.jsxBrowserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: https://github.com/browserslist/update-db#readme
✓ 368 modules transformed.
dist/index.html 0.52 kB │ gzip: 0.32 kB
dist/assets/index-deebcf02.css 26.61 kB │ gzip: 5.36 kB
dist/assets/index-7a2ccf0b.js 1,292.61 kB │ gzip: 425.52 kB

(!) Some chunks are larger than 500 kBs after minification. Consider:

  • Using dynamic import() to code-split the application
  • Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
  • Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
    ✓ built in 20.64s
    npm error Missing script: "serve"
    npm error
    npm error To see a list of scripts, run:
    npm error npm run
    npm error A complete log of this run can be found in: C:\Users\Ali\AppData\Local\npm-cache_logs\2025-08-23T08_25_09_015Z-debug-0.log

there is no serve command in package.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions