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

NextJS 13 incompatbility, does not work in /app directory at all #70

Open
milanbgd011 opened this issue Nov 26, 2022 · 2 comments
Open

Comments

@milanbgd011
Copy link

Describe the bug
Works inside the /pages directory, but not inside /app directory.

To Reproduce

  1. create fresh app npx create-next-app@latest
  2. create /app/ClickToComponentClient.tsx, put at the top of the file 'use client'; and import and add <ClickToComponent />
  3. create /app/test/page.ts and import and add <ClickToComponentClient />
  4. goto http://localhost:3000/test and try to use
    • WORKS: hover works, I see green selections, no problem there
    • ERROR: when I click it starts to download the page and produces error message instead going to the VSCode

Expected behavior
Expected to open VSCode to the component, as it worked in /pages directory.

Screenshots
None.

Desktop (please complete the following information):

  • OS: MacOS
  • Browser Chrome
  • Version latest
@nongdinhtuyen
Copy link

same problem

@noor-codes
Copy link

same, a fix would be awesome

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

No branches or pull requests

3 participants