Coder Social home page Coder Social logo

paperbits / paperbits-firebase Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 10.0 334 KB

This repository contains implementation, tools and examples for Firebase as backend.

Home Page: https://paperbits.io

License: MIT License

TypeScript 100.00%
firebase paperbits

paperbits-firebase's People

Contributors

azaslonov avatar mtuchkov avatar ygrik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

paperbits-firebase's Issues

Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?

On version 0.1.465 when trying to run the designer on paperbits-demo I'm getting the following error:

   ERROR in /paperbits-demo/node_modules/@paperbits/firebase/services/firebaseService.admin.ts
    [tsl] ERROR in /paperbits-demo/node_modules/@paperbits/firebase/services/firebaseService.admin.ts(54,13)
          TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?

And it is pointing me to this fragment in firebaseService.admin.ts

    private async getFirebaseRef(): Promise<void> {
        if (this.initializationPromise) {
            return this.initializationPromise;
        }

        this.initializationPromise = new Promise(async (resolve, reject) => {
            const firebaseSettings = await this.settingsProvider.getSetting<any>("firebase");
            this.databaseRootKey = this.databaseRootKey = firebaseSettings.rootKey || "/";

            await this.applyConfiguration(firebaseSettings);

            resolve();
        });

Any suggestions would be appreciated...

npm run publish giving error

Hello. So whenever I run npm run publish, I get the following error

module.exports = firebase-admin;
^
ReferenceError: firebase is not defined
at firebase-admin (/Users/Shivam_Agarwal/mck-work/paperbits/dist/publisher/index.js:21307:18)

So on opening the file, this is the line I get the error:
"use strict";
module.exports = firebase-admin;

It is basically interpreting firebase-admin as firebase minus admin. I have not been able to find any fix yet.

I understand that your team receives numerous inquiries, and I greatly appreciate your attention to my specific concern. If there are any log files, error messages, or additional information you require from my end to assist with the investigation, please let me know, and I will gladly provide them promptly.

Thank you once again for your continued commitment to providing exceptional support to the GitHub community. I look forward to your response and the opportunity to resolve this matter.

Do you mean Firestore CMS?

i doubt its very very challenging
a wordpress like backend
1.user management
2.posts
3.pages
4.articles
5.Q&A
6.Blog
7.Landing Pages
8.Airtable like inventory management
would be a great saas product with GraphQL api for mobile frontends

Update core-js to optimize speed.

Hi, I get core-js being outdate and possibly causing slowness. Here's all the info I have so far:

npm run node list
...
├─┬ @paperbits/[email protected]
│ └─┬ [email protected]
│   └─┬ @firebase/[email protected]
│     └── [email protected] # this is an old version and should be 
...

The note i get durring CI install:

npm WARN deprecated [email protected]: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.

I suggest to upgrade firebase at the current stable release 9.15.0 https://www.npmjs.com/package/firebase/v/9.15.0

Thank you very much!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.