Node Sass version 7.0.0 is incompatible with ^4.0.0 - node-sass

I am running a react app using node (version 16.13.1). Apparantly I am supposed to use node sass version 7.0.0.
So I install version 7.0.0, but when I run my application I get this error :
./src/misc/loading.scss (./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-5-1!./node_modules/postcss-loader/src??postcss!./node_modules/resolve-url-loader??ref--6-oneOf-5-3!./node_modules/react-scripts/node_modules/sass-loader/dist/cjs.js??ref--6-oneOf-5-4!./src/misc/loading.scss)
Error: Node Sass version 7.0.0 is incompatible with ^4.0.0.
Why am I getting this error?
And "incompatible with 4.0.0" means what? 4.0.0 of which module? node? sass? react? npm?

Related

vite - create-vite got error in node version 18

I am using yarn create vite to create my vue project, but after executed command I got following error message:
error expo-cli#6.0.2: The engine "node" is incompatible with this module. Expected version ">=12 <=16". Got "18.1.0"
error Found incompatible module.
I know that error message means I need to use node version between 12~16, but I am confused that there's no mentioned node version 18 cannot use in vite document.
Also, in the package.json, there's only limit on 14.18.0 or 16+
Am I missing something?
The error is not with vite but with expo-cli as it says right at the start of your error message: error expo-cli#6.0.2:. As the expo-cli docs state:
Only Node.js LTS releases (even-numbered) are recommended
The latest node LTS version being 16.17.1

Some dependencies are incompatible with the installed expo package version

Hello I am learning expo for react Native and while running my app i get the error below. My app runs fine but i just want to get rid of the error.
is there something like npm update i can do to get rid of this error
here is the error:
Some dependencies are incompatible with the installed expo package version:
#react-native-picker/picker - expected version: 2.4.0 - actual version installed: 2.4.2
react-native-safe-area-context - expected version: 4.2.4 - actual version installed: 4.3.1
react-native-screens - expected version: ~3.11.1 - actual version installed: 3.13.1
Your project may not work correctly until you install the correct versions of the packages.
To install the correct versions of these packages, please run: expo doctor --fix-dependencies,
or install individual packages by running expo install [package-name ...]
actually this does the trick
expo doctor --fix-dependencies
It appears to be that the expected version of some of your installed libraries are lower than the actual versions that you installed. You need to downgrade your dependencies to match the expected version to get rid of the warnings.
First you will need to uninstall the above packages by the command: npm uninstall [library-name]. For example: npm uninstall react-native-screens
After that, you will need to reinstall the above libraries using their recommended version: mpn install react-native-screens#3.11.1
You can also refer to this for more information: How do I down grade my react navigation in a current react-native project?

recently i updated my expo-cli to version 3.13.1 and all of a sudden the applications are not working

after updating expo-cli to 3.13.1 , when i start the application i get errors .
on npm start
- Some of your project's dependencies are not compatible with currently installed expo package version: - react-native-safe-area-context - expected version range: 0.6.0 - actual version installed: ^0.7.3 Your project may not work correctly until you install the correct versions of the packages.
To install the correct versions of these packages, please run: expo install [package-name ...]
if i install react-native-safe-area-context#0.6.0 , it gives the following error
Unable to resolve "./InitialWindowSafeAreaInsets" from "node_modules\react-native-safe-area-context\src\index.tsx
before updating it was working fine .
Seems like you're installing it with npm. You should install it with Expo:
expo install react-native-safe-area-context

Create React App not working : error #typescript-eslint/eslint-plugin#2.10.0: The engine "node" is incompatible with this module?

I'm not sure why yarn create react app fails. The error message suggest #typescript-eslint/esling-plugin version is not compatible with the node engine. I've also tried yarn cache clean --force but doesn't work. I don't have a package.json to change the node engine as you can see on the terminal it gets deleted. Thank you
yarn v : 1.21.1
node v : 11.2.0
You have node version:
node v : 11.2.0
Error message:
Expected version "^8.10.0 || ^10.13.0 || >=11.10.1"
Version >=11.10.1 mean 11.10.1, 11.10.2, ..., 11.11.* ...
You have 10.2 which is less then 11.10
Upgrade node, or search another version of library which is compatible with your node version if any

Error 'Could not determine java version from ‘10’

npm run android is not working.
node version: v8.9.4
npm version: 5.7.1
genymotion: 2.12.0
I'm getting the error:
Could not determine java version from ‘10’
I don't have have an Android Studio installed, but I have installed Gradle 4.6, and also set the path for Java, created JAVA_HOME and set path for genymotion.
Revert back the java version to 8*. Android does not support 9 or above, yet.