GeezerVison is showing github.com — Builds failing on CI with @bundle-analyzer/gatsby-plugin · Issue #5 · smooth-code/bundle-analyzer-javascript
This repository was archived by the owner on Feb 1, 2021. It is now read-only.
This repository was archived by the owner on Feb 1, 2021. It is now read-only.
Builds failing on CI with @bundle-analyzer/gatsby-plugin #5DescriptionWe've been using the bundle-analyzer Gatsby plugin to measure build sizes on https://www.shopflamingo.com, but have recently had to disable it due to it failing in CI with "Cannot read property 'id` of null".
This is with @bundle-analyzer/gatsby-plugin v0.4.0 and gatsby v2.13.23.
CI output (during gatsby build):
...
info bootstrap finished - 6.210 s
success run static queries — 0.225 — 2/2 10.06 queries/second
error #98123 WEBPACK
Generating JavaScript bundles failed
Bundle Analyzer - Cannot read property 'id' of null
See our docs page for more info on this error: https://gatsby.dev/issue-how-to
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Exited with code exit status 1
Reacted by Jordi López and afc163 Activityazz0r commented on Feb 26, 2020 jlopezxs commented on Mar 3, 2020 This error is produced because a Internal Server Error of bundle-analyzer. I have the same issue. Only to provide more data:
{
response: {
status: 500,
statusText: 'Internal Server Error',
headers: {
server: 'Cowboy',
connection: 'close',
'x-powered-by': 'Express',
'access-control-allow-origin': 'https://app.bundle-analyzer.com',
vary: 'Origin, Accept',
'content-type': 'application/json; charset=utf-8',
'content-length': '69',
etag: 'W/"45-El3BV6lza2tfVAM4nP1jAX3NyQ8"',
date: 'Tue, 03 Mar 2020 11:17:43 GMT',
via: '1.1 vegur'
},
config: {
url: 'https://api.bundle-analyzer.com/builds',
method: 'post',
data: '{"token":"xxx","bundleId":"df166f8d-63eb-4745-a1d4-b17f99be8901","branch":"master","commit":"3dafe609bf04d54c227e33e23379c0924c475f95","providerMetadata":{"name":"git","commit":"3dafe609bf04d54c227e33e23379c0924c475f95","branch":"master"},"config":null}',
headers: [Object],
transformRequest: [Array],
transformResponse: [Array],
timeout: 0,
adapter: [Function: httpAdapter],
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
validateStatus: [Function: validateStatus]
},
}gregberge commented on Mar 7, 2020 Looks like it is linked to smooth-code/bundle-analyzer#28, any help is welcome here. If someone want to be involved in the project, send me an email to become a core contributor.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|