07-21-2023, 02:22 PM
After installing
```
$ npm install -g firebase-tools
```
Note the directory where it installed
What I did was locate the directory where firebase was installed. In my case `C:\usr\local` then I copied the three firebase files. I also went into the `node_modules` folder and copied the firebase tools folder. Then I went to my app directory in file manager and pasted the firebase files, then created a new `node_modules` folder and pasted the firebase-tools folder.
Now go to your cmd and run
```
$ firebase init
```
It should work
```
$ npm install -g firebase-tools
```
Note the directory where it installed
What I did was locate the directory where firebase was installed. In my case `C:\usr\local` then I copied the three firebase files. I also went into the `node_modules` folder and copied the firebase tools folder. Then I went to my app directory in file manager and pasted the firebase files, then created a new `node_modules` folder and pasted the firebase-tools folder.
Now go to your cmd and run
```
$ firebase init
```
It should work