Loading PostCSS "postcss-flexbugs-fixes" plugin failed: Cannot find module 'postcss'
NukedBart opened this issue · comments
ERROR in ./src/components/items/css/ContextMenu.css (./node_modules/react-scripts/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/react-scripts/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!./node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js!./src/components/items/css/ContextMenu.css)
Module Error (from ./node_modules/react-scripts/node_modules/postcss-loader/dist/cjs.js):
Loading PostCSS "postcss-flexbugs-fixes" plugin failed: Cannot find module 'postcss'
[eslint]
src\App.tsx
Line 1:1: Resolve error: Cannot find module 'node:fs'
import/no-extraneous-dependencies
Line 1:1: Resolve error: Cannot find module 'node:fs'
import/no-useless-path-segments
Line 3:27: Missing file extension for "./routes/Routes" import/extensions
Line 4:29: Missing file extension for "./components/sections/GlobalState" import/extensions
src\components\common\GuildPills.tsx
Line 1:1: Resolve error: Cannot find module 'node:fs'
import/no-useless-path-segments
Line 7:27: Missing file extension for "../../lib/stores/userStore" import/extensions
Line 8:38: Missing file extension for "../modals/ChannelSettingsModal" import/extensions
Line 9:36: Missing file extension for "../../lib/utils/hooks/useGetCurrentGuild" import/extensions
Line 10:46: Missing file extension for "../common/GuildPills" import/extensions
Line 11:22: Missing file extension for "../../lib/utils/querykeys" import/extensions
Line 12:25: Missing file extension for "../../lib/models/channel" import/extensions
src\components\items\DMListItem.tsx
Line 1:1: Resolve error: Cannot find module 'node:fs'
...
and a lot of similar exceptions
What version of Node are you using?
What version of Node are you using?
v14.15.3
Try Node 18 since that's what I've used and most likely all the packages I've included targeted as well.
Try Node 18 since that's what I've used and most likely all the packages I've included targeted as well.
using --no-client-overlay to remove the exception overlay, it's functional. will try to use node 18 in a clean environment to try it out