Skip to content

ERROR Rollup error: Unexpected token (Note that you need plugins to import files that are not JavaScript) #1422

Closed

Description

@ktx-drashti

Environment

Reproduction

Repo - https://stackblitz.com/edit/github-p1mkc1?file=package.json

Describe the bug

@nuxt/content not working with the latest version of nuxt/framework 3.0.0-rc.6-27664440.41d6f37.

The error I am getting is:

ERROR  Rollup error:  Unexpected token (Note that you need plugins to import files that are not JavaScript)
 at error (node_modules/rollup/dist/es/shared/rollup.js:1888:30)
 at Module.error (node_modules/rollup/dist/es/shared/rollup.js:12442:16)
 at Module.tryParse (node_modules/rollup/dist/es/shared/rollup.js:12819:25)
 at Module.setSource (node_modules/rollup/dist/es/shared/rollup.js:12724:24)
 at ModuleLoader.addModuleSource (node_modules/rollup/dist/es/shared/rollup.js:22166:20)

Reference Issue #6

Additional context

No response

Logs

No response

Activity

  1. ktx-drashti commented on Aug 9, 2022

    @ktx-drashti
    Author

    How to use the latest version comment that includes the PR? As the new version is not released yet after the PR is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions