react-native-infinity
react-native-infinity copied to clipboard
Package.json Missing along with other files
trafficstars
Files not limited to Package.json are missing after creation with both NPX & local installation.
Can you share what command you used? What version of windows are you using? I seem to be getting all the files using npx.

I'm currently using Windows 10 with Node Version v12.13.1. Check the output below
C:\Users\Lavesh\Documents> npx react-native-infinity init
√ Name of the Project: · AwesomeProject
√ What platforms will your app support? (Spacebar to select, Enter to Continue) · No items were selected
You must choose at least one platform to support, click the spacebar to select a platform.
√ What platforms will your app support? (Spacebar to select, Enter to Continue) · No items were selected
You must choose at least one platform to support, click the spacebar to select a platform.
√ What platforms will your app support? (Spacebar to select, Enter to Continue) · Mobile (Android, iOS), Web, Electron (MacOS, Windows, Linux), MacOS (react-native-macos), Windows (react-native-windows)
√ UI Library? · Material Bread
Setting up Core
Setting up iOS
Setting up Android
Setting up Web
Setting up Electron
Setting up Macos
Merging Package.json
C:\Users\Lavesh\Documents>cd AwesomeProject
C:\Users\Lavesh\Documents\AwesomeProject>dir
Volume in drive C has no label.
Volume Serial Number is 0229-C863
Directory of C:\Users\Lavesh\Documents\AwesomeProject
01/06/2020 02:40 AM <DIR> .
01/06/2020 02:40 AM <DIR> ..
01/06/2020 02:40 AM <DIR> android
10/26/1985 12:15 PM 65 app.json
10/26/1985 12:15 PM 77 babel.config.js
01/06/2020 02:40 AM <DIR> electron
10/26/1985 12:15 PM 187 index.js
01/06/2020 02:40 AM <DIR> ios
01/06/2020 02:40 AM <DIR> macos
10/26/1985 12:15 PM 300 metro.config.js
01/06/2020 02:40 AM <DIR> src
01/06/2020 02:40 AM <DIR> web
4 File(s) 629 bytes
8 Dir(s) 55,444,045,824 bytes free
UPDATE: Encountering this issue on Multiple OS (Windows 10, Ubuntu 18.04 LTS)
Windows:
C:\Users\LaveshPanjwani\Desktop\AwesomeProject>npm run server
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path C:\Users\LaveshPanjwani\Desktop\AwesomeProject\package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\LaveshPanjwani\Desktop\AwesomeProject\package.json'
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\LaveshPanjwani\AppData\Roaming\npm-cache\_logs\2020-03-18T17_46_26_307Z-debug.log
Ubuntu:
ubuntu@ubuntu:~$ npx react-native-infinity init
npx: installed 30 in 11.043s
✔ Name of the Project: · AwesomeProject
✔ What platforms will your app support? (Spacebar to select, Enter to Continue) · Mobile (Android, iOS), Web, Electron (MacOS, Windows, Linux), MacOS (react-nat ive-macos), Windows (react-native-windows)
✔ UI Library? · Material Bread
Setting up Core
Setting up iOS
Setting up Android
Setting up Web
Setting up Electron
Setting up Macos
Merging Package.json
ubuntu@ubuntu:~$ cd AwesomeProject
ubuntu@ubuntu~/AwesomeProject$ dir
android babel.config.js index.js macos src
app.json electron ios metro.config.js web
ubuntu@ubuntu:~/AwesomeProject$ ls
android babel.config.js index.js macos src
app.json electron ios metro.config.js web