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

Error in enhanced-resolve when using vega 3.0.9+ in a webpack-bundled app #1118

Closed
pelotom opened this issue Jan 30, 2018 · 1 comment
Closed

Comments

@pelotom
Copy link
Contributor

pelotom commented Jan 30, 2018

Since upgrading Vega from v3.0.8, I'm now getting this error when I try to bundle my app with Webpack:

node_modules/enhanced-resolve/lib/Resolver.js:181
	var idxQuery = identifier.indexOf("?");
	                          ^

TypeError: Cannot read property 'indexOf' of null
    at Resolver.parse (node_modules/enhanced-resolve/lib/Resolver.js:181:28)
    at Resolver.<anonymous> (node_modules/enhanced-resolve/lib/ParsePlugin.js:14:25)
    at Resolver.applyPluginsAsyncSeriesBailResult1 (node_modules/tapable/lib/Tapable.js:256:13)
    at runNormal (node_modules/enhanced-resolve/lib/Resolver.js:130:20)
    at Resolver.doResolve (node_modules/enhanced-resolve/lib/Resolver.js:116:3)
    at Resolver.<anonymous> (node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js:37:12)
    at Resolver.applyPluginsAsyncSeriesBailResult1 (node_modules/tapable/lib/Tapable.js:256:13)
    at runNormal (node_modules/enhanced-resolve/lib/Resolver.js:130:20)
    at Resolver.doResolve (node_modules/enhanced-resolve/lib/Resolver.js:116:3)
    at Resolver.<anonymous> (node_modules/enhanced-resolve/lib/AliasFieldPlugin.js:44:12)
    at next (node_modules/tapable/lib/Tapable.js:254:14)
    at Resolver.<anonymous> (node_modules/enhanced-resolve/lib/ConcordModulesPlugin.js:23:28)
    at next (node_modules/tapable/lib/Tapable.js:254:14)
    at Resolver.<anonymous> (node_modules/enhanced-resolve/lib/AliasPlugin.js:55:10)
    at Resolver.applyPluginsAsyncSeriesBailResult1 (node_modules/tapable/lib/Tapable.js:256:13)
    at runNormal (node_modules/enhanced-resolve/lib/Resolver.js:130:20)
@pelotom
Copy link
Contributor Author

pelotom commented Jan 30, 2018

Looks like this is a duplicate of vega/vega-canvas#1.

@pelotom pelotom closed this as completed Jan 30, 2018
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

1 participant