Comments (10)
@jkrup Here's what I've tried:
Add the following code to packages.json (per zeit now docs):
"now": { "features": { "cloud": "v1" } }
Add "'features': { 'cloud': 'v1' }"
to a secret on now, then include it as `@cloud-settings in meteor-now deployment string
Add "'features': { 'cloud': 'v1' }"
to the end of the meteor now deployment string on its own. The meteor now codebase seems to accommodate remainingVariables
but not sure how this fits in, or what use case remainingVariables
would cover.
None of the above works, but I'll keep working on it until something breaks through as I need it to work yesterday for a customer.
I'm currently looking into how the now.features.cloud
version could be integrated into the deployment string as an additional env variable.
I thought the above information might be helpful in identifying the first order issue. I'll let you know if I'm able to develop a solution that works on my own through pull-request.
from meteor-now.
@qualitymanifest I think it would need to be an option made available in the deployment string of meteor-now. Either that or baked into the deployment as the only option. So, it will require a change to meteor-now as far as I can tell.
Still working out the details, but will post an update with any progress.
from meteor-now.
Success! Deployment ready
Thank you @jkrup !
from meteor-now.
I have the same issue: The built image size (346.2M) exceeds the 100MiB limit
My app is 84 MB locally. Is the issue caused by meteor-now or is the app somehow growing 268 MB once it gets to Zeit's servers?
Here's more on the reason for the change on zeit: this issue vercel/vercel#1523
from meteor-now.
Does the bundle-splitting of 1MB for the free ZEIT plan need to be used to split files into 100MB chunks for the paid ZEIT plan? Is there some limit on ZEIT of 100MB per file upload?
from meteor-now.
Zeit made an improvement that requires under 100MB to deploy to cloud version 2, which they made standard for all deployments. Deploying to cloud: 'v1' still allows larger file sizes.
"features": {
"cloud": "v1"
},
A quick solution to the current issue in meteor-now would be to change the setting.
I can try to do it by pull request, but it could take a while as I'm unfamiliar with the code.
from meteor-now.
@brianmcdonough have you had success deploying to cloud v1 using meteor-now? If so, how did you go about it? I was actually just writing #121 when you posted that. I've tried several ways and I can't get it to work.
from meteor-now.
I've attempted to reduce build sizes with node alpine, but especially for apps bundled with mongodb that may be very tricky (or not possible). So for now I'll quickly push an update as per @brianmcdonough 's comment to add a now.json
with "'features': { 'cloud': 'v1' }"
from meteor-now.
Everyone having this issue please try npm install meteor-now@beta
and then redeploying using meteor-now
from meteor-now.
from meteor-now.
Related Issues (20)
- Tests are failing on Windows
- MongoDB with Meteor 1.7 fails
- Error: Slash in host identifier HOT 6
- Meteor 1.7 mongo error HOT 4
- Support for GitHub Integration
- Use multi stage Docker builds HOT 5
- Does meteor-now support now settings in now.json or package.json? HOT 5
- Does not support standard Mongo connection string HOT 2
- just saying thanks HOT 1
- Support METEOR_PACKAGE_DIRS HOT 1
- [FAQ] Will this work with any CI? HOT 1
- Way to change code without a full re-deploy HOT 1
- first run throws error HOT 1
- Compatibility with Now 2.0? HOT 28
- Possible to deploy without rebuilding if deploy failed HOT 1
- The property `features` is not allowed in now.json HOT 9
- Alias Support not workinb HOT 1
- Project name should be taken from package.json or now.json in priority
- [Error]: `Cannot read property '1' of null` HOT 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 meteor-now.