src/lib/core/installer.js
/**
   * Run the installation process
   * @return {Promise}
   */
Run the installation process
@return {Promise}
Run the installation process @return { Promise }
async _install() {
    const { START, SUCCESS, ERROR } = Installer.operations;
    try {
      this.subject.next({ type: START });
      await this._writeUserGeneratorConfig();
      await this._createSeedersFolder();
      await this._writeUserConfig();
      this.subject.next({ type: SUCCESS });
      this.subject.complete();
    } catch (error) {
      const { type = ERROR, payload = { error } } = error;
      this.subject.error({ type, payload });
    }
  }
async _install ( ) { const { START , SUCCESS , ERROR } = Installer . operations ; try { this . subject . next ( { type : START } ) ; await this . _writeUserGeneratorConfig ( ) ; await this . _createSeedersFolder ( ) ; await this . _writeUserConfig ( ) ; this . subject . next ( { type : SUCCESS } ) ; this . subject . complete ( ) ; } catch ( error ) { const { type = ERROR , payload = { error } } = error ; this . subject . error ( { type , payload } ) ; } }
Run the installation process
 @return {Promise}
Run the installation process @return { Promise }