Git Product home page Git Product logo

ddp-rate-limiter-mixin's People

Contributors

a-magdy avatar arunoda avatar jamielob avatar nlhuykhang avatar roonyh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

a-magdy wolasss

ddp-rate-limiter-mixin's Issues

Cannot import the package in meteor

I tried using the package with meteor, but it gave me the error:

Error: Can't find npm module 'ddp-rate-limiter-mixin'. Did you forget to call 'Npm.depends' in package.js within the 'modules-runtime' package?

This happens also with the example in the repo, tried installing the package with npm i -S, and meteor install, both gave me the same error!

then I tried importing the file directly from node_modules/ddp-rate-limiter-mixin/dist/index but it gave me this error:

W20170510-17:43:04.615(2)? (STDERR) packages/modules.js:336
W20170510-17:43:04.616(2)? (STDERR) import _Object$defineProperty from 'babel-runtime/core-js/object/define-property';
W20170510-17:43:04.616(2)? (STDERR) ^^^^^^
W20170510-17:43:04.616(2)? (STDERR)
W20170510-17:43:04.616(2)? (STDERR) SyntaxError: Unexpected reserved word
W20170510-17:43:04.616(2)? (STDERR)     at Object.exports.runInThisContext (vm.js:53:16)

And it worked when I imported the rate-limiter file directly:

import { RateLimiterMixin } from '../node_modules/ddp-rate-limiter-mixin/dist/rate-limiter';

And thank you for your effort :)

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.