Ask coding questions

← Back to all posts
react vite projec run fail: Updating package configuration
WuYiqing (0)

I try to run a react vite project, but replit fail at install dependencies, please see the error log below: Updating package configuration

--> npm install @/assets @/App.less
npm ERR! code ENOLOCAL
npm ERR! Could not install from "@/assets" as it does not contain a package.json file.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/runner/.npm/_logs/2021-03-12T06_44_53_836Z-debug.log
exit status 1


try it again. May be an error. in installing.

WuYiqing (0)

@RYANTADIPARTHI I have tried many times, and could never run it. Maybe there's some bugs with upm.