expo init/npm init creating many files

Asked

Viewed 80 times

0

Good afternoon, you guys. I’m having a little trouble executing the expo init app. The command works, creates the React-Active files on my Windows correctly, but from a time to time it has failed to create only 3 folders and 5 files (more or less that). And the template I’m using is still the same Blank.

Now the command expo init app creates, still the 3 folders, but more a dozen other files .cmd and .ps1, I made a list of their names:

atob, browserlist, color-support envinfo, sparse, emptiness, image-size is-ci, jetifier, jetifier-standalone, jetify, js-yaml, jsesc, json5, logkitty, Loose-envify, md5-file, metre, metro-inspector, metro-symbolicate, mime, mkdirp, parser, React-Native, regjsparser, rimraf, sanity, semver, uglifyjs, uuid, watch, which

I don’t know why this happens, I wonder if you have to prevent the creation of these files? And if you have to prevent, how to proceed, please?

  • These are not files inside the node_modules?

  • Yes, most of these files have an equivalent folder within node_modules. But the point is that before he didn’t create these files, I also don’t remember installing them.

1 answer

1

This is due to the update (which occurs in the background) of the Expo SDK (which should be in version 37). This update came full of Features, and bugs too. They added several files by default, so you won’t be able to make a control of it.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.