ampproject / ampproject/amphtml
Getting an error while using Amp Html Validator package
- Dominant language
- JavaScript
- Stars
- 14.9k
- Forks
- 4.1k
- PR merge metrics
- No merged PRs in 30d
Description
### Description
Facing issue with amphtml-validator v1.0.35 . While using validateString for validating AMP email it is throwing an error. Few months back this was working fine. Getting below error message. Anyone aware about any recent major change with the package dependency or about the issue which I am getting?
### Reproduction Steps
Issue is replicated here: https://codesandbox.io/s/happy-cannon-kdrbxt?file=/src/App.js
### Relevant Logs
```shell
{
"message": "Assertion failed: WebAssembly is uninitialized"
}
```
### Browser(s) Affected
_No response_
### OS(s) Affected
_No response_
### Device(s) Affected
_No response_
### AMP Version Affected
_No response_
Contributor guide
Research direction
Open the linked CodeSandbox and reproduce the failure from validateString using amphtml-validator v1.0.35. Start by tracing the WebAssembly initialization path associated with the reported "WebAssembly is uninitialized" assertion. Done means AMP email validation works in the reproduced setup, with the dependency or environment cause identified and documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, wasm
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100