Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to parse JSON file ~/.proto/temp/node/versions.json when running multiple tasks #174

Closed
konomae opened this issue Aug 18, 2023 · 2 comments · Fixed by #176
Closed
Assignees
Labels
bug Something isn't working

Comments

@konomae
Copy link

konomae commented Aug 18, 2023

What version?

0.14.1

Which command?

node

What happened?

It is similar to what I reported previously.
To reproduce this issue, use the same steps.

If you're reporting an issue for a specific language/tool and not for proto itself, please report the issue on their official repository.

Sorry but I don't know. I think this is issue for proto itself.

Any logs?

> proto-problem@1.0.0 task
> run-p task:*


> proto-problem@1.0.0 task:f
> node -e "console.log('f')"

Error: json::parse_file

  × Failed to parse JSON file ~/.proto/temp/node/versions.json.
  ╰─▶ EOF while parsing a value at line 1 column 0

Error: json::parse_file

  × Failed to parse JSON file ~/.proto/temp/node/versions.json.
  ╰─▶ EOF while parsing a value at line 1 column 0

Error: json::parse_file

  × Failed to parse JSON file ~/.proto/temp/node/versions.json.
  ╰─▶ EOF while parsing a value at line 1 column 0

Operating system?

MacOS

Architecture?

Arm64

@konomae konomae added the bug Something isn't working label Aug 18, 2023
@milesj
Copy link
Contributor

milesj commented Aug 18, 2023

I'll add some file locking around this file as well.

@konomae
Copy link
Author

konomae commented Aug 20, 2023

Thanks for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

2 participants