WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-4db-153249-32.MAI' (Errcode: 28 "No space left on device")]
SELECT p.*, o.option_value, GROUP_CONCAT(DISTINCT CONCAT(m.meta_key, "::", m.meta_value) separator "::::") as seo_meta, t.slug, tr.language_code as language FROM wp_posts p JOIN wp_postmeta m ON p.ID = m.post_id JOIN wp_options o ON o.option_name = "siteurl" JOIN wp_term_relationships r ON r.object_id = p.ID JOIN wp_term_taxonomy x ON x.term_taxonomy_id = r.term_taxonomy_id JOIN wp_terms t ON t.term_id = x.term_id JOIN wp_icl_translations tr ON p.ID = tr.element_id WHERE post_type = "page" AND post_status = "publish" AND tr.language_code = 'en' AND t.slug IN ('jquery') AND x.taxonomy = "page_cat" AND tr.element_type = "post_page" AND meta_key IN ("_yoast_wpseo_title", "_yoast_wpseo_metadesc") GROUP BY p.ID

WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-4db-153249-33.MAI' (Errcode: 28 "No space left on device")]
SHOW FULL COLUMNS FROM `wp_options`

Angular - lesson 8 - deploy to firebase [error no default ex

WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-4db-153249-34.MAI' (Errcode: 28 "No space left on device")]
SELECT p.* FROM wp_mdb_forum_posts AS p LEFT JOIN wp_mdb_forum_posts AS q ON( q.Id = p.ParentId AND p.Id = q.AcceptedAnswerId ) WHERE p.PostTypeId = 2 AND p.ParentId = 94982 GROUP BY p.Id ORDER BY CASE WHEN q.Id IS NOT NULL THEN 1 ELSE 0 END DESC, p.UpvoteCount DESC, p.CreationDate ASC


Topic: Angular - lesson 8 - deploy to firebase [error no default export]

soccerdon1981 asked 7 years ago

First of all, this walkthrough / lesson guide is amazing! I've learned so much already. Secondly, here's the issue I'm having. lol

I received this error:

idb.services.ts ERROR: idb/lib/idb has no default export

While trying to complete this step:

After initializing the application we have nothing else left to do but to send it to the Firebase servers. But first we have to build a production version of our application! To do this, run the command below in the terminal of your application.

npm run pwa

This is the section of the Angular Lesson that I'm having an issue with:

Angular - lesson 8 - deploy to firebase...

Here's the code that I'm receiving an error on as well as the file location:

C:\xampp\htdocs\Angular Alpha 001\mdb-angular-small-bundle-7.4.1\ng-uikit-pro-standard-7.4.1\ng-uikit-pro-standard-7.4.1\src\app\services\idb.services.ts

import {Injectable} from '@angular/core'; 
import idb from 'idb';
import {Observable, Subject} from 'rxjs'; 
import {Schedule} from '../app.component';

@Injectable({   
    providedIn: 'root' 
}) 
export class IdbService {
private _dataChange: Subject<Schedule> = new Subject<Schedule>();
private _dbPromise;

constructor() { 
}

connectToIDB() {   
    this._dbPromise = idb.open('pwa-database', 1,
UpgradeDB => {
    if (!UpgradeDB.objectStoreNames.contains('Items')) {
      UpgradeDB.createObjectStore('Items', {keyPath: 'id', autoIncrement: true});
    }
    if (!UpgradeDB.objectStoreNames.contains('Sync-Items')) {
      UpgradeDB.createObjectStore('Sync-Items', {keyPath: 'id', autoIncrement: true});
    }   
}); }

Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 7.4.1
  • Device: PC
  • Browser: Chrome
  • OS: Windows 10 Home 64-bit
  • Provided sample code: No
  • Provided link: Yes