Open francescoBLT opened 1 month ago
The error already says it :-) "UsageError: This project is configured to use npm because c:\Projects\JSON\react-calendar-timeline\package.json has a 'packagemanager' field"
Instead of yarn, use npm. so checkout, run npm install and run npm run build or
cd into demos dir, run npm install again and run npm run dev
Hi may be I'm not so skilled just now, but I attempt to compile in order to contribute. I'm new to javascript , my exeperience is mainly in C++ and oo programming (more than 15 years) under windows. I followed the instruction for contributing:
git clone https://github.com/namespace-ee/react-calendar-timeline.git react-calendar-timeline cd react-calendar-timeline yarn yarn start
I cloned the project, entered in the dir (first two instructions) but when I issue yarn command the result is:
C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:23284 throw new UsageError(
This project is configured to use ${result.spec.name} because ${result.target} has a "packageManager" field
); ^UsageError: This project is configured to use npm because c:\Projects\JSON\react-calendar-timeline\package.json has a "packageManager" field at Engine.findProjectSpec (C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:23284:21) at async Engine.executePackageManagerRequest (C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:23314:24) at async Object.runMain (C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:24007:5) { clipanion: { type: 'usage' } }
Node.js v20.16.0
How can I overcome ? Regards