Intellicode / vue-chat

Example of a Chat application written in Vue.js
MIT License
10 stars 5 forks source link

npm install is giving error whie installing miller-rabin@4.0.1 #1

Open CaptainT33mo opened 6 years ago

CaptainT33mo commented 6 years ago

D:\vue-chat-master\vue-chat-master>npm install npm WARN Error: EPERM: operation not permitted, unlink 'D:\vue-chat-master\vue-chat-master\node_modules\fsevents\node_modules\aws-sign2\package.json' npm WARN { Error: EPERM: operation not permitted, unlink 'D:\vue-chat-master\vue-chat-master\node_modules\fsevents\node_modules\aws-sign2\package.json' npm WARN stack: 'Error: EPERM: operation not permitted, unlink \'D:\vue-chat-master\vue-chat-master\node_modules\fsevents\node_modules\aws-sign2\package.json\'', npm WARN errno: -4048, npm WARN code: 'EPERM', npm WARN syscall: 'unlink', npm WARN path: 'D:\vue-chat-master\vue-chat-master\node_modules\fsevents\node_modules\aws-sign2\package.json' } npm ERR! path D:\vue-chat-master\vue-chat-master\node_modules\miller-rabin\bin\miller-rabin npm ERR! code ENOENT npm ERR! errno -4058 npm ERR! syscall chmod npm ERR! enoent ENOENT: no such file or directory, chmod 'D:\vue-chat-master\vue-chat-master\node_modules\miller-rabin\bin\miller-rabin' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\XXXX\AppData\Roaming\npm-cache_logs\2017-10-12T17_41_57_774Z-debug.log

Intellicode commented 6 years ago

Hi @vibhor4all, cool that you try to install this little project, unfortunately I do not have a windows machine to see what could be causing your issue. Perhaps the package aws-sign2 is not compatible with windows.

CaptainT33mo commented 6 years ago

@Intellicode is there any work around for that error? I cant get it running.

Intellicode commented 6 years ago

@vibhor4all Maybe you can have a look at this topic: https://github.com/npm/npm/issues/17671

Unfortunately, I don't have any windows machine here to test your setup.

CaptainT33mo commented 6 years ago

@Intellicode I tried reverting the the npm to 5.0.4 and still no luck. Anyways, it wont install on my windows machine still giving lots of errors like the ones attached in the files.

I just wanted to see you this app you created in working state. So this is just a request, maybe you can create a video or post screenshots here so that i can see it in action. I have your code for reference. I am learning vue myself and nodejs is new for me too. So any help would be much appreciated.

2017-10-29T12_31_36_100Z-debug.log vue-chat-cmd-error.txt

Intellicode commented 6 years ago

@vibhor4all I've created a 'dist' folder in this branch(https://github.com/Intellicode/vue-chat/tree/with-dist), you can try it out by serving the dist folder and connecting to localhost with choosen port (this domain has to be localhost)