nitrojs / nitrojs/nitro

SSG doesn't work with routeRules on aws amlipify

Open
#2,644 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug v2
Dominant language
TypeScript
Stars
11.2k
Forks
899
Avg merge
2d 24m
Merged PRs (30d)
40

Description

Environment

AWS amplify with zero config

Platform:
WEB_COMPUTE

Reproduction

https://github.com/Aybee5/nuxt-init

Describe the bug

I define the routeRules config with various config and all seems to work except the SSG mode,
Here's the link for all the rendering modes

https://main.d177xf5bvpcj1e.amplifyapp.com/test/csr
https://main.d177xf5bvpcj1e.amplifyapp.com/test/swr
https://main.d177xf5bvpcj1e.amplifyapp.com/test/ssr
https://main.d177xf5bvpcj1e.amplifyapp.com/test/isr

All the above urls work and render the page, however, the https://main.d177xf5bvpcj1e.amplifyapp.com/test/ssg doesn't work and returns a 500 on the header, I've enabled the debug to check if I can get any error message but the debug is also not showing the errors on the console.

Additional context

No response

Logs
0

2024-08-07T17:43:41.266Z [INFO]: # Cloning repository: git@github.com:Aybee5/nuxt-init.git

1

2024-08-07T17:43:42.311Z [INFO]:

2

2024-08-07T17:43:42.311Z [INFO]: Cloning into 'nuxt-init'...

3

2024-08-07T17:43:42.312Z [INFO]: # Checking for Git submodules at: /codebuild/output/src873140307/src/nuxt-init/.gitmodules

4

2024-08-07T17:43:42.319Z [INFO]: # Retrieving environment cache...

5

2024-08-07T17:43:42.356Z [WARNING]: ! Unable to write cache: {"code":"ERR_BAD_REQUEST","message":"Request failed with status code 404"})}

6

2024-08-07T17:43:42.356Z [INFO]: ---- Setting Up SSM Secrets ----

7

2024-08-07T17:43:42.356Z [INFO]: SSM params {"Path":"/amplify/d177xf5bvpcj1e/main/","WithDecryption":true}

8

2024-08-07T17:43:42.423Z [WARNING]: !Failed to set up process.env.secrets

9

2024-08-07T17:43:43.325Z [INFO]: No live updates for this build run

10

2024-08-07T17:43:43.328Z [INFO]: # Retrieving cache...

11

2024-08-07T17:43:43.328Z [INFO]: # Retrieved cache

12

2024-08-07T17:43:46.417Z [INFO]: ## Starting Backend Build

13

## Checking for associated backend environment...

14

## No backend environment association found, continuing...

15

## Completed Backend Build

16

2024-08-07T17:43:46.423Z [INFO]: {"backendDuration": 0}

17

## Starting Frontend Build

18

# Starting phase: preBuild

19

# Executing command: corepack enable

20

2024-08-07T17:43:47.447Z [INFO]: # Executing command: npx --yes nypm i

21

2024-08-07T17:44:51.993Z [WARNING]: npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.

22

2024-08-07T17:44:52.082Z [WARNING]: npm WARN

23

2024-08-07T17:44:52.082Z [WARNING]: deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported

24

2024-08-07T17:44:52.160Z [WARNING]: npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported

25

2024-08-07T17:44:52.161Z [WARNING]: npm

26

2024-08-07T17:44:52.161Z [WARNING]: WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported

27

2024-08-07T17:44:52.668Z [WARNING]: npm WARN deprecated

28

2024-08-07T17:44:52.668Z [WARNING]: are-we-there-yet@2.0.0: This package is no longer supported.

29

2024-08-07T17:44:52.810Z [WARNING]: npm WARN deprecated gauge@3.0.2: This package is no longer supported.

30

2024-08-07T17:44:52.839Z [WARNING]: npm WARN deprecated npmlog@5.0.1: This package is no longer supported.

31

2024-08-07T17:44:52.901Z [WARNING]: npm WARN deprecated glob@8.1.0: Glob versions prior to v9 are no longer supported

32

2024-08-07T17:44:56.285Z [INFO]: > postinstall

33

> nuxt prepare

34

2024-08-07T17:44:57.725Z [INFO]: [log] [nuxt] modules:before: 0.15ms

35

2024-08-07T17:44:57.762Z [INFO]: [log] [nuxt] kit:compatibility: 30.026ms

36

2024-08-07T17:44:57.762Z [INFO]: [log] [nuxt] kit:compatibility: 30.047ms

37

[log] [nuxt] kit:compatibility: 30.044ms

38

[log] [nuxt] kit:compatibility: 29.945ms

39

[log] [nuxt] kit:compatibility: 29.893ms

40

[log] [nuxt] kit:compatibility: 29.889ms

41

[log] [nuxt] kit:compatibility: 29.899ms

42

[log] [nuxt] kit:compatibility: 29.911ms

43

2024-08-07T17:44:57.762Z [INFO]: [log] [nuxt] kit:compatibility: 30.02ms

44

2024-08-07T17:44:57.763Z [INFO]: [log] [nuxt] kit:compatibility: 29.956ms

45

[log] [nuxt] kit:compatibility: 29.981ms

46

2024-08-07T17:44:57.939Z [INFO]: [info] Module `@nuxt/devtools` took `125.81ms` to setup.

47

2024-08-07T17:44:57.951Z [INFO]: [log] [nuxt] pages:routerOptions: 0.018ms

48

2024-08-07T17:44:57.952Z [INFO]: [log] [nuxt] kit:compatibility: 0.014ms

49

2024-08-07T17:44:57.952Z [INFO]: [info] Module `pages` took `12.78ms` to setup.

50

2024-08-07T17:44:57.953Z [INFO]: [log] [nuxt] kit:compatibility: 0.528ms

51

2024-08-07T17:44:57.953Z [INFO]: [log] [nuxt] kit:compatibility: 0.68ms

52

2024-08-07T17:44:57.953Z [INFO]: [log] [nuxt] kit:compatibility: 0.709ms

53

[log] [nuxt] kit:compatibility: 0.724ms

54

[log] [nuxt] kit:compatibility: 0.743ms

55

2024-08-07T17:44:57.953Z [INFO]: [log] [nuxt] kit:compatibility: 0.817ms

56

[log] [nuxt] kit:compatibility: 0.835ms

57

[log] [nuxt] kit:compatibility: 0.841ms

58

2024-08-07T17:44:57.954Z [INFO]: [log] [nuxt] kit:compatibility: 0.85ms

59

[log] [nuxt] kit:compatibility: 0.881ms

60

2024-08-07T17:44:57.954Z [INFO]: [info] Module `meta` took `1.57ms` to setup.

61

2024-08-07T17:44:57.955Z [INFO]: [info] Module `components` took `1.06ms` to setup.

62

2024-08-07T17:44:57.956Z [INFO]: [log] [nuxt] imports:sources: 0.2ms

63

2024-08-07T17:44:57.957Z [INFO]: [log] [nuxt] imports:context: 0.016ms

64

2024-08-07T17:44:57.957Z [INFO]: [log] [nuxt] imports:dirs: 0.011ms

65

2024-08-07T17:44:57.966Z [INFO]: [log] [nuxt] imports:extend: 0.072ms

66

2024-08-07T17:44:57.966Z [INFO]: [log] [nuxt] builder:generateApp: 0.008ms

67

2024-08-07T17:44:57.967Z [INFO]: [info] Module `imports` took `10.51ms` to setup.

68

2024-08-07T17:44:57.968Z [INFO]: [info] Module `nuxt-config-schema` took `2.1ms` to setup.

69

2024-08-07T17:44:58.081Z [INFO]: [info] Module `@nuxt/telemetry` took `0.18ms` to setup.

70

2024-08-07T17:44:58.096Z [INFO]: [log] [nuxt] schema:extend: 0.013ms

71

2024-08-07T17:44:58.097Z [INFO]: [log] [nuxt] schema:resolved: 0.008ms

72

[log] [nuxt] modules:done: 12.64ms

73

2024-08-07T17:44:58.100Z [INFO]: [log] [nuxt] kit:compatibility: 3.827ms

74

2024-08-07T17:44:58.103Z [INFO]: [log] [nuxt] nitro:config: 0.11ms

75

2024-08-07T17:44:58.192Z [INFO]: [log] [nuxt] nitro:init: 0.146ms

76

2024-08-07T17:44:58.193Z [INFO]: [log] [nuxt] ready: 0.012ms

77

2024-08-07T17:44:58.322Z [INFO]: [log] [nuxt] components:dirs: 0.013ms

78

2024-08-07T17:44:58.323Z [INFO]: [log] [nuxt] app:resolve: 1.305ms

79

2024-08-07T17:44:58.353Z [INFO]: [log] [nuxt] pages:extend: 0.265ms

80

2024-08-07T17:44:58.357Z [INFO]: [log] [nuxt] components:extend: 0.146ms

81

2024-08-07T17:44:58.358Z [INFO]: [log] [nuxt] app:templates: 22.827ms

82

2024-08-07T17:44:58.376Z [INFO]: [info] Compiled `app-component.mjs` in 17.47ms

83

2024-08-07T17:44:58.376Z [INFO]: [info] Compiled `types/app.config.d.ts` in 17.33ms

84

[info] Compiled `app.config.mjs` in 17.46ms

85

[info] Compiled `types/app-defaults.d.ts` in 17.52ms

86

[info] Compiled `types/build.d.ts` in 17.58ms

87

[info] Compiled `nitro.client.mjs` in 17.13ms

88

2024-08-07T17:44:58.377Z [INFO]: [info] Compiled `css.mjs` in 17.29ms

89

[info] Compiled `fetch.mjs` in 17.38ms

90

[info] Compiled `error-component.mjs` in 17.4ms

91

[info] Compiled `layouts.mjs` in 17.41ms

92

[info] Compiled `middleware.mjs` in 17.33ms

93

[info] Compiled `types/nitro-nuxt.d.ts` in 17.03ms

94

[info] Compiled `nuxt.config.mjs` in 17.04ms

95

[info] Compiled `paths.mjs` in 16.68ms

96

2024-08-07T17:44:58.377Z [INFO]: [info] Compiled `root-component.mjs` in 16.59ms

97

[info] Compiled `test-component-wrapper.mjs` in 16.09ms

98

[info] Compiled `types/vue-shim.d.ts` in 16.08ms

99

[info] Compiled `routes.mjs` in 16.09ms

100

[info] Compiled `pages.mjs` in 14.53ms

101

2024-08-07T17:44:58.377Z [INFO]: [info] Compiled `types/middleware.d.ts` in 3.55ms

102

[info] Compiled `types/layouts.d.ts` in 3.43ms

103

[info] Compiled `unhead-plugins.mjs` in 3.39ms

104

[info] Compiled `unhead.config.mjs` in 3.39ms

105

[info] Compiled `components.d.ts` in 3.39ms

106

[info] Compiled `components.plugin.mjs` in 2.55ms

107

[info] Compiled `component-names.mjs` in 2.48ms

108

[info] Compiled `components.islands.mjs` in 2.46ms

109

2024-08-07T17:44:58.383Z [INFO]: [info] Compiled `imports.mjs` in 7.68ms

110

2024-08-07T17:44:58.384Z [INFO]: [info] Compiled `imports.d.ts` in 7.73ms

111

[log] [nuxt] pages:routerOptions: 0.356ms

112

2024-08-07T17:44:58.385Z [INFO]: [info] Compiled `router.options.mjs` in 22.11ms

113

2024-08-07T17:44:58.385Z [INFO]: [info] Compiled `types/schema.d.ts` in 24.4ms

114

2024-08-07T17:44:58.387Z [INFO]: [info] Compiled `types/imports.d.ts` in 11.98ms

115

2024-08-07T17:44:58.439Z [INFO]: [info] Compiled `plugins/server.mjs` in 50.04ms

116

2024-08-07T17:44:58.451Z [INFO]: [info] Compiled `plugins/client.mjs` in 63.95ms

117

2024-08-07T17:44:58.452Z [INFO]: [info] Compiled `types/plugins.d.ts` in 63.89ms

118

2024-08-07T17:44:58.456Z [INFO]: [log] [nuxt] imports:extend: 0.048ms

119

2024-08-07T17:44:58.456Z [INFO]: [log] [nuxt] builder:generateApp: 0.008ms

120

[log] [nuxt] app:templatesGenerated: 3.052ms

121

2024-08-07T17:44:58.456Z [INFO]: [log] [nuxt] build:before: 0.008ms

122

2024-08-07T17:44:58.518Z [INFO]: [log] [nuxt] schema:beforeWrite: 0.009ms

123

2024-08-07T17:44:58.519Z [INFO]: [log] [nuxt] schema:written: 0.008ms

124

2024-08-07T17:44:58.531Z [INFO]: [log] [nitro] types:extend: 0.009ms

125

2024-08-07T17:44:58.534Z [INFO]: [log] [nitro] close: 0.143ms

126

2024-08-07T17:44:58.535Z [INFO]: [log] [nuxt] close: 0.4ms

127

[log] [nuxt] prepare:types: 16.96ms

128

2024-08-07T17:44:58.537Z [INFO]: [success] Types generated in .nuxt

129

2024-08-07T17:44:58.558Z [INFO]: added 646 packages, and audited 648 packages in 49s

130

2024-08-07T17:44:58.558Z [INFO]: 130 packages are looking for funding

131

run `npm fund` for details

132

2024-08-07T17:44:58.560Z [INFO]: found 0 vulnerabilities

133

2024-08-07T17:44:58.593Z [INFO]: # Completed phase: preBuild

134

# Starting phase: build

135

# Executing command: npm run build

136

2024-08-07T17:44:58.880Z [INFO]: > build

137

> nuxt build

138

2024-08-07T17:44:59.089Z [INFO]: [log] Nuxt 3.12.4 with Nitro 2.9.7

139

2024-08-07T17:45:00.080Z [INFO]: [log] [nuxt] modules:before: 0.135ms

140

2024-08-07T17:45:00.112Z [INFO]: [log] [nuxt] kit:compatibility: 24.693ms

141

2024-08-07T17:45:00.112Z [INFO]: [log] [nuxt] kit:compatibility: 24.718ms

142

[log] [nuxt] kit:compatibility: 24.715ms

143

[log] [nuxt] kit:compatibility: 24.625ms

144

[log] [nuxt] kit:compatibility: 24.601ms

145

[log] [nuxt] kit:compatibility: 24.599ms

146

[log] [nuxt] kit:compatibility: 24.602ms

147

2024-08-07T17:45:00.112Z [INFO]: [log] [nuxt] kit:compatibility: 24.729ms

148

[log] [nuxt] kit:compatibility: 24.748ms

149

2024-08-07T17:45:00.112Z [INFO]: [log] [nuxt] kit:compatibility: 24.707ms

150

[log] [nuxt] kit:compatibility: 24.725ms

151

2024-08-07T17:45:00.277Z [INFO]: [info] Module `@nuxt/devtools` took `122.06ms` to setup.

152

2024-08-07T17:45:00.286Z [INFO]: [log] [nuxt] pages:routerOptions: 0.016ms

153

2024-08-07T17:45:00.288Z [INFO]: [log] [nuxt] kit:compatibility: 0.013ms

154

2024-08-07T17:45:00.288Z [INFO]: [info] Module `pages` took `10.79ms` to setup.

155

2024-08-07T17:45:00.289Z [INFO]: [log] [nuxt] kit:compatibility: 0.819ms

156

2024-08-07T17:45:00.289Z [INFO]: [log] [nuxt] kit:compatibility: 0.869ms

157

2024-08-07T17:45:00.289Z [INFO]: [log] [nuxt] kit:compatibility: 0.969ms

158

[log] [nuxt] kit:compatibility: 1.012ms

159

[log] [nuxt] kit:compatibility: 1.004ms

160

[log] [nuxt] kit:compatibility: 0.906ms

161

2024-08-07T17:45:00.289Z [INFO]: [log] [nuxt] kit:compatibility: 0.908ms

162

2024-08-07T17:45:00.289Z [INFO]: [log] [nuxt] kit:compatibility: 0.999ms

163

[log] [nuxt] kit:compatibility: 1.028ms

164

[log] [nuxt] kit:compatibility: 0.995ms

165

2024-08-07T17:45:00.290Z [INFO]: [info] Module `meta` took `2.05ms` to setup.

166

2024-08-07T17:45:00.292Z [INFO]: [info] Module `components` took `1.27ms` to setup.

167

2024-08-07T17:45:00.292Z [INFO]: [log] [nuxt] imports:sources: 0.143ms

168

2024-08-07T17:45:00.293Z [INFO]: [log] [nuxt] imports:context: 0.014ms

169

2024-08-07T17:45:00.293Z [INFO]: [log] [nuxt] imports:dirs: 0.007ms

170

2024-08-07T17:45:00.299Z [INFO]: [log] [nuxt] imports:extend: 0.062ms

171

2024-08-07T17:45:00.299Z [INFO]: [log] [nuxt] builder:generateApp: 0.007ms

172

2024-08-07T17:45:00.299Z [INFO]: [info] Module `imports` took `7.32ms` to setup.

173

2024-08-07T17:45:00.301Z [INFO]: [info] Module `nuxt-config-schema` took `1.8ms` to setup.

174

2024-08-07T17:45:00.400Z [INFO]: [info] Module `@nuxt/telemetry` took `0.18ms` to setup.

175

2024-08-07T17:45:00.415Z [INFO]: [log] [nuxt] schema:extend: 0.012ms

176

2024-08-07T17:45:00.415Z [INFO]: [log] [nuxt] schema:resolved: 0.008ms

177

[log] [nuxt] modules:done: 12.118ms

178

2024-08-07T17:45:00.419Z [INFO]: [log] [nuxt] kit:compatibility: 3.857ms

179

2024-08-07T17:45:00.422Z [INFO]: [log] [nuxt] nitro:config: 0.096ms

180

2024-08-07T17:45:00.509Z [INFO]: [log] [nuxt] nitro:init: 0.129ms

181

2024-08-07T17:45:00.510Z [INFO]: [log] [nuxt] ready: 0.01ms

182

2024-08-07T17:45:00.600Z [INFO]: [log] [nitro] types:extend: 0.013ms

183

2024-08-07T17:45:00.604Z [INFO]: [log] [nuxt] prepare:types: 20.098ms

184

2024-08-07T17:45:00.732Z [INFO]: [log] [nuxt] components:dirs: 0.012ms

185

2024-08-07T17:45:00.732Z [INFO]: [log] [nuxt] app:resolve: 1.339ms

186

2024-08-07T17:45:00.762Z [INFO]: [log] [nuxt] pages:extend: 0.266ms

187

2024-08-07T17:45:00.766Z [INFO]: [log] [nuxt] components:extend: 0.144ms

188

2024-08-07T17:45:00.766Z [INFO]: [log] [nuxt] app:templates: 22.377ms

189

2024-08-07T17:45:00.784Z [INFO]: [info] Compiled `app-component.mjs` in 17.13ms

190

2024-08-07T17:45:00.784Z [INFO]: [info] Compiled `types/app.config.d.ts` in 17.02ms

191

[info] Compiled `app.config.mjs` in 17.08ms

192

[info] Compiled `types/app-defaults.d.ts` in 17.1ms

193

2024-08-07T17:45:00.784Z [INFO]: [info] Compiled `types/build.d.ts` in 17.11ms

194

[info] Compiled `nitro.client.mjs` in 16.67ms

195

2024-08-07T17:45:00.784Z [INFO]: [info] Compiled `css.mjs` in 16.79ms

196

[info] Compiled `fetch.mjs` in 16.83ms

197

2024-08-07T17:45:00.784Z [INFO]: [info] Compiled `error-component.mjs` in 16.83ms

198

[info] Compiled `layouts.mjs` in 16.83ms

199

[info] Compiled `middleware.mjs` in 16.75ms

200

[info] Compiled `types/nitro-nuxt.d.ts` in 16.42ms

201

[info] Compiled `nuxt.config.mjs` in 16.41ms

202

[info] Compiled `paths.mjs` in 15.9ms

203

2024-08-07T17:45:00.785Z [INFO]: [info] Compiled `root-component.mjs` in 15.87ms

204

[info] Compiled `test-component-wrapper.mjs` in 15.34ms

205

[info] Compiled `types/vue-shim.d.ts` in 15.32ms

206

[info] Compiled `routes.mjs` in 15.31ms

207

[info] Compiled `pages.mjs` in 13.74ms

208

[info] Compiled `types/middleware.d.ts` in 3.01ms

209

[info] Compiled `types/layouts.d.ts` in 2.88ms

210

[info] Compiled `unhead-plugins.mjs` in 2.83ms

211

[info] Compiled `unhead.config.mjs` in 2.82ms

212

[info] Compiled `components.d.ts` in 2.81ms

213

[info] Compiled `components.plugin.mjs` in 1.89ms

214

[info] Compiled `component-names.mjs` in 1.81ms

215

[info] Compiled `components.islands.mjs` in 1.77ms

216

2024-08-07T17:45:00.788Z [INFO]: [info] Compiled `imports.mjs` in 5.36ms

217

2024-08-07T17:45:00.789Z [INFO]: [info] Compiled `imports.d.ts` in 5.3ms

218

2024-08-07T17:45:00.789Z [INFO]: [log] [nuxt] pages:routerOptions: 0.205ms

219

2024-08-07T17:45:00.790Z [INFO]: [info] Compiled `router.options.mjs` in 19.07ms

220

2024-08-07T17:45:00.790Z [INFO]: [info] Compiled `types/schema.d.ts` in 21.35ms

221

2024-08-07T17:45:00.792Z [INFO]: [info] Compiled `types/imports.d.ts` in 8.98ms

222

2024-08-07T17:45:00.842Z [INFO]: [info] Compiled `plugins/server.mjs` in 48.59ms

223

2024-08-07T17:45:00.854Z [INFO]: [info] Compiled `types/plugins.d.ts` in 61.02ms

224

2024-08-07T17:45:00.855Z [INFO]: [info] Compiled `plugins/client.mjs` in 62.61ms

225

2024-08-07T17:45:00.859Z [INFO]: [log] [nuxt] imports:extend: 0.038ms

226

2024-08-07T17:45:00.860Z [INFO]: [log] [nuxt] builder:generateApp: 0.011ms

227

[log] [nuxt] app:templatesGenerated: 2.674ms

228

[log] [nuxt] build:before: 0.011ms

229

2024-08-07T17:45:01.664Z [INFO]: [log] [nuxt] vite:extend: 1.423ms

230

2024-08-07T17:45:01.666Z [INFO]: [log] [nuxt] vite:extendConfig: 0.92ms

231

2024-08-07T17:45:01.667Z [INFO]: [log] [nuxt] vite:configResolved: 0.011ms

232

2024-08-07T17:45:01.667Z [INFO]: [info] Building client...

233

2024-08-07T17:45:02.039Z [INFO]: [info] vite v5.4.0 building for production...

234

2024-08-07T17:45:02.071Z [INFO]: [info] transforming...

235

2024-08-07T17:45:03.917Z [INFO]: [info] ✓ 160 modules transformed.

236

2024-08-07T17:45:04.035Z [INFO]: [info] rendering chunks...

237

2024-08-07T17:45:04.138Z [INFO]: [info] computing gzip size...

238

2024-08-07T17:45:04.191Z [INFO]: [info] .nuxt/dist/client/manifest.json 2.99 kB │ gzip: 0.49 kB

239

2024-08-07T17:45:04.191Z [INFO]: [info] .nuxt/dist/client/_nuxt/error-500.DFBAsgKS.css 1.88 kB │ gzip: 0.72 kB

240

[info] .nuxt/dist/client/_nuxt/error-404.CjGVuf6H.css 3.56 kB │ gzip: 1.11 kB

241

[info] .nuxt/dist/client/_nuxt/DKtbg7QN.js 0.13 kB │ gzip: 0.14 kB

242

[info] .nuxt/dist/client/_nuxt/BRF7yWrW.js 0.38 kB │ gzip: 0.27 kB

243

[info] .nuxt/dist/client/_nuxt/C-U_igPv.js 0.44 kB │ gzip: 0.34 kB

244

[info] .nuxt/dist/client/_nuxt/oLvDhVCx.js 0.44 kB │ gzip: 0.34 kB

245

[info] .nuxt/dist/client/_nuxt/DJQExew6.js 0.44 kB │ gzip: 0.34 kB

246

[info] .nuxt/dist/client/_nuxt/BTE8sKZg.js 0.44 kB │ gzip: 0.34 kB

247

2024-08-07T17:45:04.191Z [INFO]: [info] .nuxt/dist/client/_nuxt/CKA8XwZh.js 0.44 kB │ gzip: 0.34 kB

248

2024-08-07T17:45:04.191Z [INFO]: [info] .nuxt/dist/client/_nuxt/fvUdaC9W.js 2.77 kB │ gzip: 1.24 kB

249

[info] .nuxt/dist/client/_nuxt/CHVCVRf2.js 8.23 kB │ gzip: 3.35 kB

250

[info] .nuxt/dist/client/_nuxt/mXYZGfpQ.js 12.78 kB │ gzip: 5.14 kB

251

[info] .nuxt/dist/client/_nuxt/BJOgHV58.js 165.34 kB │ gzip: 63.10 kB

252

2024-08-07T17:45:04.192Z [INFO]: [info] ✓ built in 2.15s

253

2024-08-07T17:45:04.192Z [INFO]: [log] [nuxt] vite:compiled: 0.016ms

254

2024-08-07T17:45:04.192Z [INFO]: [success] Client built in 2525ms

255

2024-08-07T17:45:04.195Z [INFO]: [log] [nuxt] vite:extendConfig: 0.625ms

256

2024-08-07T17:45:04.195Z [INFO]: [log] [nuxt] vite:configResolved: 0.009ms

257

[info] Building server...

258

2024-08-07T17:45:04.198Z [INFO]: [info] vite v5.4.0 building SSR bundle for production...

259

2024-08-07T17:45:04.219Z [INFO]: [info] transforming...

260

2024-08-07T17:45:04.776Z [INFO]: [info] ✓ 80 modules transformed.

261

2024-08-07T17:45:04.813Z [INFO]: [info] rendering chunks...

262

2024-08-07T17:45:04.904Z [INFO]: [info] .nuxt/dist/server/_nuxt/error-404-styles.CibK9Qn2.mjs 0.08 kB

263

2024-08-07T17:45:04.904Z [INFO]: [info] .nuxt/dist/server/_nuxt/error-500-styles.JhxDD0mW.mjs 0.08 kB

264

[info] .nuxt/dist/server/_nuxt/error-404-styles.WpyeoFtc.mjs 0.15 kB

265

[info] .nuxt/dist/server/_nuxt/error-500-styles.BFuVBFDJ.mjs 0.15 kB

266

[info] .nuxt/dist/server/styles.mjs 0.69 kB

267

[info] .nuxt/dist/server/_nuxt/index-DF8yk-bx.js 0.87 kB │ map: 0.22 kB

268

[info] .nuxt/dist/server/_nuxt/index-xyyCGchu.js 0.98 kB │ map: 5.87 kB

269

[info] .nuxt/dist/server/_nuxt/index-BCe-sAWu.js 1.40 kB │ map: 0.56 kB

270

[info] .nuxt/dist/server/_nuxt/index-Dm3a8byH.js 1.40 kB │ map: 0.56 kB

271

[info] .nuxt/dist/server/_nuxt/index-DRNXtIdd.js 1.40 kB │ map: 0.56 kB

272

[info] .nuxt/dist/server/_nuxt/index-DZDxL53i.js 1.40 kB │ map: 0.56 kB

273

2024-08-07T17:45:04.905Z [INFO]: [info] .nuxt/dist/server/_nuxt/index-4BbUztFr.js 1.40 kB │ map: 0.56 kB

274

[info] .nuxt/dist/server/_nuxt/error-500-styles-1.mjs-D_pjx06j.js 2.10 kB │ map: 0.12 kB

275

[info] .nuxt/dist/server/_nuxt/error-404-styles-1.mjs-DaBoFDuU.js 3.80 kB │ map: 0.12 kB

276

[info] .nuxt/dist/server/_nuxt/error-500-vk_nO2f_.js 3.88 kB │ map: 4.59 kB

277

[info] .nuxt/dist/server/_nuxt/fetch-B7HC61y_.js 8.66 kB │ map: 22.40 kB

278

[info] .nuxt/dist/server/_nuxt/error-404-JcdXfCG6.js 13.20 kB │ map: 24.34 kB

279

[info] .nuxt/dist/server/server.mjs 41.35 kB │ map: 98.11 kB

280

[info] ✓ built in 705ms

281

2024-08-07T17:45:04.906Z [INFO]: [log] [nuxt] build:manifest: 0.419ms

282

2024-08-07T17:45:04.907Z [INFO]: [log] [nuxt] vite:compiled: 0.011ms

283

2024-08-07T17:45:04.907Z [INFO]: [success] Server built in 712ms

284

2024-08-07T17:45:04.907Z [INFO]: [log] [nuxt] schema:beforeWrite: 0.007ms

285

2024-08-07T17:45:04.908Z [INFO]: [log] [nuxt] schema:written: 0.008ms

286

2024-08-07T17:45:04.908Z [INFO]: [log] [nuxt] nitro:build:before: 0.066ms

287

2024-08-07T17:45:04.909Z [INFO]: [log] [nuxt] prerender:routes: 0.006ms

288

2024-08-07T17:45:04.909Z [INFO]: [log] [nitro] prerender:routes: 0.108ms

289

[info] [nitro] Initializing prerenderer

290

2024-08-07T17:45:04.909Z [INFO]: [log] [nitro] prerender:config: 0.006ms

291

2024-08-07T17:45:04.967Z [INFO]: [log] [nitro] prerender:init: 0.013ms

292

2024-08-07T17:45:04.973Z [INFO]: [log] [nitro] rollup:before: 0.015ms

293

2024-08-07T17:45:04.983Z [INFO]: [log] [nitro] types:extend: 0.012ms

294

2024-08-07T17:45:06.036Z [INFO]: [log] [nitro] compiled: 0.024ms

295

2024-08-07T17:45:06.045Z [INFO]: [info] [nitro] Prerendering 1 routes

296

2024-08-07T17:45:06.048Z [INFO]: [log] [nitro-runtime] request: 0.015ms

297

2024-08-07T17:45:06.078Z [INFO]: [log] [nuxt-app] page:loading:start: 0.022ms

298

2024-08-07T17:45:06.079Z [INFO]: [log] [nuxt-app] app:created: 1.736ms

299

2024-08-07T17:45:06.080Z [INFO]: [log] [nuxt-app] vue:setup: 0.025ms

300

2024-08-07T17:45:06.158Z [INFO]: [log] [nuxt-app] app:rendered: 0.014ms

301

2024-08-07T17:45:06.172Z [INFO]: [log] [nitro-runtime] render:html: 0.011ms

302

2024-08-07T17:45:06.173Z [INFO]: [log] [nitro-runtime] render:response: 0.008ms

303

[log] [nitro-runtime] beforeResponse: 0.013ms

304

2024-08-07T17:45:06.173Z [INFO]: [log] [nitro-runtime] afterResponse: 0.014ms

305

2024-08-07T17:45:06.176Z [INFO]: [log] [nitro] prerender:generate: 0.011ms

306

2024-08-07T17:45:06.176Z [INFO]: [log] [nitro] prerender:route: 0.01ms

307

2024-08-07T17:45:06.177Z [INFO]: [log] [nitro] ├─ /test/ssg (129ms)

308

2024-08-07T17:45:06.178Z [INFO]: [log] [nitro-runtime] request: 0.01ms

309

2024-08-07T17:45:06.179Z [INFO]: [log] [nitro-runtime] render:response: 0.009ms

310

2024-08-07T17:45:06.179Z [INFO]: [log] [nitro-runtime] beforeResponse: 0.008ms

311

[log] [nitro-runtime] afterResponse: 0.006ms

312

2024-08-07T17:45:06.180Z [INFO]: [log] [nitro] prerender:generate: 0.009ms

313

2024-08-07T17:45:06.180Z [INFO]: [log] [nitro] prerender:route: 0.009ms

314

2024-08-07T17:45:06.181Z [INFO]: [log] [nitro] ├─ /test/ssg/_payload.json (2ms)

315

[log] [nitro-runtime] close: 0.007ms

316

[log] [nitro] prerender:done: 0.005ms

317

[info] [nitro] Prerendered 2 routes in 1.214 seconds

318

2024-08-07T17:45:06.204Z [INFO]: [success] [nitro] Generated public .amplify-hosting/static

319

2024-08-07T17:45:06.205Z [INFO]: [nuxt] nitro:build:public-assets: 0.014ms

320

[nitro] rollup:before: 21.338ms

321

2024-08-07T17:45:06.215Z [INFO]: [nitro] types:extend: 0.011ms

322

2024-08-07T17:45:06.219Z [INFO]: [info] [nitro] Building Nuxt Nitro server (preset: `aws-amplify`)

323

2024-08-07T17:45:08.804Z [INFO]: [success] [nitro] Nuxt Nitro server built

324

2024-08-07T17:45:08.904Z [INFO]: ├─ .amplify-hosting/compute/default/chunks/_/error-500.mjs (4.82 kB) (2.04 kB gzip)

325

├─ .amplify-hosting/compute/default/chunks/_/error-500.mjs.map (193 B) (159 B gzip)

326

├─ .amplify-hosting/compute/default/chunks/build/client.manifest.mjs (4.06 kB) (595 B gzip)

327

├─ .amplify-hosting/compute/default/chunks/build/client.manifest.mjs.map (3.74 kB) (420 B gzip)

328

├─ .amplify-hosting/compute/default/chunks/build/error-404-JcdXfCG6.mjs (13.4 kB) (4.06 kB gzip)

329

├─ .amplify-hosting/compute/default/chunks/build/error-404-JcdXfCG6.mjs.map (10.8 kB) (2.54 kB gzip)

330

├─ .amplify-hosting/compute/default/chunks/build/error-404-styles-1.mjs-DaBoFDuU.mjs (3.79 kB) (1.22 kB gzip)

331

├─ .amplify-hosting/compute/default/chunks/build/error-404-styles-1.mjs-DaBoFDuU.mjs.map (218 B) (166 B gzip)

332

├─ .amplify-hosting/compute/default/chunks/build/error-404-styles.CibK9Qn2.mjs (315 B) (204 B gzip)

333

├─ .amplify-hosting/compute/default/chunks/build/error-404-styles.CibK9Qn2.mjs.map (219 B) (167 B gzip)

334

├─ .amplify-hosting/compute/default/chunks/build/error-404-styles.WpyeoFtc.mjs (373 B) (208 B gzip)

335

├─ .amplify-hosting/compute/default/chunks/build/error-404-styles.WpyeoFtc.mjs.map (241 B) (178 B gzip)

336

├─ .amplify-hosting/compute/default/chunks/build/error-500-styles-1.mjs-D_pjx06j.mjs (2.09 kB) (832 B gzip)

337

├─ .amplify-hosting/compute/default/chunks/build/error-500-styles-1.mjs-D_pjx06j.mjs.map (218 B) (166 B gzip)

338

├─ .amplify-hosting/compute/default/chunks/build/error-500-styles.BFuVBFDJ.mjs (373 B) (210 B gzip)

339

├─ .amplify-hosting/compute/default/chunks/build/error-500-styles.BFuVBFDJ.mjs.map (241 B) (180 B gzip)

340

├─ .amplify-hosting/compute/default/chunks/build/error-500-styles.JhxDD0mW.mjs (315 B) (203 B gzip)

341

├─ .amplify-hosting/compute/default/chunks/build/error-500-styles.JhxDD0mW.mjs.map (219 B) (167 B gzip)

342

├─ .amplify-hosting/compute/default/chunks/build/error-500-vk_nO2f_.mjs (3.97 kB) (1.61 kB gzip)

343

├─ .amplify-hosting/compute/default/chunks/build/error-500-vk_nO2f_.mjs.map (1.68 kB) (603 B gzip)

344

├─ .amplify-hosting/compute/default/chunks/build/fetch-B7HC61y_.mjs (8.52 kB) (2.46 kB gzip)

345

├─ .amplify-hosting/compute/default/chunks/build/fetch-B7HC61y_.mjs.map (10.4 kB) (2.45 kB gzip)

346

├─ .amplify-hosting/compute/default/chunks/build/index-4BbUztFr.mjs (1.47 kB) (717 B gzip)

347

├─ .amplify-hosting/compute/default/chunks/build/index-4BbUztFr.mjs.map (1.07 kB) (473 B gzip)

348

├─ .amplify-hosting/compute/default/chunks/build/index-BCe-sAWu.mjs (1.47 kB) (721 B gzip)

349

├─ .amplify-hosting/compute/default/chunks/build/index-BCe-sAWu.mjs.map (1.07 kB) (472 B gzip)

350

├─ .amplify-hosting/compute/default/chunks/build/index-DF8yk-bx.mjs (952 B) (461 B gzip)

351

├─ .amplify-hosting/compute/default/chunks/build/index-DF8yk-bx.mjs.map (699 B) (342 B gzip)

352

├─ .amplify-hosting/compute/default/chunks/build/index-Dm3a8byH.mjs (1.47 kB) (724 B gzip)

353

├─ .amplify-hosting/compute/default/chunks/build/index-Dm3a8byH.mjs.map (1.07 kB) (474 B gzip)

354

├─ .amplify-hosting/compute/default/chunks/build/index-DRNXtIdd.mjs (1.47 kB) (724 B gzip)

355

├─ .amplify-hosting/compute/default/chunks/build/index-DRNXtIdd.mjs.map (1.07 kB) (474 B gzip)

356

├─ .amplify-hosting/compute/default/chunks/build/index-DZDxL53i.mjs (1.47 kB) (723 B gzip)

357

├─ .amplify-hosting/compute/default/chunks/build/index-DZDxL53i.mjs.map (1.07 kB) (474 B gzip)

358

├─ .amplify-hosting/compute/default/chunks/build/index-xyyCGchu.mjs (978 B) (456 B gzip)

359

├─ .amplify-hosting/compute/default/chunks/build/index-xyyCGchu.mjs.map (1.14 kB) (455 B gzip)

360

├─ .amplify-hosting/compute/default/chunks/build/server.mjs (44.2 kB) (10.7 kB gzip)

361

├─ .amplify-hosting/compute/default/chunks/build/server.mjs.map (341 B) (218 B gzip)

362

├─ .amplify-hosting/compute/default/chunks/build/styles.mjs (740 B) (313 B gzip)

363

├─ .amplify-hosting/compute/default/chunks/build/styles.mjs.map (502 B) (209 B gzip)

364

├─ .amplify-hosting/compute/default/chunks/routes/renderer.mjs (14.1 kB) (4.47 kB gzip)

365

├─ .amplify-hosting/compute/default/chunks/routes/renderer.mjs.map (436 B) (227 B gzip)

366

├─ .amplify-hosting/compute/default/chunks/virtual/_virtual_spa-template.mjs (94 B) (100 B gzip)

367

├─ .amplify-hosting/compute/default/chunks/virtual/_virtual_spa-template.mjs.map (112 B) (112 B gzip)

368

├─ .amplify-hosting/compute/default/index.mjs (162 kB) (39.3 kB gzip)

369

└─ .amplify-hosting/compute/default/package.json (644 B) (309 B gzip)

370

Σ Total size: 1.85 MB (456 kB gzip)

371

2024-08-07T17:45:08.905Z [INFO]: [nitro] compiled: 0.766ms

372

2024-08-07T17:45:08.905Z [INFO]: [success] [nitro] You can preview this build using `node .amplify-hosting/compute/default/server.js`

373

[log] [nuxt] build:done: 3.999s

374

2024-08-07T17:45:08.906Z [INFO]: [log] [nitro] close: 0.118ms

375

2024-08-07T17:45:08.906Z [INFO]: [log] [nuxt] close: 0.297ms

376

2024-08-07T17:45:08.959Z [INFO]: # Completed phase: build

377

## Completed Frontend Build

378

2024-08-07T17:45:08.968Z [INFO]: ## Build completed successfully

379

2024-08-07T17:45:09.772Z [INFO]: # Starting environment caching...

380

2024-08-07T17:45:09.772Z [INFO]: # Environment caching completed

381

382

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked nuxt-init reproduction and its routeRules configuration, then compare the csr, swr, ssr, isr, and ssg routes during an AWS Amplify WEB_COMPUTE deployment. Trace the SSG build and request handling where the /test/ssg route returns 500, and confirm done when that route renders like the other modes and the relevant error is observable.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, nuxt
Domain
backend, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.