-
Notifications
You must be signed in to change notification settings - Fork 44
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
Latest release 0.1.17 breaks dependent modules #50
Comments
I use |
|
Confirmed. I use |
We also had an issue in a build using copy-webpack-plugin with error message "TypeError: this is not a typed array." or "ERROR in this is not a typed array." The issue occurs when using node version < 6. I asssume because Buffer.from introduced in b40a44a is not compatible with node < 6. I guess the bug is that package json of node-dir claims compatibility with "engines": { We downgraded to [email protected] which resolved the issue for us for now. |
I opened another issue prior to seeing this one. Here's my 2 cents from that other issue. TLDR: Rollback 0.1.17 and make a 0.1.18 that matches 0.1.16, then release a 1.0.0 with breaking changes since people seem to think ^ is safe... In the latest release published Would you be open to making a new patch release of 0.1.18 that removes reliance on Obviously this is a bit of a big ask, but would be very much appreciated by many folks I think 😄 |
We are using node 4.2.4 and copy-webpack-plugin version 1.1.1 and seems like copy has stopped working.Curious what can be done to unblock us atm. |
Also affects transfer-webpack-plugin v 0.1.4 |
You can add |
FIxes problem where webpack wasn’t copying static or intl to the build directory. Gory details: node-dir is a dependency of copy-webpack-plugin. If you don’t already have it installed, the latest version (0.1.17) gets installed and that one breaks copy-webpack (fshost/node-dir#50). Webpack build will complete. but there will be an error `ERROR in this is not a typed array.` We didn’t see it earlier because node-modules are cached.
FIxes problem where webpack wasn’t copying static or intl to the build directory. Gory details: node-dir is a dependency of copy-webpack-plugin. If you don’t already have it installed, the latest version (0.1.17) gets installed and that one breaks copy-webpack (fshost/node-dir#50). Webpack build will complete. but there will be an error `ERROR in this is not a typed array.` We didn’t see it earlier because node-modules are cached.
I forked this project long ago and it's in use by many. I just published to npm. Works the same only better, give it a try: |
Can confirm that path-reader was a working drop-in replacement for my project. |
I like the terminology of "drop-in replacement". Going to start using that in my republish of forks. Way better than plug-n-play replacement or other cheesy variant. |
I use
copy-webpack-plugin
, and it started to throw errors. I have found that onlynode-dir
npm have been updated recently to0.1.17
. Installing0.1.16
explicitly solves the problem withcopy-webpack-plugin
The text was updated successfully, but these errors were encountered: