ambassify / react-avatar

Universal avatar makes it possible to fetch/generate an avatar based on the information you have about that user.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Avatar doesn't let me use `core-js 3.4.4`

goxr3plus opened this issue · comments

Hello :) I found this amazing library today by the way.

I see in your package json you have corejs-2.5.7 . In our new project we are using latest Babel7 and corejs3.4.4 and we are getting the below errors :

ERROR in ./node_modules/react-avatar/es/utils.js
Module not found: Error: Can't resolve 'core-js/modules/es7.symbol.async-iterator' in 'C:\Atlassian\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/utils.js 7:0-51
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/utils.js
Module not found: Error: Can't resolve 'core-js/modules/web.dom.iterable' in 'C:\Atlassian\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/utils.js 9:0-42
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/avatar.js
Module not found: Error: Can't resolve 'core-js/modules/web.dom.iterable' in 'C:\Atlassian\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/avatar.js 6:0-42
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/context.js
Module not found: Error: Can't resolve 'core-js/modules/web.dom.iterable' in 'C:\Atlassian\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/context.js 5:0-42
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

Can you please update corejs to version 3 or give us a workaround :) . Thank you @JorgenEvens

Hi @goxr3plus,

Would you be able to build a minimal reproduction? I'm going to investigate whether we can simply upgrade our core-js version, but this should generally not be required as the node module system would/should have installed core-js local to react-avatar on conflict.

In the meantime, could you maybe run npm ls core-js for me to get an idea of your module hierarchy?

Yes i will send you give me some time :)

I had the same issue

npm ls core-js retuned:

└─┬ react-avatar@3.7.0
  └── UNMET DEPENDENCY core-js@^2.5.7

I deleted node_modules and package-lock.json, then ran npm i, now I get:

└─┬ react-avatar@3.7.0
  └── core-js@2.6.11

Hi @mastilver,

Thanks for the update! Did that fix the issue for you?

@JorgenEvens Yep, everything is working fine now, thank you

Great! I'll see if we can't get our libraries up to modern standards, but it's good to have a workaround.

Getting the same thing - I installed core@2 as a dev depedency and that fixed it.

I've updated all react-avatar dependencies, of which core-js was one in release v3.8.0 that has just been published 🎉 !

I am still getting these errors with Babel 6 :) @JorgenEvens

Error messages
ERROR in ./node_modules/react-avatar/es/sources/AvatarRedirect.js
Module not found: Error: Can't resolve 'core-js/modules/es.array.concat' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es\sources'
 @ ./node_modules/react-avatar/es/sources/AvatarRedirect.js 3:0-41
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/sources/Github.js
Module not found: Error: Can't resolve 'core-js/modules/es.array.concat' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es\sources'
 @ ./node_modules/react-avatar/es/sources/Github.js 3:0-41
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/sources/Facebook.js
Module not found: Error: Can't resolve 'core-js/modules/es.array.concat' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es\sources'
 @ ./node_modules/react-avatar/es/sources/Facebook.js 3:0-41
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/sources/Gravatar.js
Module not found: Error: Can't resolve 'core-js/modules/es.array.concat' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es\sources'
 @ ./node_modules/react-avatar/es/sources/Gravatar.js 3:0-41
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/cache.js
Module not found: Error: Can't resolve 'core-js/modules/es.array.filter' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/cache.js 1:0-41
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/utils.js
Module not found: Error: Can't resolve 'core-js/modules/es.array.filter' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/utils.js 6:0-41
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/avatar.js
Module not found: Error: Can't resolve 'core-js/modules/es.array.filter' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/avatar.js 6:0-41
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/utils.js
Module not found: Error: Can't resolve 'core-js/modules/es.array.for-each' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/utils.js 7:0-43
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/context.js
Module not found: Error: Can't resolve 'core-js/modules/es.array.for-each' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/context.js 4:0-43
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/avatar.js
Module not found: Error: Can't resolve 'core-js/modules/es.array.for-each' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/avatar.js 7:0-43
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/utils.js
Module not found: Error: Can't resolve 'core-js/modules/es.array.from' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/utils.js 8:0-39
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/utils.js
Module not found: Error: Can't resolve 'core-js/modules/es.array.index-of' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/utils.js 9:0-43
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/utils.js
Module not found: Error: Can't resolve 'core-js/modules/es.array.iterator' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/utils.js 10:0-43
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/context.js
Module not found: Error: Can't resolve 'core-js/modules/es.array.iterator' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/context.js 5:0-43
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/avatar.js
Module not found: Error: Can't resolve 'core-js/modules/es.array.iterator' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/avatar.js 8:0-43
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/utils.js
Module not found: Error: Can't resolve 'core-js/modules/es.array.join' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/utils.js 11:0-39
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/avatar.js
Module not found: Error: Can't resolve 'core-js/modules/es.array.join' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/avatar.js 9:0-39
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/utils.js
Module not found: Error: Can't resolve 'core-js/modules/es.array.map' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/utils.js 12:0-38
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/avatar.js
Module not found: Error: Can't resolve 'core-js/modules/es.array.reduce' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/avatar.js 10:0-41
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/utils.js
Module not found: Error: Can't resolve 'core-js/modules/es.array.reduce' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/utils.js 13:0-41
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/cache.js
Module not found: Error: Can't resolve 'core-js/modules/es.array.slice' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/cache.js 2:0-40
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/utils.js
Module not found: Error: Can't resolve 'core-js/modules/es.array.slice' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/utils.js 14:0-40
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/cache.js
Module not found: Error: Can't resolve 'core-js/modules/es.array.some' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/cache.js 3:0-39
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/cache.js
Module not found: Error: Can't resolve 'core-js/modules/es.date.to-string' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/cache.js 4:0-43
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/utils.js
Module not found: Error: Can't resolve 'core-js/modules/es.date.to-string' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/utils.js 15:0-43
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/avatar.js
Module not found: Error: Can't resolve 'core-js/modules/es.function.name' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/avatar.js 11:0-42
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/sources/Value.js
Module not found: Error: Can't resolve 'core-js/modules/es.function.name' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es\sources'
 @ ./node_modules/react-avatar/es/sources/Value.js 3:0-42
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/avatar.js
Module not found: Error: Can't resolve 'core-js/modules/es.object.assign' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/avatar.js 12:0-42
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/context.js
Module not found: Error: Can't resolve 'core-js/modules/es.object.assign' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/context.js 6:0-42
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/avatar.js
Module not found: Error: Can't resolve 'core-js/modules/es.object.define-properties' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/avatar.js 13:0-53
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/avatar.js
Module not found: Error: Can't resolve 'core-js/modules/es.object.define-property' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/avatar.js 14:0-51
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/internal-state.js
Module not found: Error: Can't resolve 'core-js/modules/es.object.define-property' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/internal-state.js 1:0-51
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/cache.js
Module not found: Error: Can't resolve 'core-js/modules/es.object.define-property' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/cache.js 5:0-51
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/context.js
Module not found: Error: Can't resolve 'core-js/modules/es.object.define-property' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/context.js 7:0-51
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/sources/AvatarRedirect.js
Module not found: Error: Can't resolve 'core-js/modules/es.object.define-property' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es\sources'
 @ ./node_modules/react-avatar/es/sources/AvatarRedirect.js 4:0-51
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/sources/Icon.js
Module not found: Error: Can't resolve 'core-js/modules/es.object.define-property' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es\sources'
 @ ./node_modules/react-avatar/es/sources/Icon.js 3:0-51
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/sources/Src.js
Module not found: Error: Can't resolve 'core-js/modules/es.object.define-property' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es\sources'
 @ ./node_modules/react-avatar/es/sources/Src.js 3:0-51
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/sources/Value.js
Module not found: Error: Can't resolve 'core-js/modules/es.object.define-property' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es\sources'
 @ ./node_modules/react-avatar/es/sources/Value.js 4:0-51
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/sources/Skype.js
Module not found: Error: Can't resolve 'core-js/modules/es.object.define-property' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es\sources'
 @ ./node_modules/react-avatar/es/sources/Skype.js 3:0-51
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/sources/Github.js
Module not found: Error: Can't resolve 'core-js/modules/es.object.define-property' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es\sources'
 @ ./node_modules/react-avatar/es/sources/Github.js 4:0-51
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/sources/Facebook.js
Module not found: Error: Can't resolve 'core-js/modules/es.object.define-property' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es\sources'
 @ ./node_modules/react-avatar/es/sources/Facebook.js 4:0-51
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/sources/Gravatar.js
Module not found: Error: Can't resolve 'core-js/modules/es.object.define-property' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es\sources'
 @ ./node_modules/react-avatar/es/sources/Gravatar.js 4:0-51
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/avatar.js
Module not found: Error: Can't resolve 'core-js/modules/es.object.get-own-property-descriptor' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/avatar.js 15:0-63
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/avatar.js
Module not found: Error: Can't resolve 'core-js/modules/es.object.get-own-property-descriptors' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/avatar.js 16:0-64
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/avatar.js
Module not found: Error: Can't resolve 'core-js/modules/es.object.get-prototype-of' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/avatar.js 17:0-52
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/context.js
Module not found: Error: Can't resolve 'core-js/modules/es.object.get-prototype-of' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/context.js 8:0-52
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/avatar.js
Module not found: Error: Can't resolve 'core-js/modules/es.object.keys' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/avatar.js 18:0-40
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/context.js
Module not found: Error: Can't resolve 'core-js/modules/es.object.keys' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/context.js 9:0-40
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/avatar.js
Module not found: Error: Can't resolve 'core-js/modules/es.object.set-prototype-of' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/avatar.js 19:0-52
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/context.js
Module not found: Error: Can't resolve 'core-js/modules/es.object.set-prototype-of' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/context.js 10:0-52
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/avatar.js
Module not found: Error: Can't resolve 'core-js/modules/es.object.to-string' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/avatar.js 20:0-45
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/utils.js
Module not found: Error: Can't resolve 'core-js/modules/es.object.to-string' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/utils.js 16:0-45
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/context.js
Module not found: Error: Can't resolve 'core-js/modules/es.object.to-string' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/context.js 11:0-45
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/utils.js
Module not found: Error: Can't resolve 'core-js/modules/es.parse-float' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/utils.js 17:0-40
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/avatar.js
Module not found: Error: Can't resolve 'core-js/modules/es.regexp.exec' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/avatar.js 21:0-40
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/utils.js
Module not found: Error: Can't resolve 'core-js/modules/es.regexp.exec' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/utils.js 18:0-40
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/sources/AvatarRedirect.js
Module not found: Error: Can't resolve 'core-js/modules/es.regexp.exec' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es\sources'
 @ ./node_modules/react-avatar/es/sources/AvatarRedirect.js 5:0-40
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/utils.js
Module not found: Error: Can't resolve 'core-js/modules/es.regexp.to-string' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/utils.js 19:0-45
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/avatar.js
Module not found: Error: Can't resolve 'core-js/modules/es.string.iterator' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/avatar.js 22:0-44
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/utils.js
Module not found: Error: Can't resolve 'core-js/modules/es.string.iterator' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/utils.js 20:0-44
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/context.js
Module not found: Error: Can't resolve 'core-js/modules/es.string.iterator' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/context.js 12:0-44
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/avatar.js
Module not found: Error: Can't resolve 'core-js/modules/es.string.replace' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/avatar.js 23:0-43
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/sources/AvatarRedirect.js
Module not found: Error: Can't resolve 'core-js/modules/es.string.replace' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es\sources'
 @ ./node_modules/react-avatar/es/sources/AvatarRedirect.js 6:0-43
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/utils.js
Module not found: Error: Can't resolve 'core-js/modules/es.string.split' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/utils.js 21:0-41
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/avatar.js
Module not found: Error: Can't resolve 'core-js/modules/es.symbol' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/avatar.js 3:0-35
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/context.js
Module not found: Error: Can't resolve 'core-js/modules/es.symbol' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/context.js 1:0-35
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/utils.js
Module not found: Error: Can't resolve 'core-js/modules/es.symbol' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/utils.js 3:0-35
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/utils.js
Module not found: Error: Can't resolve 'core-js/modules/es.symbol.description' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/utils.js 4:0-47
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/context.js
Module not found: Error: Can't resolve 'core-js/modules/es.symbol.description' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/context.js 2:0-47
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/avatar.js
Module not found: Error: Can't resolve 'core-js/modules/es.symbol.description' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/avatar.js 4:0-47
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/utils.js
Module not found: Error: Can't resolve 'core-js/modules/es.symbol.iterator' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/utils.js 5:0-44
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/context.js
Module not found: Error: Can't resolve 'core-js/modules/es.symbol.iterator' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/context.js 3:0-44
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/avatar.js
Module not found: Error: Can't resolve 'core-js/modules/es.symbol.iterator' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/avatar.js 5:0-44
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/avatar.js
Module not found: Error: Can't resolve 'core-js/modules/web.dom-collections.for-each' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/avatar.js 24:0-54
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/utils.js
Module not found: Error: Can't resolve 'core-js/modules/web.dom-collections.for-each' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/utils.js 22:0-54
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/context.js
Module not found: Error: Can't resolve 'core-js/modules/web.dom-collections.for-each' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/context.js 13:0-54
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/avatar.js
Module not found: Error: Can't resolve 'core-js/modules/web.dom-collections.iterator' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/avatar.js 25:0-54
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/utils.js
Module not found: Error: Can't resolve 'core-js/modules/web.dom-collections.iterator' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/utils.js 23:0-54
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

ERROR in ./node_modules/react-avatar/es/context.js
Module not found: Error: Can't resolve 'core-js/modules/web.dom-collections.iterator' in 'C:\Stash_Intralot\retailer_portal\node_modules\react-avatar\es'
 @ ./node_modules/react-avatar/es/context.js 14:0-54
 @ ./node_modules/react-avatar/es/avatar.js
 @ ./node_modules/react-avatar/es/index.js
 @ ./src/client/components/AvatarControl/index.jsx
 @ ./src/client/components/index.js
 @ ./src/client/routes.jsx
 @ ./src/client/index.jsx
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/client/index.jsx

Also i run npm ls core-js and getting the below :) @JorgenEvens

+-- babel-polyfill@6.26.0
| `-- core-js@2.6.11 
+-- babel-register@6.26.0
| `-- core-js@2.6.11  deduped
+-- babel-runtime@6.26.0
| `-- core-js@2.6.11  deduped
+-- react-avatar@3.9.1
| `-- core-js@3.6.4
+-- react-bootstrap@0.33.1
| `-- @babel/runtime-corejs2@7.8.4
|   `-- core-js@2.6.11  deduped
+-- react-datetime@2.16.3
| `-- create-react-class@15.6.3
|   `-- fbjs@0.8.17
|     `-- core-js@1.2.7
`-- react-tag-input@6.4.2
  `-- core-js@2.6.11  deduped

Hi @goxr3plus,

Did your application start out as a gatsby app by any chance? Your issue seems very similar to that reported by some users using gatsby, in which case it was an issue with the webpack-config that was being used.

As you can see here, the version of core-js that is being installed by react-avatar does in fact include the files your build is reporting missing. I'm guessing this is going to come down to a webpack configuration issue and would need more info to help you solve this.

Would you be able to share your webpack config here?

@JorgenEvens :) Sharing:

1)Did your application start out as a gatsby app by any chance? Your issue seems very similar to that reported by some users using gatsby, in which case it was an issue with the webpack-config that was being used.

NOPE

2)Would you be able to share your webpack config here?

Webpack config
const webpack = require('webpack')
const path = require('path')
const autoprefixer = require('autoprefixer')
const { CleanWebpackPlugin } = require('clean-webpack-plugin')
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin

const nodeEnv = process.env.NODE_ENV || 'development'
const isProduction = nodeEnv === 'production'
const sourcePath = path.join(__dirname, './src/client')
const buildPath = path.join(__dirname, './src/server/public')

const devServerPort = 3000
const publicServePath = isProduction ? '/public/' : `http://localhost:${devServerPort}/public/`

const plugins = [
	new webpack.LoaderOptionsPlugin({
		options: {
			postcss: [
				autoprefixer({
					// browsers: ['last 3 version', 'ie >= 10']
				})
			],
			context: sourcePath
		}
	}),
	new webpack.NamedModulesPlugin(),
	new webpack.HotModuleReplacementPlugin(),
	new CleanWebpackPlugin(),
	new BundleAnalyzerPlugin()
]

// Common rules
const rules = [
	{
		test: /\.(js|jsx)$/,
		use: {
			loader: 'babel-loader',
			options: {
				presets: ['react', ['env', { targets: { browsers: ['last 2 versions'] } }]],
				plugins: [
					'transform-object-rest-spread',
					'transform-class-properties',
					'syntax-decorators',
					'transform-decorators-legacy'
				]
			}
		},
		exclude: /node_modules/
	},
	{
		test: /\.(ttf|otf|eot|svg|woff(2)?)(\?[a-z0-9]+)?$/,
		loader: 'url-loader?name=media/fonts/[name].[ext]'
	},
	{
		test: /\.(png|jpe?g|gif|ico)$/,
		loader: 'url-loader?name=assets/[name].[ext]'
	},
	{
		test: /\.(scss|css)$/,
		use: [
			{ loader: 'style-loader' },
			{ loader: 'css-loader', options: { sourceMap: true } },
			{ loader: 'sass-loader', options: { sourceMap: true } }
		]
	}
]

module.exports = {
	mode: 'development',
	devtool: 'cheap-module-eval-source-map',
	target: 'web',
	entry: {
		bundle: [
			`webpack-dev-server/client?http://localhost:${devServerPort}`,
			'webpack/hot/dev-server',
			path.resolve(__dirname, 'src/client/index.jsx')
		]
	},
	output: {
		path: buildPath,
		filename: '[name].js',
		publicPath: publicServePath
	},
	optimization: {
		runtimeChunk: true,
		splitChunks: {
			cacheGroups: {
				vendor: {
					test: /[\\/]node_modules[\\/]/,
					chunks: 'initial',
					name: 'vendor',
					priority: 10,
					enforce: true
				}
			}
		}
	},
	resolve: {
		alias: {
			'react-dom': '@hot-loader/react-dom',
			t: path.resolve(__dirname, 'src/client/lib/translations.js')
		},
		extensions: ['.webpack-loader.js', '.web-loader.js', '.loader.js', '.js', '.jsx'],
		modules: [path.resolve(__dirname, 'node_modules'), sourcePath]
	},
	plugins,
	module: {
		rules
	},

	devServer: {
		contentBase: isProduction ? buildPath : sourcePath,
		historyApiFallback: true,
		port: devServerPort,
		compress: isProduction,
		inline: false,
		hot: true,
		host: '0.0.0.0',
		disableHostCheck: true,
		headers: { 'Access-Control-Allow-Origin': '*' },
		stats: {
			colors: true,
			assets: true,
			version: false,
			hash: false,
			timings: true,
			chunks: false,
			chunkModules: false
		}
	}
}

Also here is babel config :

Babel config
{
	"plugins": [
		"syntax-decorators",
		"transform-decorators-legacy",
		"transform-object-rest-spread",
		"syntax-dynamic-import",
		[
			"transform-runtime",
			{
				"polyfill": false,
				"regenerator": true
			}
		],
		["react-hot-loader/babel"]
	],
	"presets": [
		[
			"env", 
			{
				"targets": {
					"node": "current"
				}
			}
		],
		"react"
	],
	"env": {
		"test": {
			"plugins": ["istanbul"]
		}
	}
}

It would seem like you have hardcoded your node_modules path with an absolute path in resolve.modules which would prevent webpack from resolving dependencies the common-js standard way.

Webpack documentation explains that you will now only resolve any module found in your root node_modules directory, which in turn contains core-js@2, not the expected core-js@3 that is installed with react-avatar.

A relative path will be scanned similarly to how Node scans for node_modules, by looking through the current directory as well as its ancestors (i.e. ./node_modules, ../node_modules, and on).

With an absolute path, it will only search in the given directory.

Could you swap out the line

modules: [path.resolve(__dirname, 'node_modules'), sourcePath]

for

modules: ['node_modules', sourcePath]

@JorgenEvens It worked wow , i am trying to understand your solution :)

hmm, i'm running into this same problem. I do have an relative path reference in my tsconfig but nothing out of the ordinary?

Did something change in a more recent release?

Failed to compile

./node_modules/react-avatar/es/avatar.js:4:0
Module not found: Can't resolve 'core-js-pure/stable/object/assign.js'

Import trace for requested module:
./node_modules/react-avatar/es/index.js
./components/PrivateHeader.tsx
./components/layout.tsx
./pages/index.tsx

https://nextjs.org/docs/messages/module-not-found

This error occurred during the build process and can only be dismissed by fixing the error.
{
  "compilerOptions": {
    "lib": ["dom", "dom.iterable", "esnext"],
    "module": "esnext",
    "moduleResolution": "node",
    "resolveJsonModule": true,
    "removeComments": true,
    "preserveConstEnums": true,
    "strict": true,
    "alwaysStrict": true,
    "strictNullChecks": true,
    "noUncheckedIndexedAccess": true,

    "noImplicitAny": true,
    "noImplicitReturns": true,
    "noImplicitThis": true,
    "noUnusedLocals": true,
    "noUnusedParameters": true,
    "allowUnreachableCode": false,
    "noFallthroughCasesInSwitch": true,

    "target": "es5",
    "outDir": "out",
    "declaration": true,
    "sourceMap": true,

    "esModuleInterop": true,
    "allowSyntheticDefaultImports": true,
    "allowJs": false,
    "skipLibCheck": true,
    "forceConsistentCasingInFileNames": true,

    "jsx": "preserve",
    "noEmit": true,
    "isolatedModules": true,
    "incremental": true,

    "baseUrl": ".",
    "paths": {
      "@/*": ["./src/*"],
      "@/public/*": ["./public/*"]
    }
  },
  "exclude": ["./out/**/*", "./node_modules/**/*", "**/*.cy.ts"],
  "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"]
}

Same for me, having the issue using vite as build tool.
Okay, just noticed that core-js-pure is a peer dependency, installing it resolves the issue @pdevito3