lhotari commented on PR #1123:
URL: https://github.com/apache/pulsar-site/pull/1123#issuecomment-4297529905
There's an error. Please test your changes locally by previewing the site
with `./preview.sh`.
```
Compiled with problems:
×
ERROR in ./src/components/downloads.tsx
× Module build failed (from builtin:swc-loader):
├─▶ × × Unexpected character '\0'
│ │
╭─[[36;1;4m/Users/lari/workspace-pulsar/pulsar-site/src/components/downloads.tsx:1:1]
│ │ 1 │ import React from 'react'
│ │ · [35;1m ▲
│ │ 2 │ import pulsarReleases from '@site/releases.json'
│ │ 3 │ import connectors from '@site/data/connectors'
│ │ 4 │ import cppReleases from '@site/data/release-cpp'
│ │ ╰────
│ │ × Expected ';', '}' or <eof>
│ │
╭─[[36;1;4m/Users/lari/workspace-pulsar/pulsar-site/src/components/downloads.tsx:1:1]
│ │ 1 │ import React from 'react'
│ │ · [35;1m┬[33;1m─
│ │ · [35;1m╰── [35;1mThis is the expression part of an
expression statement
│ │ 2 │ import pulsarReleases from '@site/releases.json'
│ │ 3 │ import connectors from '@site/data/connectors'
│ │ 4 │ import cppReleases from '@site/data/release-cpp'
│ │ ╰────
│ │
│
╰─▶ × Syntax Error
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]