Comments (10)
@aerosol not sure why that directory is not empty. The build directory is supposed to be cleared out in between deploys.
Anyway, just pushed a fix for this. Could you try out latest master
?
from heroku-buildpack-phoenix-static.
In case anyone else runs into this, I've removed heroku-buildpack-nodejs
and configured heroku-buildpack-phoenix-static
to use the recommended npm/node versions.
from heroku-buildpack-phoenix-static.
👍
especially useful for upgrading to Phoenix 1.1 where we have to use Node > 5 and NPM 3
from heroku-buildpack-phoenix-static.
I suppose that could help me, I'm suddenly getting:
remote: -----> Installing binaries
remote: Using cached node 0.12.4...
remote: Installing node 0.12.4...
remote: mv: cannot move ‘/tmp/node-v0.12.4-linux-x64/bin’ to ‘/tmp/build_31b49ff677dbcc06cea25f1bdc6d466c/.heroku/node/bin’: Directory not empty
remote: mv: cannot move ‘/tmp/node-v0.12.4-linux-x64/include’ to ‘/tmp/build_31b49ff677dbcc06cea25f1bdc6d466c/.heroku/node/include’: Directory not empty
remote: mv: cannot move ‘/tmp/node-v0.12.4-linux-x64/lib’ to ‘/tmp/build_31b49ff677dbcc06cea25f1bdc6d466c/.heroku/node/lib’: Directory not empty
remote: mv: cannot move ‘/tmp/node-v0.12.4-linux-x64/share’ to ‘/tmp/build_31b49ff677dbcc06cea25f1bdc6d466c/.heroku/node/share’: Directory not empty
remote: ! Push rejected, failed to compile Phoenix app.
remote:
remote: ! Push failed
from heroku-buildpack-phoenix-static.
Pretty sure this is related to f45d8ce -- My last successful deploy was 6 days ago
from heroku-buildpack-phoenix-static.
@gjaldon Yes that helped.
FWIW, the buildpacks I'm using:
1. https://github.com/HashNuke/heroku-buildpack-elixir.git
2. https://github.com/heroku/heroku-buildpack-nodejs
3. https://github.com/gjaldon/heroku-buildpack-phoenix-static.git
from heroku-buildpack-phoenix-static.
Hm actually the static assets haven't been built, investigating.
from heroku-buildpack-phoenix-static.
@aerosol you're earlier error was also related to using heroku-buildpack-nodejs
. We now raise an error when heroku-buildpack-nodejs
is used(can only be detected though when this buildpack is run after the nodejs one). I also added a small FAQ section to clarify that nodejs buildpack should not be used along with this buildpack.
from heroku-buildpack-phoenix-static.
@deepflame latest commits will remove the older Node version if you specify a different version of Node in your latest deploy. Will work on clearing the cache based on an option flag in the phoenix_static_buildpack.config
file.
from heroku-buildpack-phoenix-static.
This feature of invalidating cache is now in master. You can enable it by setting clean_cache=true
in the phoenix_buildpack_static.config file.
from heroku-buildpack-phoenix-static.
Related Issues (20)
- Build is failing with NPM_TOKEN issue HOT 2
- My build just failed on phoenix.digest vs phx.digest HOT 1
- The build is failing if there is a .yarnrc with --cwd at the root HOT 1
- Support the new Cloud Native Buildpack (CNB) format.
- Files are compiled on startup
- New versions of node break the build HOT 17
- Remove default node_version
- Support for Yarn 2?
- Update heroku commands
- ngrok Error: certificate has expired HOT 3
- question about deployment to heroku with waypoint
- nodebin.herokai.com not resolving HOT 1
- Yarn error: "Command "deploy" not found." HOT 6
- Setup test suite and CI
- Heroku Build Fails HOT 2
- heroku build fails when node patch not specified HOT 4
- Improve error message below Phoenix 1.4?
- Is it possible to skip audit when building? HOT 3
- Is it possible to cache digested Phoenix output? HOT 4
- Installs an ancient version of yarn by default HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from heroku-buildpack-phoenix-static.