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

missing dependency item in package.json #16

Closed
boan-anbo opened this issue Nov 7, 2020 · 3 comments
Closed

missing dependency item in package.json #16

boan-anbo opened this issue Nov 7, 2020 · 3 comments

Comments

@boan-anbo
Copy link

Error: Cannot find module 'regenerator-runtime/runtime'

Need to manually install the regenerator runtime.

@AJamesPhillips
Copy link

I can confirm I am getting this error too and it is fixed by: npm install regenerator-runtime, so perhaps regenerator-runtime should be added to the dependencies list? It seems though this is coming from babel so perhaps it's a bug they have now fixed?

@tnajdek
Copy link
Owner

tnajdek commented Feb 28, 2021

Thank you both for reporting. For legacy reasons I've been processing src files prior to packaging but this is no longer needed, hasn't been for years. Will be fixed in the next release.

@tnajdek tnajdek closed this as completed in 466bb86 Mar 1, 2021
tnajdek added a commit that referenced this issue Mar 1, 2021
* Remove the process that built src into lib using browserify and tweak
  package.json to reflect this change, i.e. change entry point and name
  the minimal node version that is required for the library to work
* Remove uglifify as the amount of bytes saved from the build was
  negligible
* Remove dependencies that are no longer in use
* Add missing dependencies for lint
* Switch nyc to c8 for coverage reporting
@AJamesPhillips
Copy link

Thank you very much @tnajdek ! 😀

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

3 participants