1
resposta

problema em instala o express validator

quando tento instalar o express validator esta dando o seguinte erro npm WARN tar ENOENT: no such file or directory, open 'C:\casadocodigo\node_modules.staging\readdirp-6669f97d\examples\package.json' npm WARN tar ENOENT: no such file or directory, open 'C:\casadocodigo\node_modules.staging\fsevents-72651967\build.target.mk' npm WARN tar ENOENT: no such file or directory, open 'C:\casadocodigo\node_modules.staging\readdirp-6669f97d\examples\callback-api.js' npm WARN tar ENOENT: no such file or directory, open 'C:\casadocodigo\node_modules.staging\semver-bcfa011b\bin\semver' npm WARN tar ENOENT: no such file or directory, open 'C:\casadocodigo\node_modules.staging\combined-stream-8876c70c\lib\combined_stream.js' npm WARN tar ENOENT: no such file or directory, open 'C:\casadocodigo\node_modules.staging\fsevents-72651967\build\action_after_build.target.mk' npm WARN tar ENOENT: no such file or directory, open 'C:\casadocodigo\node_modules.staging\combined-stream-6d15ebd9\lib\combined_stream.js' npm WARN tar ENOENT: no such file or directory, open 'C:\casadocodigo\node_modules.staging\map-stream-4c9b55db\test\simple-map.asynct.js' npm WARN tar ENOENT: no such file or directory, open 'C:\casadocodigo\node_modules.staging\readdirp-6669f97d\examples\grep.js' npm WARN tar ENOENT: no such file or directory, open 'C:\casadocodigo\node_modules.staging\combined-stream-8876c70c\lib\defer.js' npm WARN tar ENOENT: no such file or directory, open 'C:\casadocodigo\node_modules.staging\fsevents-72651967\build\binding.Makefile' npm WARN tar ENOENT: no such file or directory, open 'C:\casadocodigo\node_modules.staging\combined-stream-6d15ebd9\lib\defer.js' npm WARN tar ENOENT: no such file or directory, open 'C:\casadocodigo\node_modules.staging\readdirp-6669f97d\examples\stream-api-pipe.js' npm WARN tar ENOENT: no such file or directory, open 'C:\casadocodigo\node_modules.staging\fsevents-72651967\build\fse.target.mk' npm WARN tar ENOENT: no such file or directory, open 'C:\casadocodigo\node_modules.staging\readdirp-6669f97d\examples\stream-api.js' npm WARN tar ENOENT: no such file or directory, open 'C:\casadocodigo\node_modules.staging\fsevents-72651967\build\gyp-mac-tool' npm WARN tar ENOENT: no such file or directory, open 'C:\casadocodigo\node_modules.staging\readdirp-6669f97d\examples\Readme.md' npm WARN tar ENOENT: no such file or directory, open 'C:\casadocodigo\node_modules.staging\readdirp-6669f97d.travis.yml' npm WARN tar ENOENT: no such file or directory, open 'C:\casadocodigo\node_modules.staging\fsevents-72651967\build\Makefile' npm WARN tar ENOENT: no such file or directory, open 'C:\casadocodigo\node_modules.staging\psl-6475c51a\dist\psl.js' npm WARN tar ENOENT: no such file or directory, open 'C:\casadocodigo\node_modules.staging\fsevents-72651967\node_modules\iconv-lite\lib\bom-handling.js' npm WARN tar ENOENT: no such file or directory, open 'C:\casadocodigo\node_modules.staging\fsevents-72651967\node_modules\iconv-lite\lib\extend-node.js' npm WARN tar ENOENT: no such file or directory, open 'C:\casadocodigo\node_modules.staging\fsevents-72651967\node_modules\iconv-lite\lib\index.d.ts' npm WARN tar ENOENT: no such file or directory, open 'C:\casadocodigo\node_modules.staging\fsevents-72651967\node_modules\iconv-lite\lib\index.js' npm WARN tar ENOENT: no such file or directory, open 'C:\casadocodigo\node_modules.staging\fsevents-72651967\node_modules\iconv-lite\lib\streams.js' npm WARN casadocodigo@1.0.0 No repository field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents): npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename 'C:\casadocodigo\node_modules.staging\fsevents-72651967\node_modules\abbrev' -> 'C:\casadocodigo\node_modules.staging\abbrev-94b1e4c4'

npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/flatmap-stream/-/flatmap-stream-0.1.0.tgz npm ERR! 404 npm ERR! 404 'flatmap-stream@0.1.0' is not in the npm registry. npm ERR! 404 You should bug the author to publish it (or use the name yourself!) npm ERR! 404 It was specified as a dependency of 'casadocodigo' npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\luciu\AppData\Roaming\npm-cache_logs\2019-12-19T14_48_23_368Z-debug.log

e dai no npm start da erro falando que o modulo nao está presente tem como resolver isso ??

1 resposta

Boa tarde, Lucius! Como vai?

Esse log de erro foi gerado ao tentar instalar o express validator? Se sim, qual foi o comando que vc utilizou para efetuar essa tarefa?

Qualquer coisa é só falar!

Grande abraço e bons estudos, meu aluno!