reflex-dev/reflex

Please upgrade lucide-react ASAP (security issue)

Closed this issue · 0 comments

Check lucide-icons/lucide#3571

As chrome.js is caught as a Trojan Horse by Microsoft Defender, reflex run fails (v0.8.7)

Starting frontend failed with exit code 1
$ react-router dev --host
  ➜  Local:   http://localhost:3000/
  ➜  Network: http://192.168.1.86:3000/
  ➜  Network: http://192.168.1.143:3000/
  ➜  press h + enter to show help
file:///my_project/.web/node_modules/rolldown/dist/shared/src-p50l1OMU.mjs:2270
        const wrapper = new Error(summary);
                        ^

Error: Error during dependency optimization:

Build failed with 1 error:

[31m[UNRESOLVED_IMPORT] Error:[0m Could not resolve './icons/chrome.js' in node_modules/lucide-react/dist/esm/lucide-react.js
     [38;5;246m╭[0m[38;5;246m─[0m[38;5;246m[[0m node_modules/lucide-react/dist/esm/lucide-react.js:522:83 [38;5;246m][0m
     [38;5;246m│[0m
 [38;5;246m522 │[0m [38;5;249me[0m[38;5;249mx[0m[38;5;249mp[0m[38;5;249mo[0m[38;5;249mr[0m[38;5;249mt[0m[38;5;249m [0m[38;5;249m{[0m[38;5;249m 
[0m[38;5;249md[0m[38;5;249me[0m[38;5;249mf[0m[38;5;249ma[0m[38;5;249mu[0m[38;5;249ml[0m[38;5;249mt[0m[38;5;249m [0m[38;5;249ma[0m[38;5;249ms[0m[38;5;249m 
[0m[38;5;249mC[0m[38;5;249mh[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249me[0m[38;5;249m,[0m[38;5;249m 
[0m[38;5;249md[0m[38;5;249me[0m[38;5;249mf[0m[38;5;249ma[0m[38;5;249mu[0m[38;5;249ml[0m[38;5;249mt[0m[38;5;249m [0m[38;5;249ma[0m[38;5;249ms[0m[38;5;249m 
[0m[38;5;249mC[0m[38;5;249mh[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249me[0m[38;5;249mI[0m[38;5;249mc[0m[38;5;249mo[0m[38;5;249mn[0m[38;5;249m,[0m[38;5;249m
[0m[38;5;249md[0m[38;5;249me[0m[38;5;249mf[0m[38;5;249ma[0m[38;5;249mu[0m[38;5;249ml[0m[38;5;249mt[0m[38;5;249m [0m[38;5;249ma[0m[38;5;249ms[0m[38;5;249m 
[0m[38;5;249mL[0m[38;5;249mu[0m[38;5;249mc[0m[38;5;249mi[0m[38;5;249md[0m[38;5;249me[0m[38;5;249mC[0m[38;5;249mh[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249me[0m[38;5;249m
[0m[38;5;249m}[0m[38;5;249m [0m[38;5;249mf[0m[38;5;249mr[0m[38;5;249mo[0m[38;5;249mm[0m[38;5;249m [0m'./icons/chrome.js'[38;5;249m;[0m
 [38;5;240m    │[0m                                                                                   ─────────┬─────────  
 [38;5;240m    │[0m                                                                                            ╰─────────── Module not found.
[38;5;246m─────╯[0m

    at normalizeErrors (file:///my_project/.web/node_modules/rolldown/dist/shared/src-p50l1OMU.mjs:2270:18)
    at handleOutputErrors (file:///my_project/.web/node_modules/rolldown/dist/shared/src-p50l1OMU.mjs:3006:34)
    at transformToRollupOutput (file:///my_project/.web/node_modules/rolldown/dist/shared/src-p50l1OMU.mjs:3000:2)
    at RolldownBuild.write (file:///my_project/.web/node_modules/rolldown/dist/shared/src-p50l1OMU.mjs:4204:10)
    at Object.build$2  (file:///my_project/.web/node_modules/vite/dist/node/chunks/dep-uovcZwnY.js:10244:18) {
  errors: [Getter/Setter]
}

Node.js v22.18.0
error: script "dev" exited with code 1



Run with --loglevel debug  for the full log.