sfeir-open-source / talk-control

This project aims to make speakers' life easier by supplying an app to remotely control their slideshow.
Apache License 2.0
2 stars 5 forks source link

import bug #69

Open GildasMorel opened 4 years ago

GildasMorel commented 4 years ago

1- Create a file src/plugins/plugin.js with code :

export class Plugin {
    constructor() {
        this.callbacks = [];
    }

    onEvent(callback) {
        this.callbacks.push(callback);
    }
}

2 - Add to keyboard and touch index.js plugin file :

import { Plugin } from '@plugins/plugin.js';

Error : Uncaught (in promise) Error: Cannot find module '../../plugins/plugin.js'

If you add import only on one plugin, it's ok. Seems like a parcel problem with plugin-loader.js

Augani commented 4 years ago

Hello, can i take this?

GildasMorel commented 4 years ago

Hello,

Of course,, it would be helpful.

Tell me if you need more informations :).

Sincerely,

Gildas.

Le lun. 3 août 2020 à 15:47, Augustus Otu notifications@github.com a écrit :

Hello, can i take this?

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/sfeir-open-source/talk-control/issues/69#issuecomment-668032699, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMDYED7CPMANOEKCFAJUW5LR625YLANCNFSM4PTJ5OHA .

GildasMorel commented 4 years ago

Hello @Augani,

Did you find any clue for this issue ?

Gildas.

Augani commented 4 years ago

Hello @GildasMorel , looking into it now. Will revert shortly

GildasMorel commented 4 years ago

Waiting for issue #83 to be completed