Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use with Rollup #7

Closed
krabbypattified opened this issue Dec 10, 2018 · 2 comments
Closed

Cannot use with Rollup #7

krabbypattified opened this issue Dec 10, 2018 · 2 comments

Comments

@krabbypattified
Copy link

I get this error

Error: Identifier 'debug' has already been declared

when I run Rollup because debug is declared twice in index.js for no reason.

var debug = require('debug');
var jsonfile = require('jsonfile');
var merge = require('merge');
var debug = debug('full-text-search-light');
@frankred
Copy link
Owner

frankred commented Dec 11, 2018

You are right! I've just fixed this duplicate variable bug and released a new version:
https://www.npmjs.com/package/full-text-search-light (0.0.18)

Install version 0.0.18: npm install full-text-search-light@0.0.18 --save

Does the error still occur? @krabbypattified

@krabbypattified
Copy link
Author

It seems to be fixed, thank you @frankred :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants