Open darranromo opened 2 years ago
I ran into the same problem today, first with not having python installed, then my environment not knowing where python3 was installed, and then the same error with import sys. I believe the issue is the version of node used with the version of node-gyp, which is required for node-sass.
I'm running in Ubuntu via WSL 2, but steps should be basically the same. I didn't want to switch my node version so I upgraded the project instead.
Here's how I resolved each of the issues to get the project running:
I installed python3. Looks like you already have this.
npm config set python "/path/to/python"
. While your environment did find it eventually, it tried python2 first. This resolves it faster.
Upgrade all @progress packages and react-scripts. I found this the easiest way to upgrade them:
npm i
so it removes them all from the lock file too.npm i [paste-them-all-here]
npm i node-sass@~6
I suspect there's a faster way to get the latest versions of the kendo packages but when I tried updating the versions never changed in the lock file. After this I was able to npm start
.
These lines: npm ERR! path C:\Users\darran\source\repos\CoffeeReact\react-coffee-warehouse\node_modules\node-sass npm ERR! command failed
Try these: npm uninstall node-sass npm install --save-dev sass
Should be ok.
Hi,
Completely new to the world of Kendo - coming from a predominantly WPF environment.
I've installed node and have npm version 8.5.5
I've cloned the repository and then run:
This fails with the following output:
I've attached the debug log: 2022-05-31T13_44_16_343Z-debug-0.log
A colleague has also tried with the same result.
Darran