#Using Duckdb in Next.js

1 messages · Page 1 of 1 (latest)

shy burrow
#

I am having problems running duckdb-async I get the following error Module parse failed: Unexpected token (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders

<!doctype html>
| <html>
| <head>

red knollBOT
#

Hi @shy burrow. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

Hmm, I don't know enough to give you a confident answer yet. However, you can refer to the Next.js documentation on configuring Webpack loaders to handle different file types: Next.js Webpack Configuration (https://nextjs.org/docs/api-reference/next.config.js/webpack). This might help you in setting up an appropriate loader for the file type you're working with.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:

#

@shy burrow kapa.ai is still learning and improving, please let us how it did by reacting below