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
node --version
v18.20.7
>yarn --version
4.7.0
> yarn start
Option "browserTarget" is deprecated: Use 'buildTarget' instead.
⠹ Generating browser application bundles (phase: setup)...An unhandled exception occurred: ⨯ Unable to compile TypeScript:
custom-webpack.config.ts:1:1 - error TS2591: Cannot find name 'module'. Do you need to install type definitions fornode? Try `npm i --save-dev @types/node` and then add 'node' to the types fieldin your tsconfig.
1 module.exports = {
~~~~~~
custom-webpack.config.ts:12:15 - error TS2591: Cannot find name 'require'. Do you need to install type definitions fornode? Try `npm i --save-dev @types/node` and then add 'node' to the types fieldin your tsconfig.
12 require('postcss-import'),
~~~~~~~
custom-webpack.config.ts:13:15 - error TS2591: Cannot find name 'require'. Do you need to install type definitions fornode? Try `npm i --save-dev @types/node` and then add 'node' to the types fieldin your tsconfig.
13 require('tailwindcss'),
~~~~~~~
custom-webpack.config.ts:14:15 - error TS2591: Cannot find name 'require'. Do you need to install type definitions fornode? Try `npm i --save-dev @types/node` and then add 'node' to the types fieldin your tsconfig.
14 require('autoprefixer'),
~~~~~~~
Also tested with node@20.
The text was updated successfully, but these errors were encountered:
What dependencies are required?
I am getting an error with my current versions.
Also tested with node@20.
The text was updated successfully, but these errors were encountered: