Shopify / Shopify/shopify-app-template-node

vite build not show vite connected on the console dev mode and production mode

Open
#1,155 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1k
Forks
434
PR merge metrics
No merged PRs in 30d

Description

Issue summary

vite build not working in vite latesh version vite": "^3.2.1"

Write a short description of the issue here ↓
npm run build "build": "vite build", no any error on create build when run the code it was show error on browser console

Expected behavior

vite work should no throw any error

What do you think should happen?

Actual behavior

in dev mode vite show vite connected message (when i used vite before after update package 3.1.1 to 3.2.1 some Errror )

What actually happens?
image

this vite Error
Tip: include an error message (in a <details></details> tag) if your issue is related to an error

Steps to reproduce the problem

take this code
vite vite": "^3.2.1"
npm run build "build": "vite build", npm run dev # for dev mode npm start NODE_ENV=prod node server/index.js ``` # for production mode

Reduced test case

The best way to get your bug fixed is to provide a reduced test case.

Specifications

  • Browser: chrome
  • Device: HP
  • Operating System: Ubuntu

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.

Research direction

Start by reproducing the issue with vite ^3.2.1 using the mentioned npm run build, npm run dev, and npm start commands. Inspect server/index.js and the browser console, comparing development and production behavior. Done means the built app runs without the reported console error and the expected Vite connection behavior is understood.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, vite
Domain
build-system, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.