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

webpack 4 e.search error #61

Closed
anjapadu opened this issue Apr 4, 2018 · 2 comments
Closed

webpack 4 e.search error #61

anjapadu opened this issue Apr 4, 2018 · 2 comments

Comments

@anjapadu
Copy link

anjapadu commented Apr 4, 2018

I recently migrated to web pack 4 and found this error:

[Error] TypeError: value.search is not a function. (In 'value.search(pattern)', 'value.search' is undefined)
	hasHtmlTags (utils.js:31)
	getLocalizedElement (utils.js:26)
	render (index.jsx:151)
	finishClassComponent (react-dom.development.js:7873)
	performUnitOfWork (react-dom.development.js:10224)
	workLoop (react-dom.development.js:10288)
	callCallback (react-dom.development.js:542)
	dispatchEvent
	invokeGuardedCallbackDev (react-dom.development.js:581)
	invokeGuardedCallback (react-dom.development.js:438)
	renderRoot (react-dom.development.js:10366)
	performWorkOnRoot (react-dom.development.js:11014)
	performWork (react-dom.development.js:10967)
	requestWork (react-dom.development.js:10878)
	scheduleWorkImpl (react-dom.development.js:10732)
	enqueueSetState (react-dom.development.js:6212)
	setState (react.development.js:237)
	onStateChange (connectAdvanced.js:215)
	onStateChange
	dispatch (createStore.js:178)
	(función anónima) (App.js:128)
	promiseReactionJob

This is the only library that presents this error its something bad or could be a web pack bug?

@ryandrewjohnson
Copy link
Owner

To confirm this is build error and not a runtime error?

@ryandrewjohnson
Copy link
Owner

Closing for now as no further information has been provided.

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