Closed bitflower closed 4 years ago
Run npm install debug
inside @ feathers-plus/feathers-offline-realtime
.
The Feathers Auk standards are src/
exists on GitHub only and contains the ES2015 source. lib/
exists only on npm and contains the ES5 code produced by Babel.
Hey, so if I use a bundler that expects ES6 modules I should npm install
from github URL?
I would think so.
On Fri, Feb 9, 2018 at 9:37 AM, Matthias Max notifications@github.com wrote:
Hey, so if I use a bundler that expects ES6 modules I should npm install from github URL?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/feathers-plus/feathers-offline-realtime/issues/19#issuecomment-364450824, or mute the thread https://github.com/notifications/unsubscribe-auth/ABezn5_E1wcvQ9AmqQEqOitnFgPvfZlhks5tTFgOgaJpZM4R_4lA .
Steps to reproduce
EDIT / TLDR;
I have commented out all requires and uses of
debug
module and now it works:I've added the module to a @stencil/core app with an import statement. Rollup is trying to bundle things up but fails. I then commented out all lines of code in your module until I found out that this line fails:
inside
base-replicator.js
.Looking at the mode_modules of your module it indeed is missing.
Then I tried to npm install inside your module which gave me the error below.
Expected behavior
Actual behavior
npm install on the deployed version of the module gives me this:
System configuration
Tell us about the applicable parts of your setup. The module is part of a Stencil (Ionic hybrid apps) app.
Module versions (especially the part that's not working):
NodeJS version: 8.9.4
Operating System: macOS 10.13.3
Browser Version: Chrome 64
Module Loader: rollup (@stencil/core)