Open mssngr opened 3 years ago
Same here. heroku/7.52.0 linux-x64 node-v12.21.0 Ubuntu 20.04
same:
(node:30156) SyntaxError Plugin: heroku: C:\Users\
$ node -v v14.16.0
You can easily fix this yourself. Create an empty JSON object in the config.json
, and heroku will take care of the rest.
file: ~/.local/share/heroku/config.json
{}
@yakob-aleksandrovich's solution fixed the issue Run the following commands :- 1) cd ~ 2) cd .local 3) cd share 4) nano config.json Edit :- a) You have to press "Ctrl + O" and press enter to save the file b) Press "Ctrl + X" to exit
5) Type in "{ }" Just the stuff INSIDE the quotes. 6) heroku buildpacks 7) heroku update
Btw my solution is just for linux/macos users.
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Install Heroku CLI on Linux via Snap. Run a Heroku command. See this output:
What is the expected behavior?
The command runs without a syntax error.
823 had this issue, too, but the issue was closed without any further ado (and apparently without a fix, either.)