Module not found: Error: Can't resolve 'core-js/es6'

后端 未结 9 1399
轻奢々
轻奢々 2020-12-12 14:49

I\'ve got a problem with my build process in relation to my React app.

I always get the following error:

Module not found: Error: Can\'t resolve \'co

9条回答
  •  孤街浪徒
    2020-12-12 15:15

    After Migrated to Angular8, core-js/es6 or core-js/es7 Will not work.

    You have to simply replace import core-js/es/

    For ex.

    import 'core-js/es6/symbol'  
    

    to

    import 'core-js/es/symbol'
    

    This will work properly.

提交回复
热议问题