Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing file in npm package #34

Closed
green3g opened this issue Jul 13, 2016 · 3 comments
Closed

Missing file in npm package #34

green3g opened this issue Jul 13, 2016 · 3 comments

Comments

@green3g
Copy link

green3g commented Jul 13, 2016

Running npm install can-validate doesn't work, it seems that can-validate\docs\can-validate-plugin|changelog.html is missing. That's just my guess but this logfile may provide more details:

242 error tar.unpack untar error C:\Users\groemhildt\AppData\Roaming\npm-cache\can-validate\0.9.2\package.tgz
243 verbose unlock done using C:\Users\groemhildt\AppData\Roaming\npm-cache\_locks\can-validate-dce224e6266882f7.lock for X:\static_apps\crud\node_modules\can-crud\node_modules\can-validate
244 verbose stack Error: ENOENT: no such file or directory, open 'X:\static_apps\crud\node_modules\can-crud\node_modules\can-validate\docs\can-validate-plugin|changelog.html'
244 verbose stack     at Error (native)
245 verbose cwd X:\static_apps\crud\node_modules\can-crud
246 error Windows_NT 6.1.7601
247 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "can-validate"
248 error node v4.4.7
249 error npm  v2.15.8
250 error path X:\static_apps\crud\node_modules\can-crud\node_modules\can-validate\docs\can-validate-plugin|changelog.html
251 error code ENOENT
252 error errno -4058
253 error syscall open
254 error enoent ENOENT: no such file or directory, open 'X:\static_apps\crud\node_modules\can-crud\node_modules\can-validate\docs\can-validate-plugin|changelog.html'
254 error enoent This is most likely not a problem with npm itself
254 error enoent and is related to npm not being able to find a file.
255 verbose exit [ -4058, true ]
256 verbose unbuild node_modules\can-validate
257 info preuninstall [email protected]
258 info uninstall [email protected]
259 verbose unbuild rmStuff [email protected] from X:\static_apps\crud\node_modules\can-crud\node_modules
260 info postuninstall [email protected]
261 silly gentlyRm X:\static_apps\crud\node_modules\can-crud\node_modules\can-validate is being purged from base X:\static_apps\crud\node_modules\can-crud
262 verbose gentlyRm don't care about contents; nuking X:\static_apps\crud\node_modules\can-crud\node_modules\can-validate
263 silly vacuum-fs purging X:\static_apps\crud\node_modules\can-crud\node_modules\can-validate
264 silly vacuum-fs quitting because other entries in X:\static_apps\crud\node_modules\can-crud\node_modules
@Macrofig
Copy link
Contributor

I believe this is related to or duplicates #31. Let's keep this around since I haven't had time to investigate. What I'll do for now, is remove the built docs folder until I can figure out why npm and DocumentJS can't get along here.

@green3g
Copy link
Author

green3g commented Jul 13, 2016

Good call, its definitely a duplicate.

@green3g
Copy link
Author

green3g commented Jul 13, 2016

I was also on Windows (7) at the time when this error occurred. It doesn't seem to happen on linux though, just tried to install and it worked.

@green3g green3g closed this as completed Jul 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants