firecrawl / firecrawl/open-lovable

Cannot find module '../lightningcss.linux-x64-gnu.node' when running Next.js project with TailwindCSS

Open
#70 10 comments 3 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
28.4k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

While trying to run in my local, I encounter the following error during npm run dev:

```
Error: ./app/globals.css
Error evaluating Node.js code
Error: Cannot find module '../lightningcss.linux-x64-gnu.node'
Require stack:
- ~/open-lovable/node_modules/lightningcss/node/index.js
- ~/open-lovable/node_modules/@tailwindcss/node/dist/index.js
- ~/open-lovable/node_modules/@tailwindcss/postcss/dist/index.js
- ~/open-lovable/.next/build/chunks/[turbopack]_runtime.js
- ~/open-lovable/.next/postcss.js
[at Module._resolveFilename (node:internal/modules/cjs/loader:1410:15)]
[at defaultResolveImpl (node:internal/modules/cjs/loader:1051:19)]
[at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1056:22)]
[at Module._load (node:internal/modules/cjs/loader:1219:37)]
[at TracingChannel.traceSync (node:diagnostics_channel:322:14)]
[at wrapModuleLoad (node:internal/modules/cjs/loader:238:24)]
[at Module.require (node:internal/modules/cjs/loader:1493:12)]
[at require (node:internal/modules/helpers:152:16)]
[at Object. (~/open-lovable/node_modules/lightningcss/node/index.js:22:22)]
[at Module._compile (node:internal/modules/cjs/loader:1738:14)]

Import trace:
./app/globals.css [Client Component Browser]
./app/layout.tsx [Server Component]
at tr (http://localhost:3000/_next/static/chunks/node_modules_next_dist_compiled_next-devtools_index_82a36480.js:20168:60)
at o6 (http://localhost:3000/_next/static/chunks/node_modules_next_dist_compiled_next-devtools_index_82a36480.js:2952:164)
at iP (http://localhost:3000/_next/static/chunks/node_modules_next_dist_compiled_next-devtools_index_82a36480.js:4008:32)
at i$ (http://localhost:3000/_next/static/chunks/node_modules_next_dist_compiled_next-devtools_index_82a36480.js:4305:28)
at sv (http://localhost:3000/_next/static/chunks/node_modules_next_dist_compiled_next-devtools_index_82a36480.js:5791:21)
at http://localhost:3000/_next/static/chunks/node_modules_next_dist_compiled_next-devtools_index_82a36480.js:5782:40
at sm (http://localhost:3000/_next/static/chunks/node_modules_next_dist_compiled_next-devtools_index_82a36480.js:5783:19)
at sa (http://localhost:3000/_next/static/chunks/node_modules_next_dist_compiled_next-devtools_index_82a36480.js:5596:23)
at sZ (http://localhost:3000/_next/static/chunks/node_modules_next_dist_compiled_next-devtools_index_82a36480.js:6520:124)
at MessagePort._ (http://localhost:3000/_next/static/chunks/node_modules_next_dist_compiled_next-devtools_index_82a36480.js:8806:49)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.