Giter Club home page Giter Club logo

Comments (4)

torbjornvatn avatar torbjornvatn commented on May 18, 2024

I've tried pulling the demo-repo, and that works just fine. But that doesn't include the twitter-extension, so it figures

from mozaik.

torbjornvatn avatar torbjornvatn commented on May 18, 2024

I removed the twitter extension from app.js but the I got this from the image extension:

info: registered API "github"
info: registered API "heroku"
module.js:338
    throw err;
    ^

Error: Cannot find module 'mozaik-ext-image/client'
    at Function.Module._resolveFilename (module.js:336:15)
    at Function.Module._load (module.js:286:25)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (/Users/torvatn/Development/node/unaboard/app.js:10:34)
    at Module._compile (module.js:434:26)
    at Object.Module._extensions..js (module.js:452:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Function.Module.runMain (module.js:475:10)
    at startup (node.js:118:18)
    at node.js:952:3

I altered app.js to contain mozaik-ext-image/components instead, but then I got this:

info: registered API "github"
info: registered API "heroku"
/Users/torvatn/Development/node/unaboard/node_modules/mozaik/src/Bus.js:51
            this.apis[id] = api(this._mozaik);
                            ^

TypeError: api is not a function
    at Bus.registerApi (/Users/torvatn/Development/node/unaboard/node_modules/mozaik/src/Bus.js:33:25)
    at Object.<anonymous> (/Users/torvatn/Development/node/unaboard/app.js:10:12)
    at Module._compile (module.js:434:26)
    at Object.Module._extensions..js (module.js:452:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Function.Module.runMain (module.js:475:10)
    at startup (node.js:118:18)
    at node.js:952:3

from mozaik.

plouc avatar plouc commented on May 18, 2024

@torbjornvatn is your repo available somewhere ?

from mozaik.

torbjornvatn avatar torbjornvatn commented on May 18, 2024

Got it working, seems like it was a problem with our inhouse npm registry

from mozaik.

Related Issues (20)

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.