-
Notifications
You must be signed in to change notification settings - Fork 71
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
Update to source-map 0.6.1 causes an error when running Webpack #28
Comments
@wvankuipers - I've tried Issues with There is no changelog for either of the |
I created a simple example here https://github.com/wvankuipers/webpack-test It seems to be specific to |
I did some more research and it seems to be coming down to this line in the Backbone.Marionette library:
And then specificly
Even removing the rest of that file's content and leaving only this part there will cause Webpack to fail with the error above... Removing this line and Webpack wil succeed. |
A (temporary) workaround for this issue is to add
To the configuration of the |
Same issue here. I had to force install version 1.0.1 (rather than letting webpack pull in its own version) to get my project to build:
|
@dancollingridge Could you provide Error logs and a bit of relevant context about your project ? |
I also had the same issue. Error: original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.
|
@fkarczeski Could you try without the @dancollingridge Are you also using |
Exact same trace as posted above. My app is a Vue.js app. package.json target is:
|
Yes, I am using babili-webpack-plugin. |
In build/webpack.prod.conf.js:
|
@dancollingridge Does the build succeed without new BabiliPlugin({}*, {}*), is this* 'pseudo' or did you try without any options ? |
Which version of
|
cc @boopathi |
@michael-ciniawsky , not calling BabiliPlugin works (as expected). This is my current set up that fails: Calling with no options also fails for me with the same error: babili-webpack-plugin "version": "0.1.2" |
Yep, the plugin uses |
If I disable If I replace |
I also tried both |
I'm using |
I'm also interested in this. |
Just wanted to chip in and say that in my case it doesn't matter if i use the Also wanted to provide you with my files used: Cases
|
Replacing |
@catamphetamine It works because then you’d be using an entirely different thing. |
Has anyone tried |
So is the solution here to just not use the babili plugin, or is there a version we can bump to get rid of this error? |
If you can wait a couple of weeks and assuming you will be able to upgrade immediately; I have a number of projects using It seems like nobody really wants to take ownership of the problem. Despite numerous examples showing how to reproduce the problem, some of the early comments in the issue over in In |
@scottohara To be honest, I'm not really interested in UglifyJS2; I chose babel-minify, and I want to stick with it. Switching back to UJS2 won't solve this issue. In the meantime, the workaround I implemented was forcing webpack to switch to webpack-sources@1.0.1. |
… Uglify now, we can use the same for both server+client. See: webpack/webpack-sources#28
The babel-minify-webpack-plugin was giving me a strange error when building. The Webpack builtin production minifier f does not seem have this issue. webpack/webpack-sources#28
The babel-minify-webpack-plugin was giving me a strange error when building. The Webpack builtin production minifier f does not seem have this issue. webpack/webpack-sources#28
The babel-minify-webpack-plugin was giving me a strange error when building. The Webpack builtin production minifier f does not seem have this issue. webpack/webpack-sources#28
The babel-minify-webpack-plugin was giving me a strange error when building. The Webpack builtin production minifier f does not seem have this issue. webpack/webpack-sources#28
The babel-minify-webpack-plugin was giving me a strange error when building. The Webpack builtin production minifier f does not seem have this issue. webpack/webpack-sources#28
The babel-minify-webpack-plugin was giving me a strange error when building. The Webpack builtin production minifier f does not seem have this issue. webpack/webpack-sources#28
Disable source-map for production as babel-minify-webpack-plugin fails otherwise.
@anthonator
|
workaround from webpack/webpack-sources#28
workaround from webpack/webpack-sources#28
Fixes webpack build: webpack/webpack-sources#28
Seems to be an issue with webpack-contrib/babel-minify-webpack-plugin#68 but not sure if it is originated in this project or babel-minify |
The babel-minify-webpack-plugin was giving me a strange error when building. The Webpack builtin production minifier f does not seem have this issue. webpack/webpack-sources#28
We use latest |
* made changes for travis to run buil on windows * made changes for travis to run build on windows * made changes for travis to run build on windows * made changes for travis to run build on windows * made changes for travis to run build on windows * made changes for travis to run build on windows * made changes for travis to run build on windows * made changes for travis to run build on windows * made changes for travis to run build on windows * made changes for travis to run build on windows * made changes for travis to run build on windows * changes in package.json * changes in package.json * changes in package.json * Applying a workaround using electron-userland/electron-webpack-quick-start#14 * Changing webpack version to 4.x, with reference to webpack/webpack-sources#28
* made changes for travis to run buil on windows * made changes for travis to run build on windows * made changes for travis to run build on windows * made changes for travis to run build on windows * made changes for travis to run build on windows * made changes for travis to run build on windows * made changes for travis to run build on windows * made changes for travis to run build on windows * made changes for travis to run build on windows * made changes for travis to run build on windows * made changes for travis to run build on windows * changes in package.json * changes in package.json * changes in package.json * Applying a workaround using electron-userland/electron-webpack-quick-start#14 * Changing webpack version to 4.x, with reference to webpack/webpack-sources#28
This update seems to create another issue (this is also reported here):
Reverting to v1.0.1 resolves this issue.
The text was updated successfully, but these errors were encountered: