HomePage icon indicating copy to clipboard operation
HomePage copied to clipboard

Operation error

Open 123asd251 opened this issue 4 months ago • 1 comments

execution “npm run dev” hint Could not read package.json: Error: ENOENT: no such file or directory, open 'D:\workspace\homepage\package.json'

123asd251 avatar Sep 03 '25 00:09 123asd251

Please confirm that the package.json file exists in the root directory of your project. If the file does not exist, check whether your project has been initialized correctly, or try to create a new package.json file. You can initialize the project by running the following command:


npm init -y

This will automatically create a default package.json file. If the issue still persists, please provide more information about your project settings and steps taken, so that we can further assist you in resolving the issue.

SimonAKing avatar Oct 01 '25 07:10 SimonAKing