exercism / exercism/website

SyntaxError: Failed to execute 'appendChild' on 'Node': Unexpected token 'export'

Open
#9,461 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
548
Forks
168
Avg merge
1d 8h
Merged PRs (30d)
22

Description

## Error

```
Failed to execute 'appendChild' on 'Node': Unexpected token 'export'
```

## Stack trace

```
:1
:1
```

## Tracking Details
- **Project**: exercism-js
- **Sentry**: [SyntaxError: Failed to execute 'appendChild' on 'Node': Unexpected token 'export'](https://thalamus-ai.sentry.io/issues/144707318/)
- **Culprit**: ?()
- **First seen:** Sep 3, 2026

Contributor guide

Open the contributing guide

Research direction

Start with the linked Sentry event and its stack trace, then trace the exercism-js code path that creates or appends the failing script. Confirm the browser no longer reports the Unexpected token 'export' error and add or update a regression test if the affected entry point has one.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.