Am trying to set up an Environment to help me contribute to OCL project. I am following this link https://github.com/openmrs/openmrs-ocl-client/blob/master/README.md as a guide. I have successfully install node which is confirmed by running node -v and the output is v12.15.0
and npm whose version is 6.13.4. but when I run ```
npm install command to install the dependencies, I get this error log https://pastebin.com/Bmk6vrZw. I have tried to google a round for the solution but all is in vain. How can I go about it?
Try installing and building wit Yarn.
What do you have in here? 1. C:\Users\JULIE\AppData\Roaming\npm-cache_logs\2020-02-14T09_06_33_2. 470Z-debug.log
I tried using yarn but still got the same error
I have tried to trace the npm-cache_logs using command prompt but I get this error “The system cannot find the path specified.” but when I run “dir” command after cd npm-cache I get this https://pastebin.com/bTzE2JdZ logs of which when I try to tress the log “2020-02-14T09_06_33_2. 470Z-debug.log” it doesn’t exist.
@dkayiwa when I track manually, this are the logs in npm-cache file
Can you delete them, and then run again?
Thank you let me do it right a way
After deleting the logs and running “npm install” command, this is the error log https://pastebin.com/DnMBJ3US. I have tried to check the C:\Devel\nodejs\npm-cache_logs\2020-02-14T14_08_16_608Z-debug.log link to find out what is in the folder by running this command
but this is what I get
The system cannot find the path specified.
I have tried to access the folder manually but all in vain
Could you maybe re-try running
npm install? The file it’s trying to download exists and the ECONNRESET could be an intermittent issue. Otherwise, you’ll need to install the prerequisites outlined here.
Still getting an error and this the link to the error log https://pastebin.com/yWCtfD3G. When I follow this link C:\Devel\nodejs\npm-cache_logs\2020-02-20T19_53_46_766Z-debug.log I get this content https://pastebin.com/tY41PaKB
Did you take a look at the error message in your logs?
yes I did . This is the message https://pastebin.com/tY41PaKB though I have failed to getting that extra log
What i mean is, did you try to respond to the error message as per your logs?
I did though I closed the console before copying the error log. Am beginning a fresh to run the commands.
@dkayiwa i have sorted out the proxy or have bad network settings issue by running “npm config set registry http:/registry.npmjs.org/” command but when I run “npm install” command after, I get this error https://pastebin.com/YMYbrf6k which I have failed to locate the problem. I have tried to follow this link C:\Devel\nodejs\npm-cache_logs\2020-02-24T20_41_17_559Z-debug.log but I have failed to share using pastebin because its beyond the required size.
Yes I am following that link.
for linux the above error also occurs as a result of having limited permissions,could you try the cmd terminal as an admin!!