Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Cannot read property '__esModule' of undefined #467

Open
2 of 4 tasks
ghost opened this issue May 27, 2021 · 1 comment
Open
2 of 4 tasks

Cannot read property '__esModule' of undefined #467

ghost opened this issue May 27, 2021 · 1 comment
Assignees
Labels
bug Bug reports VSF1 Issues in regards to VSF1

Comments

@ghost
Copy link

ghost commented May 27, 2021

Current behavior

This error only appears in production mode when using it with yarn && yarn build && yarn start

Following is the error shown on pm2 logs,

Cannot read property '__esModule' of undefined
2|server   | 2021-05-27 12:55:36: App HAVE BEEN initialized
2|server   | 2021-05-27 12:55:36: App HAVE BEEN initialized
2|server   | You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection:
2|server   | TypeError: Cannot read property '__esModule' of undefined
2|server   |     at Re (/home/haider/0_TM/1_vsfront/tilemoutain/vuestore/node_modules/vue/dist/vue.runtime.common.prod.js:6:24223)
2|server   |     at /home/haider/0_TM/1_vsfront/tilemoutain/vuestore/node_modules/vue/dist/vue.runtime.common.prod.js:6:21188
2|server   |     at /home/haider/0_TM/1_vsfront/tilemoutain/vuestore/node_modules/vue/dist/vue.runtime.common.prod.js:6:2394
2|server   |     at processTicksAndRejections (internal/process/task_queues.js:94:5)
2|server   | 2021-05-27 12:55:45: cache tags for the request: P5896 product C10110 C5786
2|server   | 2021-05-27 12:55:45: HTML Minifier is enabled
2|server   | 2021-05-27 12:55:46: whole request [/londres-mountain-grey-luxury-click-vinyl-flooring-4mm.html]: 9773ms

image

Expected behavior

It should not be throwing erros in pm2 logs.

image

Steps to reproduce the issue

Run the application in production mode using `yarn && yarn build && yarn start

Version of Vue Storefront

  • Vue Storefront (1.12.2)
  • Vue Storefront Next

Can you handle fixing this bug by yourself?

  • YES
  • NO

Environment details

  • Browser: chrome, 89.0.4389.90 (Official Build) (64-bit)
  • OS: ubuntu 20.04
  • Node: 12.14.1
  • Code Version: 1.12.2
@Fifciu
Copy link

Fifciu commented Jun 21, 2021

Which theme? Have you applied any changes or it is a clear VSF1.12.2?

@Fifciu Fifciu self-assigned this Jun 22, 2021
@bloodf bloodf closed this as completed Aug 20, 2021
@bloodf bloodf transferred this issue from vuestorefront/vue-storefront Aug 23, 2021
@bloodf bloodf added bug Bug reports VSF1 Issues in regards to VSF1 labels Aug 23, 2021
@bloodf bloodf reopened this Aug 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Bug reports VSF1 Issues in regards to VSF1
Projects
None yet
Development

No branches or pull requests

2 participants