question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SyntaxError: Unexpected token 'export' on NextJS (ts)

See original GitHub issue

image

https://github.com/gridaco/designto-code/tree/add-vscode-ui https://github.com/gridaco/designto-code/commit/3dde26ddb4d409cdca383a00582f95fef13fe4f6

commenting out the import statement - import "@vscode/webview-ui-toolkit" did the compile, but the element won’t show up

image

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
softmarshmallowcommented, Dec 9, 2021

Oh. Sorry for the rate reply. Sure. I’ll add a new comment or open a new issue if something new comes out. 😃

0reactions
hawkticehurstcommented, Dec 10, 2021

No worries at all! Thanks for the reply regardless!

I’ll go ahead and close this issue and yes please do create new issues if run into any other trouble in the future. 🙂

Read more comments on GitHub >

github_iconTop Results From Across the Web

Next.js SyntaxError "Unexpected token 'export'" - Stack Overflow
I was getting the same error: Unexpected token 'export' ; with a node_modules dependency made for the browser (client-side).
Read more >
SyntaxError: Unexpected token 'export' #31518 - vercel/next.js
Nextjs is failing on build of a third party package. The third party package is using ES6 syntax for exports. export { Root...
Read more >
Fixing "SyntaxError: Unexpected token 'export'" with NextJS
Fixing “SyntaxError: Unexpected token ”export”” with NextJS. I ran into an error when trying to use reactgrid with NextJS. The error was
Read more >
typescript syntaxerror: unexpected token 'export' - You.com
Solution 1. Your main.js currently has esm syntax (aka ES6 module syntax). Assuming it is compiled from main.ts, you need to have module: ......
Read more >
AmCharts in NextJS - SyntaxError: Unexpected token 'export'
Coding example for the question AmCharts in NextJS - SyntaxError: Unexpected token 'export'-Reactjs.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found