Skip to content
New issue

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

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

Already on GitHub? # to your account

heroku build fails when node patch not specified #93

Open
OfTheDelmer opened this issue May 14, 2019 · 4 comments
Open

heroku build fails when node patch not specified #93

OfTheDelmer opened this issue May 14, 2019 · 4 comments

Comments

@OfTheDelmer
Copy link

OfTheDelmer commented May 14, 2019

Setting node_version=10.15 in the phoenix_static_buildpack.config led to a heroku build failure:

Downloading and installing node 10.15.3...
       Installing Node 10.15...
mv: cannot stat '/tmp/node-v10.15-linux-x64/*': No such file or directory

Examining the result of tar xzf /tmp/node-v10.15-linux-x64 -C /tmp with ls /tmp we see the following:

node-v10.15-linux-x64.tar.gz node-v10.15.3-linux-x64

Note the extracted folder includes the patch and causes following to fail in when installing node because the node-version does not have the patch specified.

 mv /tmp/node-v$node_version-linux-x64/* $node_dir
@prem-prakash
Copy link

same problem here

@hashim-sohail
Copy link

@prem-prakash @OfTheDelmer Did you find a fix?

@prem-prakash
Copy link

@hashim-sohail I just added the patch version

@Grantimus9
Copy link

Noting that I got the same error:

Installing binaries
Resolving node version 14.7...
Downloading and installing node 14.7.0...
       Installing Node 14.7...
mv: cannot stat '/tmp/node-v14.7-linux-x64/*': No such file or directory
 !     Push rejected, failed to compile Phoenix app.

And resolved it by adding the precise version to my phoenix_static_buildpack.config file in the root of my project directory:
node_version=14.7.0

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants