dynamic-cdn-webpack-plugin icon indicating copy to clipboard operation
dynamic-cdn-webpack-plugin copied to clipboard

Missing dependencies

Open wingsbob opened this issue 6 years ago • 3 comments

Is this a bug report?

Yup! When I tried adding 'dynamic-cdn-webpack-plugin' to my project, it causes webpack to crash trying to require in a dependency.

Please find a minimal recreation here: https://github.com/wingsbob/dynamic-cdn-webpack-plugin-issue

Environment

npm ls dynamic-cdn-webpack-plugin
[email protected] project root
`-- [email protected]
npm ls webpack
[email protected] project root
`-- [email protected]

Steps to Reproduce

require('dynamic-cdn-webpack-plugin')?

Expected Behavior

Webpack runs 🤷‍♂

Actual Behavior

Webpack crashes with

Error: Cannot find module 'babel-runtime/core-js/object/values'

This happens on requiring 'dynamic-cdn-webpack-plugin'

Reproducible Demo

https://github.com/wingsbob/dynamic-cdn-webpack-plugin-issue

Instructions in the readme.

wingsbob avatar May 09 '19 09:05 wingsbob

Hi,

We have fixed this issue on our master branch but haven't released a new version yet.

For the time being you can fix this by installing babel-runtime,

npm i -D babel-runtime

aulisius avatar May 10 '19 06:05 aulisius

Do you have any timeline on when you'll be releasing a new version? 😄

wingsbob avatar May 10 '19 08:05 wingsbob

This issue still exists! When are you planning a release??

FKobus avatar Dec 07 '19 17:12 FKobus