Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when use vue-cli,and use <comment> Author: Name: Email: Github: Date: </comment> ,project is ok,but after add unplugin-turbo-console , project is error #50

Open
5 tasks done
long36708 opened this issue Nov 19, 2024 · 1 comment
Labels

Comments

@long36708
Copy link

Describe the bug

Module parse failed: Unexpected token (7:0)
File was processed with these loaders:

  • ./node_modules/vue-loader/dist/index.js
  • ./node_modules/unplugin/dist/webpack/loaders/transform.js
    You may need an additional loader to handle the result of these loaders.
    | Github:
    | Date:

ERROR in ./src/App.vue?vue&type=custom&index=0&blockType=comment (./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=unplugin-turbo-console!./src/App.vue?vue&type=custom&index=0&blockType=comment) 7:0
Module parse failed: Unexpected token (7:0)

Reproduction

https://github.com/long36708/vue-cli-project

System Info

System:
    OS: Windows 11 10.0.26100
    CPU: (16) x64 AMD Ryzen 7 PRO 4750U with Radeon Graphics
    Memory: 26.95 GB / 47.33 GB
  Binaries:
    Node: 18.20.0 - D:\dev\nodejs\node.EXE
    Yarn: 1.22.19 - D:\dev\nvm\node_global\yarn.CMD
    npm: 10.5.0 - D:\dev\nodejs\npm.CMD
    pnpm: 8.15.5 - D:\dev\nvm\node_global\pnpm.CMD
  Browsers:
    Edge: Chromium (125.0.2535.67)
    Internet Explorer: 11.0.26100.1

Used Package Manager

npm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
@yuyinws
Copy link
Member

yuyinws commented Nov 22, 2024

It looks like a upstream bug from unplugin. I will keep tracking it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants