Comments (12)
That's odd, definitely sounds like some kind of bug, just not sure if it's exrm or dynamo. Was this project on GitHub? I thought it was, but I can't recall the url. If so, I'll clone it and try to reproduce.
If not, could you tell me what the contents (recursively) of _build/prod
are when you run MIX_ENV=prod mix compile
?
from exrm.
Here's the repo: https://github.com/stevedomin/simple_dynamo_deploy
And here's a gist of the contents of _build/prod: https://gist.github.com/stevedomin/0a5832835262b6618cec
from exrm.
Interesting, did a clone of your project, mix do deps.get, compile, release
, and there is no nil folder under the entire rel
tree. I think it might've just been a fluke. A couple of questions though:
- If you delete that folder, and do
mix do clean --all, deps.get, compile, release
, does it come back? - Does that folder appear only after running your app?
- What version of Elixir are you on (I'm running 0.13.1)?
from exrm.
I should have mentioned, that folder is created at the root of my project (along with a binary named 'relx' that I just noticed, don't know if that one is meant to be there too).
- It does come back when I run
mix do clean --all, deps.get, compile, release
- It appears when I run the
mix release
only - I'm on 0.13.1 too
Here's the screenshot of the root of the project:
from exrm.
Woah, strange. I just reran those commands and now it shows up for me too. I'll follow up when I know more.
from exrm.
Interesting. Glad you find a way to reproduce it too.
from exrm.
Well that was a fun dive. Check this out:
- Delete the nil folder
- Run
MIX_ENV=prod mix do clean, compile
The nil folder comes back. Best I can tell there is some difference in the way that dynamo is compiled for prod. The issue is probably somewhere in here. As far as I can tell, the .compile.dynamo file should be in the root of the compile path, but at some point it must be joining a path to an interpolated string with a nil value. I don't think it's an issue, and doesn't seem to affect anything, but probably worth reporting to the dynamo project.
from exrm.
Ping :)
from exrm.
Closing this since it was a third party issue. If you need any help sorting it out, come find me on #elixir-lang :)
from exrm.
Yeah sorry for not getting back to you earlier, crawling under work atm but I'm going to look into that hopefully soon. Will let you know how it goes.
from exrm.
And thanks again for taking time to look into it.
from exrm.
No problem!
from exrm.
Related Issues (20)
- Mix.env/1 being used with string instead of atom when `--env="prod"` passed from script HOT 1
- Generating upgrade fails when attaching git revision to version HOT 1
- "/rel/<projectname>/bin/<projectname> stop" does not work HOT 3
- `mix release` fails with `{unreachable_package, cowlib}` HOT 4
- Error when following Phoenix Walkthrough Documentation
- [Bug?] Not responding to pings HOT 1
- RELX_REPLACE_OS_VARS boot script fails on awk with env vars containing certain characters HOT 3
- Color codes always output
- Release on ubuntu but cannot use in macOS HOT 2
- Can't generate release if config contains values set by an anonymous function HOT 3
- Remote console doesn't seem to have access to all applications in an umbrella app HOT 1
- Running mix release in docker cause MatchError. HOT 1
- Upgrade releases and storage... HOT 1
- deploy: module Experimental.Flow is not available
- mix release fails with 'no case clause matching: :eacces' HOT 8
- Raspbian Jessie with erlang 19 failed to start release HOT 1
- using a different erts version when deploying a release
- Default protocols are not replaced by consolidated in release. HOT 3
- Error while trying to rewrite app file HOT 2
- Mix.Shell.cmd/2 no longer exists, could we get an update to use the new Mix.Shell.cmd/3?
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 exrm.