Comments (10)
but how come I have to highlight my terminal to get all the logs I just posted?
Can you open a new issue with a screenshot of this? We probably need to fix our colors.
from ion.
Still waiting for Pulumi to release the fix - pulumi/pulumi-aws#3622
from ion.
@fwang looks like this might be ready pulumi/pulumi-aws#3758
from ion.
Latest sst (v0.0.255) has the Pulumi fix.
Please reopen if issue persists.
from ion.
This error seems to exist regardless if I am using npm
or bun
for my package manager of choice.
× Failed
Ion sst:aws:Nextjs → IonRevalidationSeederFunction aws:lambda:Function
Uploaded file must be a non-empty zip
from ion.
we've seen this bug during development - weird fix but can you try rebooting your computer? we believe there's a bug in pulumi related to this
cc @fwang did they fix this?
from ion.
I'll give that a try in an hour or so.
from ion.
Wow that suggestion seems to have worked @thdxr!
~/QleoCode/next-ion main ± sst deploy
SST ❍ ion 0.0.199 ready!
➜ App: next-ion
Stage: sunitkulkarni
~ Deploying
Running "npx --yes [email protected] build" script
Next.js v14.1.4
OpenNext v3.0.0-rc.8
┌─────────────────────────────────┐
│ OpenNext — Building Next.js app │
└─────────────────────────────────┘
$ next build
▲ Next.js 14.1.4
Creating an optimized production build ...
✓ Compiled successfully
Linting and checking validity of types ...
Collecting page data ...
Generating static pages (0/5) ...
Generating static pages (1/5)
Generating static pages (2/5)
Generating static pages (3/5)
✓ Generating static pages (5/5)
Finalizing page optimization ...
Collecting build traces ...
Route (app) Size First Load JS
┌ ○ / 5.39 kB 89.7 kB
└ ○ /_not-found 882 B 85.2 kB
+ First Load JS shared by all 84.3 kB
├ chunks/69-1656e2cc92fa6e80.js 29 kB
├ chunks/fd9d1056-d03af0e963d7a2f3.js 53.4 kB
└ other shared chunks (total) 1.9 kB
○ (Static) prerendered as static content
┌──────────────────────────────┐
│ OpenNext — Generating bundle │
└──────────────────────────────┘
Bundling middleware function...
Bundling static assets...
Bundling cache assets...
Bundling revalidation function...
Bundling image optimization function...
Bundling warmer function...
OpenNext build complete.
(node:21982) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
| Creating Ion sst:aws:Nextjs
| Creating Ion sst:aws:Nextjs → IonAssets sst:aws:Bucket
| Created Ion sst:aws:Nextjs → IonAssets sst:aws:Bucket
| Creating Ion sst:aws:Nextjs → IonOriginAccessIdentity sst:aws:OriginAccessIdentity
| Created Ion sst:aws:Nextjs → IonOriginAccessIdentity sst:aws:OriginAccessIdentity
| Creating Ion sst:aws:Nextjs → IonOpenNextOutput sst:aws:Cache
| Created Ion sst:aws:Nextjs → IonOpenNextOutput sst:aws:Cache
| Creating Ion sst:aws:Nextjs → IonAssetsId random:index:RandomId
| Created Ion sst:aws:Nextjs → IonAssetsId random:index:RandomId
| Creating Ion sst:aws:Nextjs → IonRevalidationQueue sst:aws:Queue
| Creating Ion sst:aws:Nextjs → IonRevalidationSeeder sst:aws:Function
| Creating Ion sst:aws:Nextjs → IonRevalidationTable aws:dynamodb:Table
| Creating Ion sst:aws:Nextjs → IonAssetsBucket aws:s3:BucketV2
| Created Ion sst:aws:Nextjs → IonRevalidationQueue sst:aws:Queue
| Creating Ion sst:aws:Nextjs → IonRevalidationQueueQueue aws:sqs:Queue
| Created Ion sst:aws:Nextjs → IonRevalidationSeeder sst:aws:Function
| Creating Ion sst:aws:Nextjs → IonRevalidationSeederLogGroup aws:cloudwatch:LogGroup
| Created Ion sst:aws:Nextjs → IonRevalidationSeederLogGroup aws:cloudwatch:LogGroup
| Creating Ion sst:aws:Nextjs → IonRevalidationSeederCode aws:s3:BucketObjectv2
| Created Ion sst:aws:Nextjs → IonRevalidationSeederCode aws:s3:BucketObjectv2
| Created Ion sst:aws:Nextjs → IonAssetsBucket aws:s3:BucketV2
| Creating Ion sst:aws:Nextjs → IonAssetsPublicAccessBlock aws:s3:BucketPublicAccessBlock
| Creating Ion sst:aws:Nextjs → IonAssetsCors aws:s3:BucketCorsConfigurationV2
| Created Ion sst:aws:Nextjs → IonAssetsPublicAccessBlock aws:s3:BucketPublicAccessBlock
| Creating Ion sst:aws:Nextjs → IonAssetsPolicy aws:s3:BucketPolicy
| Created Ion sst:aws:Nextjs → IonAssetsPolicy aws:s3:BucketPolicy (4.0s)
| Created Ion sst:aws:Nextjs → IonAssetsCors aws:s3:BucketCorsConfigurationV2 (15.9s)
| Created Ion sst:aws:Nextjs → IonRevalidationTable aws:dynamodb:Table (20.7s)
| Creating Ion sst:aws:Nextjs → IonRevalidationSeederRole aws:iam:Role
| Created Ion sst:aws:Nextjs → IonRevalidationSeederRole aws:iam:Role
| Creating Ion sst:aws:Nextjs → IonRevalidationSeederFunction aws:lambda:Function
| Created Ion sst:aws:Nextjs → IonRevalidationQueueQueue aws:sqs:Queue (25.3s)
| Creating Ion sst:aws:Nextjs → IonRevalidationQueueSubscriber sst:aws:Function
| Creating Ion sst:aws:Nextjs → IonDefault sst:aws:Function
| Creating Ion sst:aws:Nextjs → IonImageOptimizer sst:aws:Function
| Creating Ion sst:aws:Nextjs → IonServerCachePolicy aws:cloudfront:CachePolicy
| Creating Ion sst:aws:Nextjs → IonCloudfrontFunctionServerCfFunction aws:cloudfront:Function
| Created Ion sst:aws:Nextjs → IonServerCachePolicy aws:cloudfront:CachePolicy
| Created Ion sst:aws:Nextjs → IonRevalidationQueueSubscriber sst:aws:Function (1.2s)
| Creating AwsProvider sst:us-east-1
| Creating Ion sst:aws:Nextjs → IonRevalidationQueueSubscriberLogGroup aws:cloudwatch:LogGroup
| Created Ion sst:aws:Nextjs → IonDefault sst:aws:Function (1.2s)
| Creating Ion sst:aws:Nextjs → IonRevalidationQueueSubscriberRole aws:iam:Role
| Created AwsProvider sst:us-east-1
| Created Ion sst:aws:Nextjs → IonImageOptimizer sst:aws:Function (1.2s)
| Creating Ion sst:aws:Nextjs → IonDefaultLogGroup aws:cloudwatch:LogGroup
| Creating Ion sst:aws:Nextjs → IonDefaultRole aws:iam:Role
| Creating Ion sst:aws:Nextjs → IonImageOptimizerLogGroup aws:cloudwatch:LogGroup
| Creating Ion sst:aws:Nextjs → IonImageOptimizerRole aws:iam:Role
| Creating Ion sst:aws:Nextjs → IonAssetFiles sst:aws:BucketFiles
| Creating Ion sst:aws:Nextjs → IonRevalidationQueueSubscriberCode aws:s3:BucketObjectv2
| Created Ion sst:aws:Nextjs → IonRevalidationQueueSubscriberLogGroup aws:cloudwatch:LogGroup
| Created Ion sst:aws:Nextjs → IonDefaultLogGroup aws:cloudwatch:LogGroup
| Created Ion sst:aws:Nextjs → IonImageOptimizerLogGroup aws:cloudwatch:LogGroup
| Created Ion sst:aws:Nextjs → IonDefaultRole aws:iam:Role
| Creating Ion sst:aws:Nextjs → IonDefaultFunction aws:lambda:Function
| Created Ion sst:aws:Nextjs → IonImageOptimizerRole aws:iam:Role
| Created Ion sst:aws:Nextjs → IonRevalidationQueueSubscriberRole aws:iam:Role
| Creating Ion sst:aws:Nextjs → IonImageOptimizerFunction aws:lambda:Function
| Creating Ion sst:aws:Nextjs → IonRevalidationQueueSubscriberFunction aws:lambda:Function
| Created Ion sst:aws:Nextjs → IonRevalidationQueueSubscriberCode aws:s3:BucketObjectv2
| Created Ion sst:aws:Nextjs → IonAssetFiles sst:aws:BucketFiles
| Creating Ion sst:aws:Nextjs → IonCdn sst:aws:CDN
| Created Ion sst:aws:Nextjs → IonCdn sst:aws:CDN
| Creating Ion sst:aws:Nextjs → IonCdnSsl sst:aws:Certificate
| Creating Ion sst:aws:Nextjs → IonCdnHostedZoneLookup sst:aws:HostedZoneLookup
| Created Ion sst:aws:Nextjs → IonCdnSsl sst:aws:Certificate
| Creating Ion sst:aws:Nextjs → IonDefaultCode aws:s3:BucketObjectv2
| Created Ion sst:aws:Nextjs → IonCdnHostedZoneLookup sst:aws:HostedZoneLookup
| Creating Ion sst:aws:Nextjs → IonCdnSslCertificate aws:acm:Certificate
| Creating Ion sst:aws:Nextjs → IonImageOptimizerCode aws:s3:BucketObjectv2
| Created Ion sst:aws:Nextjs → IonDefaultCode aws:s3:BucketObjectv2 (1.0s)
| Created Ion sst:aws:Nextjs → IonCloudfrontFunctionServerCfFunction aws:cloudfront:Function (3.2s)
| Created Ion sst:aws:Nextjs → IonImageOptimizerCode aws:s3:BucketObjectv2 (1.1s)
| Created Ion sst:aws:Nextjs → IonCdnSslCertificate aws:acm:Certificate (6.3s)
| Creating Ion sst:aws:Nextjs → IonCdnSslRecord4d26e852cf177dbb8fce31346a85ce1aiondevqleoai aws:route53:Record
| Created Ion sst:aws:Nextjs → IonRevalidationSeederFunction aws:lambda:Function (13.8s)
| Creating Ion sst:aws:Nextjs → IonRevalidationSeederCodeUpdater sst:aws:FunctionCodeUpdater
| Created Ion sst:aws:Nextjs → IonRevalidationSeederCodeUpdater sst:aws:FunctionCodeUpdater (1.6s)
| Creating Ion sst:aws:Nextjs → IonRevalidationSeed aws:lambda:Invocation
| Created Ion sst:aws:Nextjs → IonRevalidationSeed aws:lambda:Invocation (1.6s)
| Created Ion sst:aws:Nextjs → IonDefaultFunction aws:lambda:Function (12.6s)
| Creating Ion sst:aws:Nextjs → IonDefaultUrl aws:lambda:FunctionUrl
| Creating Ion sst:aws:Nextjs → IonDefaultCodeUpdater sst:aws:FunctionCodeUpdater
| Created Ion sst:aws:Nextjs → IonDefaultUrl aws:lambda:FunctionUrl
| Created Ion sst:aws:Nextjs → IonDefaultCodeUpdater sst:aws:FunctionCodeUpdater (1.5s)
| Created Ion sst:aws:Nextjs (44.1s)
| Created Ion sst:aws:Nextjs → IonImageOptimizerFunction aws:lambda:Function (18.1s)
| Creating Ion sst:aws:Nextjs → IonImageOptimizerUrl aws:lambda:FunctionUrl
| Creating Ion sst:aws:Nextjs → IonImageOptimizerCodeUpdater sst:aws:FunctionCodeUpdater
| Created Ion sst:aws:Nextjs → IonImageOptimizerUrl aws:lambda:FunctionUrl
| Created Ion sst:aws:Nextjs → IonImageOptimizerCodeUpdater sst:aws:FunctionCodeUpdater (2.6s)
| Created Ion sst:aws:Nextjs → IonRevalidationQueueSubscriberFunction aws:lambda:Function (23.7s)
| Creating Ion sst:aws:Nextjs → IonRevalidationQueueSubscriberCodeUpdater sst:aws:FunctionCodeUpdater
| Created Ion sst:aws:Nextjs → IonRevalidationQueueSubscriberCodeUpdater sst:aws:FunctionCodeUpdater (1.4s)
| Creating Ion sst:aws:Nextjs → IonRevalidationQueueEventSourceMapping aws:lambda:EventSourceMapping
| Created Ion sst:aws:Nextjs → IonRevalidationQueueEventSourceMapping aws:lambda:EventSourceMapping (14.2s)
| Created Ion sst:aws:Nextjs → IonCdnSslRecord4d26e852cf177dbb8fce31346a85ce1aiondevqleoai aws:route53:Record (55.7s)
| Creating Ion sst:aws:Nextjs → IonCdnSslValidation aws:acm:CertificateValidation
| Created Ion sst:aws:Nextjs → IonCdnSslValidation aws:acm:CertificateValidation
| Creating Ion sst:aws:Nextjs → IonCdnDistribution aws:cloudfront:Distribution
| Created Ion sst:aws:Nextjs → IonCdnDistribution aws:cloudfront:Distribution (1.8s)
| Creating Ion sst:aws:Nextjs → IonInvalidationPolicy aws:iam:Policy
| Creating Ion sst:aws:Nextjs → IonCdnARecordIondevqleoai aws:route53:Record
| Creating Ion sst:aws:Nextjs → IonCdnAAAARecordIondevqleoai aws:route53:Record
| Creating Ion sst:aws:Nextjs → IonCdnWaiter sst:aws:DistributionDeploymentWaiter
| Creating Ion sst:aws:Nextjs → IonInvalidation sst:aws:DistributionInvalidation
| Created Ion sst:aws:Nextjs → IonInvalidationPolicy aws:iam:Policy
| Creating Ion sst:aws:Nextjs → IonInvalidationPolicyAttachment0f24 aws:iam:RolePolicyAttachment
| Created Ion sst:aws:Nextjs → IonInvalidation sst:aws:DistributionInvalidation
| Created Ion sst:aws:Nextjs → IonInvalidationPolicyAttachment0f24 aws:iam:RolePolicyAttachment
| Created Ion sst:aws:Nextjs → IonCdnAAAARecordIondevqleoai aws:route53:Record (56.7s)
| Created Ion sst:aws:Nextjs → IonCdnARecordIondevqleoai aws:route53:Record (61.5s)
| Created Ion sst:aws:Nextjs → IonCdnWaiter sst:aws:DistributionDeploymentWaiter (205.7s)
✓ Complete
Ion: https://ion.dev.qleo.ai
---
url: https://ion.dev.qleo.ai
~/QleoCode/next-ion main ±
I had just upgraded my mac from macOS Sonoma 14.4 --> to macOS Sonoma 14.4.1
I'll also try a fresh repo and setup on the newest version of SST as well.
Also, this may have already been addressed somewhere else, but how come I have to highlight my terminal to get all the logs I just posted? I am running iTerm2 with zsh and a solarized dark theme. Otherwise, the logs in the terminal are invisible. Is there a way to change this default behavior? This wasn't the case for SST v2 that uses CDK.
from ion.
I'll rename this issue to the "Uploaded file must be a non-empty zip", we are tracking this with the Pulumi team.
from ion.
I'm using the latest sst version (v0.0.291) and it's still happening. I setup fresh Next.js project and run sst dev
, it failed on same error.
After reboot it works correctly.
I'm using macOS Sonoma 14.4.1 with M3 chip.
from ion.
Related Issues (20)
- preTokenGeneration is not documented on the ion docs.
- Setting of __dirname breaks some ES modules
- Feat: API Gateway v1 support
- Docs: Add an example for Lambda Layers
- Feat: Vercel Projects
- Cloudflare D1 and DrizzleKit Support
- SolidStart support for Cloudflare
- Deprecated Ion installation notes for Windows HOT 1
- sst is not support `@node-rs/*` libary HOT 2
- `sst remove` seems to be broken HOT 1
- Bug: sst secret set stuck HOT 1
- Behavior differs between `sst dev` and `sst deploy` (Ion auth handler using GoogleAdapter)
- `sst-env.d.ts` Generation Missing Export in Monorepo Workspace HOT 10
- [ApiGatewayV2][JWT] Maximum number of Authorizers for this API has been reached.
- Deleting old deployment assets
- Server responses in sst.aws.Function are wrapped inside another Response HOT 2
- orderedCacheBehaviors transformation not resolved HOT 1
- Leverage new SES integration with Eventbridge in SST Email
- Cannot add Federated Identity Provider to Cognito User Pool HOT 1
- Type errors in sst.config.ts since version 0.0.425 HOT 2
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 ion.