muenzpraeger / sfdx-lwc-preact-svelte-vue-example

30 stars 12 forks source link

Vue example doesn't work #4

Open shestpa opened 1 year ago

shestpa commented 1 year ago

Good afternoon! Colleagues, seems like a component using Vue is not working: Screenshot 2023-03-28 at 16 22 21 Screenshot 2023-03-28 at 16 22 27

Stack trace: TypeError: Cannot read properties of undefined (reading 'id') at bn.cleanupDeps (eval at <anonymous> (eval at Ty (https://static.lightning.force.com/na212/auraFW/javascript/f-ORwbkOzgxJoD8-NarJXg/aura_prod.js:55:71352)), <anonymous>:6:26975) at bn.get (eval at <anonymous> (eval at Ty (https://static.lightning.force.com/na212/auraFW/javascript/f-ORwbkOzgxJoD8-NarJXg/aura_prod.js:55:71352)), <anonymous>:6:26686) at new bn (eval at <anonymous> (eval at Ty (https://static.lightning.force.com/na212/auraFW/javascript/f-ORwbkOzgxJoD8-NarJXg/aura_prod.js:55:71352)), <anonymous>:6:26477) at t (eval at <anonymous> (eval at Ty (https://static.lightning.force.com/na212/auraFW/javascript/f-ORwbkOzgxJoD8-NarJXg/aura_prod.js:55:71352)), <anonymous>:6:64313) at In.$mount (eval at <anonymous> (eval at Ty (https://static.lightning.force.com/na212/auraFW/javascript/f-ORwbkOzgxJoD8-NarJXg/aura_prod.js:55:71352)), <anonymous>:6:64460) at t._init (eval at <anonymous> (eval at Ty (https://static.lightning.force.com/na212/auraFW/javascript/f-ORwbkOzgxJoD8-NarJXg/aura_prod.js:55:71352)), <anonymous>:6:32807) at new In (eval at <anonymous> (eval at Ty (https://static.lightning.force.com/na212/auraFW/javascript/f-ORwbkOzgxJoD8-NarJXg/aura_prod.js:55:71352)), <anonymous>:6:30137) at Array.Go (eval at <anonymous> (eval at Ty (https://static.lightning.force.com/na212/auraFW/javascript/f-ORwbkOzgxJoD8-NarJXg/aura_prod.js:55:71352)), <anonymous>:6:69383) at Proxy.renderedCallback (eval at <anonymous> (eval at Ty (https://static.lightning.force.com/na212/auraFW/javascript/f-ORwbkOzgxJoD8-NarJXg/aura_prod.js:55:71352)), <anonymous>:1:508) at eval (eval at Ty (https://static.lightning.force.com/na212/auraFW/javascript/f-ORwbkOzgxJoD8-NarJXg/aura_prod.js:55:71352), <anonymous>:3:25279)

What could be the problem here?

shestpa commented 1 year ago

A small clarification - local preview works well: Screenshot 2023-03-28 at 16 25 51

muenzpraeger commented 1 year ago

@shestpa The repo is pretty old, so there may be differences (i. e. Lightning Web Security), which causes this.

krishnareddySalesforce commented 1 year ago
          LWC1503: Usage of `process` is not allowed (6:3993)            
          LWC1503: Usage of `process.env.VUE_ENV` is not allowed (6:4020)