Open nulltoken opened 6 months ago
I'm also affected by this.
@nulltoken do you have a sample app that you could provide for reproduction of this issue?
This ticket has been labeled jira. A tracking ticket in Stoplight's Jira (STOP-575
) has been created.
@brendarearden Thanks for getting back to me. Here's the sample app.
Just npm ci
it and you should be good to go
The issue will appear if you open the folder with VSCode and switch to the app/page.tsx
file
I have same issue as the one described here and I would be pleased if a solution is shipped on the next release.
Yeah, you need to patch the package (like with patch-package) until this gets merged: https://github.com/stoplightio/scripts/pull/115
Follow up to #2345
Context
I'm trying to use elements in a Next.js app configured with static export
Current Behavior
Using a freshly installed Nextjs 14.2.3 app, install latest 8.1.3 version. Update
app/page.tsx
to include thse snippet from https://github.com/stoplightio/elements/issues/2345#issuecomment-1487506375VsCode complains wth
Could not find a declaration file for module '@stoplight/elements'.
Expected Behavior
Possible Workaround/Solution
No (easy) one
Steps to Reproduce
See above
Environment
Node 20.10