kin-lang / kin

The Kin Programming Language ( Write computer programs in Kinyarwanda - native language for Rwandans )
https://kinlang.dev
MIT License
209 stars 11 forks source link

[ERROR] : Module not found when running `kin --version` #157

Closed rutaganda-salim closed 3 months ago

pacifiquem commented 3 months ago

@rutaganda-salim run kin --version not kit --version and let me know if this is fixed!

pacifiquem commented 3 months ago

Also make sure to install kinlang globally by running this command npm i -g @kin-lang/kin

rutaganda-salim commented 3 months ago

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

pacifiquem commented 3 months ago

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.

rutaganda-salim commented 3 months ago

Fixed!

pacifiquem commented 3 months ago

Remember to share with us whatever you did with Kin, use this repo kin showcase