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

sourceMap not always available in SourceMapDevToolPlugin #955

Closed
sairion opened this issue Apr 8, 2015 · 1 comment
Closed

sourceMap not always available in SourceMapDevToolPlugin #955

sairion opened this issue Apr 8, 2015 · 1 comment

Comments

@sairion
Copy link

sairion commented Apr 8, 2015

I'm not still sure why this is happening (investigating, not reproducible in local env), but reporting:

TypeError: Cannot read property 'sources' of null
    at Tapable.<anonymous> (/some/path/node_modules/webpack/lib/SourceMapDevToolPlugin.js:63:19)
    at Array.map (native)
    at Tapable.<anonymous> (/some/path/node_modules/webpack/lib/SourceMapDevToolPlugin.js:44:84)
    at Array.forEach (native)
    at Tapable.<anonymous> (/some/path/node_modules/webpack/lib/SourceMapDevToolPlugin.js:43:11)
    at Tapable.applyPlugins (/some/path/node_modules/webpack/node_modules/tapable/lib/Tapable.js:26:37)
    at Tapable.<anonymous> (/some/path/node_modules/webpack/lib/Compilation.js:543:10)
    at Tapable.next (/some/path/node_modules/webpack/node_modules/tapable/lib/Tapable.js:69:11)
    at Tapable.<anonymous> (/some/path/node_modules/webpack/lib/optimize/UglifyJsPlugin.js:136:4)
    at Tapable.applyPluginsAsync (/some/path/node_modules/webpack/node_modules/tapable/lib/Tapable.js:73:13)

92f5317

Not completely sure yet, but it seems this commit break my company's CI ;) sourceMap isn't always avaiable, maybe. I will try to fix to earlier version (@1.7.3) to dodge the problem and see what's happening in @1.8.0.

@sokra
Copy link
Member

sokra commented Apr 8, 2015

0f3a9cd

@sokra sokra closed this as completed Apr 8, 2015
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