Closed rutaganda-salim closed 3 months ago
Also make sure to install kinlang globally by running this command npm i -g @kin-lang/kin
This happens when trying to install
npm i -g @kin-lang/kin
npm warn cleanup Failed to remove some directories [
npm warn cleanup [
npm warn cleanup 'C:\Users\Zero-Brainer\AppData\Roaming\npm\node_modules\@kin-lang\kin',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\Zero-Brainer\AppData\Roaming\npm\node_modules\@kin-lang\kin\node_modules'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\Users\Zero-Brainer\AppData\Roaming\npm\node_modules\@kin-lang\kin\node_modules'
npm warn cleanup }
npm warn cleanup ]
npm warn cleanup ]
npm error code EEXIST
npm error path C:\Users\Zero-Brainer\AppData\Roaming\npm\kin
npm error EEXIST: file already exists
npm error File exists: C:\Users\Zero-Brainer\AppData\Roaming\npm\kin
npm error Remove the existing file and try again, or run npm
npm error with --force to overwrite files recklessly.
npm error A complete log of this run can be found in: C:\Users\Zero-Brainer\AppData\Local\npm-cache_logs\2024-07-30T13_14_21_826Z-debug-0.log
Try either cleaning cashe by runnging: npm cache clean --force
or
Force install the package: npm i -g @kin-lang/kin --force
Notice that we're using --force on both commands, do this cautiously
If both commands fail, provide additional information like steps to produce, screenshots, OS information, Node Version and Npm Version.
Fixed!
Remember to share with us whatever you did with Kin, use this repo kin showcase
@rutaganda-salim run
kin --version
not kit --version and let me know if this is fixed!