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

v0.22.0 is producing error "ReferenceError: regeneratorRuntime is not defined" #11

Closed
jonasms opened this issue Jan 18, 2019 · 2 comments

Comments

@jonasms
Copy link

jonasms commented Jan 18, 2019

I'm running node v8.11.2

Updating to v0.21.2 results in the following error:

ReferenceError: regeneratorRuntime is not defined
    at /Users/jonas/Dropbox/Max's Folder/Github/Athena/node_modules/zotero-api-client/lib/request.js:214:3
    at Object.<anonymous> (/Users/jonas/Dropbox/Max's Folder/Github/Athena/node_modules/zotero-api-client/lib/request.js:249:2)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/Users/jonas/Dropbox/Max's Folder/Github/Athena/node_modules/zotero-api-client/lib/api.js:25:15)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/Users/jonas/Dropbox/Max's Folder/Github/Athena/src/server/utils/zotero.js:1:78)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)


Using `v0.21.0` works.

Thoughts on why this is occuring?
@jonasms
Copy link
Author

jonasms commented Jan 18, 2019

It's worthwhile noting that I'm using this package with Node (server-side) and not on the client.

@tnajdek
Copy link
Owner

tnajdek commented Jan 20, 2019

Thanks, there was indeed a problem with last couple of releases. I've fixed that in 0c29539, released a new version 0.22.1 and deprecated broken builds on npm.

@tnajdek tnajdek closed this as completed Jan 20, 2019
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