You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repo works just fine when nextjs/shadcn are not involved.
Repro:
git clone https://github.com/sachidumaleesha/shadcn-dashboard test
cd test
npm install duckdb-async
Hit an API with some test code and you get:
⨯ ./node_modules/@mapbox/node-pre-gyp/lib/util/nw-pre-gyp/index.html
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>
Import trace for requested module:
./node_modules/@mapbox/node-pre-gyp/lib/util/nw-pre-gyp/index.html
./node_modules/@mapbox/node-pre-gyp/lib/ sync ^\.\/.*$
./node_modules/@mapbox/node-pre-gyp/lib/node-pre-gyp.js
./node_modules/duckdb/lib/duckdb-binding.js
./node_modules/duckdb/lib/duckdb.js
./node_modules/duckdb-async/dist/duckdb-async.js
Any hint on what's going on here and how to fix it?
The text was updated successfully, but these errors were encountered:
This repo works just fine when nextjs/shadcn are not involved.
Repro:
Hit an API with some test code and you get:
Any hint on what's going on here and how to fix it?
The text was updated successfully, but these errors were encountered: