Sina Cloud git push error Unable to select a buildpack,
leadreamdeMacBook-Pro:leadream leadream$ git push sae master:1
Counting objects: 7, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (7/7), done.
Writing objects: 100% (7/7), 826 bytes | 0 bytes/s, done.
Total 7 (delta 2), reused 0 (delta 0)
remote: Exporting git code...
remote: Uploading...
-----> Unable to select a buildpack
remote: {"Code":0,"Data":"build image failed: exit status 1."}
remote: ERROR: Failed to build image
remote: error: hook declined to update refs/heads/1
To https://git.sinacloud.com/where
! [remote rejected] master -> 1 (hook declined)
error: failed to push some refs to 'https://git.sinacloud.com/where'
Have any of you guys encountered this kind of situation?
The directory is wrong. After I git cloned it, there was an extra project folder in the project root directory, and all the files like package.json were in it. When I run it in the root directory, package.json cannot be found, so an error is reported.
Has the original poster solved it? I also encountered this problem,