instapy-dashboard icon indicating copy to clipboard operation
instapy-dashboard copied to clipboard

problem with install in windows 10

Open m-f-rassoulnejad opened this issue 6 years ago • 2 comments

I tried with gitbash, windows powershell and even cmd. but the problem still remains. I tried to upgrade to latest version of nodejs but still the error bellow is what it returns to me. I cant actually find those modules in the directory and I cloned it directly from this repo. shouldn't they included in it?

PS C:\Users\Mohammad\Desktop\InstaPy\instapy-dashboard> npm install
npm WARN tarball tarball data for [email protected] (sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==) seems to be corrupted. Trying one more time.
npm ERR! Maximum call stack size exceeded
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Mohammad\Desktop\InstaPy\instapy-dashboard\node_modules\.staging\pretty-error-d8ae9ce4\start.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Mohammad\Desktop\InstaPy\instapy-dashboard\node_modules\.staging\pretty-error-d8ae9ce4\index.d.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Mohammad\Desktop\InstaPy\instapy-dashboard\node_modules\.staging\html-webpack-plugin-b5b495b2\index.js'

when I use administrator access the errors get worse and getting me this:


PS C:\Users\Mohammad\Desktop\InstaPy\instapy-dashboard> npm install
npm WARN tarball tarball data for [email protected] (sha512-7GlLk9JwlElY4Y6a/rmbH2MhVlTyVmiJd1PfTCqFaIBEGMYNsrO/v3SeGTdhBThLg4Z+NbOk/qFMwCa+J+3p/g==) seems to be corrupted. Trying one more time.
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Mohammad\Desktop\InstaPy\instapy-dashboard\node_modules\.staging\postcss-custom-selectors-e983c77d\package.json'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Mohammad\Desktop\InstaPy\instapy-dashboard\node_modules\.staging\postcss-custom-selectors-e983c77d\CHANGELOG.md'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Mohammad\Desktop\InstaPy\instapy-dashboard\node_modules\.staging\postcss-custom-selectors-e983c77d\index.cjs.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Mohammad\Desktop\InstaPy\instapy-dashboard\node_modules\.staging\finalhandler-c060cd1f\HISTORY.md'
npm ERR! path C:\Users\Mohammad\Desktop\InstaPy\instapy-dashboard\node_modules\.staging\stylehacks-ce402132\dist\index.js
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall unlink
npm ERR! Error: EPERM: operation not permitted, unlink 'C:\Users\Mohammad\Desktop\InstaPy\instapy-dashboard\node_modules\.staging\stylehacks-ce402132\dist\index.js'
npm ERR!  { [Error: EPERM: operation not permitted, unlink 'C:\Users\Mohammad\Desktop\InstaPy\instapy-dashboard\node_modules\.staging\stylehacks-ce402132\dist\index.js']
npm ERR!   cause:
npm ERR!    { Error: EPERM: operation not permitted, unlink 'C:\Users\Mohammad\Desktop\InstaPy\instapy-dashboard\node_modules\.staging\stylehacks-ce402132\dist\index.js'
npm ERR!      errno: -4048,
npm ERR!      code: 'EPERM',
npm ERR!      syscall: 'unlink',
npm ERR!      path:
npm ERR!       'C:\\Users\\Mohammad\\Desktop\\InstaPy\\instapy-dashboard\\node_modules\\.staging\\stylehacks-ce402132\\dist\\index.js' },
npm ERR!   stack:
npm ERR!    'Error: EPERM: operation not permitted, unlink \'C:\\Users\\Mohammad\\Desktop\\InstaPy\\instapy-dashboard\\node_modules\\.staging\\stylehacks-ce402132\\dist\\index.js\'',
npm ERR!   errno: -4048,
npm ERR!   code: 'EPERM',
npm ERR!   syscall: 'unlink',
npm ERR!   path:
npm ERR!    'C:\\Users\\Mohammad\\Desktop\\InstaPy\\instapy-dashboard\\node_modules\\.staging\\stylehacks-ce402132\\dist\\index.js',
npm ERR!   parent: 'instapy-dashboard' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It's possible that the file was already in use (by a text editor or antivirus),
npm ERR! or that you lack permissions to access it.
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Mohammad\Desktop\InstaPy\instapy-dashboard\node_modules\.staging\postcss-values-parser-da33ef89\lib\errors\TokenizeError.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Mohammad\Desktop\InstaPy\instapy-dashboard\node_modules\.staging\postcss-values-parser-da33ef89\lib\function.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Mohammad\Desktop\InstaPy\instapy-dashboard\node_modules\.staging\postcss-values-parser-da33ef89\lib\index.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Mohammad\Desktop\InstaPy\instapy-dashboard\node_modules\.staging\postcss-values-parser-da33ef89\lib\node.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Mohammad\Desktop\InstaPy\instapy-dashboard\node_modules\.staging\postcss-values-parser-da33ef89\lib\number.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Mohammad\Desktop\InstaPy\instapy-dashboard\node_modules\.staging\postcss-values-parser-da33ef89\lib\operator.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Mohammad\Desktop\InstaPy\instapy-dashboard\node_modules\.staging\postcss-values-parser-da33ef89\lib\paren.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\Mohammad\Desktop\InstaPy\instapy-dashboard\node_modules\.staging\postcss-values-parser-da33ef89\lib\parser.js'

m-f-rassoulnejad avatar Apr 18 '19 15:04 m-f-rassoulnejad

Sorry, I'm not a Windows user, and I don't know how to fix Windows issues.

converge avatar Apr 18 '19 17:04 converge

im pretty sure the problem has something to do with these files. because they does not exist in the repository that I cloned. any idea how can i add these? im not a nodejs developer so i thought thats might be some easy task to deal with here.

\instapy-dashboard\node_modules\.staging\pretty-error-d8ae9ce4\start.js'
\instapy-dashboard\node_modules\.staging\pretty-error-d8ae9ce4\index.d.ts'
\instapy-dashboard\node_modules\.staging\html-webpack-plugin-b5b495b2\index.js

thanks

m-f-rassoulnejad avatar Apr 19 '19 11:04 m-f-rassoulnejad