Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Error while compiling: Could not parsestyle attribute onspan #1568

Closed
Labels
bugSomething isn't workingquestionFurther information is requested
@rohangupta-zomato

Description

@rohangupta-zomato

To Reproduce

Started with the default config however unable to figure out any solution for this error, also checked the past issues however seems like this is new to only me. This error came from default starter example itself, It is coming when a codeblock is added, example: It works fine when removed

```js
console.log('Hello World');
```

Error: index.mdx:Error: Could not parse `style` attribute on `span`./content/docs/index.mdx?collection=docs&hash=1742148670320Error: index.mdx:Error: Could not parse `style` attribute on `span`

Image

Current vs. Expected behavior

Should have build successfully

Provide environment information

Operating System:  Platform: darwin  Arch: arm64  Version: Darwin Kernel Version 24.3.0: Thu Jan  2 20:24:24 PST 2025; root:xnu-11215.81.4~3/RELEASE_ARM64_T6030  Available memory (MB): 18432  Available CPU cores: 12Binaries:  Node: 18.18.0  npm: 10.2.0  Yarn: 1.22.21  pnpm: 9.9.0Relevant Packages:  next: 15.2.2 // Latest available version is detected (15.2.2).  eslint-config-next: N/A  react: 19.0.0  react-dom: 19.0.0  typescript: 5.5.4Next.js Config:  output: N/A

Which area(s) are affected? (Select all that apply)

Content Sources (e.g. Fumadocs MDX, Content Collections)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp