Skip to content

Error: could not read package.json  #3

Description

@smyja

i get this error when i try to run it. Can you provide a screen recording of you getting this to run on?

(venv) mac@Maros-MacBook-Air react-konva-editor % bash publish.sh -dev
Executing file: publish.sh
First parameter: -dev
Second parameter: 
Third parameter: 
REPO=http://localhost:4873/
yarn run v1.22.19
warning ../package.json: No license field
$ tsc -outDir ./dist  &&  tsc -module commonjs -outDir ./lib
✨  Done in 4.13s.
cp: -r is not a directory
​【oaicite:3】​
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /Users/mac/Documents/GitHub/react-konva-editor/dist/package.json
npm ERR! errno -2
npm ERR! enoent Could not read package.json: Error: ENOENT: no such file or directory, open '/Users/mac/Documents/GitHub/react-konva-editor/dist/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent 

npm ERR! A complete log of this run can be found in: /Users/mac/.npm/_logs/2023-11-22T17_48_17_523Z-debug-0.log
​【oaicite:0】​
Press any key to exit:

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