Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Updating from 4.x to 5.x version causes error connected with @vue\component-compiler-utils #306

Open
poradz opened this issue Nov 4, 2019 · 0 comments
Milestone

Comments

@poradz
Copy link

poradz commented Nov 4, 2019

Version

5.0.0

Reproduction link

https://github.com/YetiForceCompany/YetiForceCRM/tree/developer/public_html/src

Steps to reproduce

What is expected?

No errors

What is actually happening?

after updating to 5.x version I experience an error:

$ cross-env NODE_ENV=production node rollup.js
node_modules\@vue\component-compiler-utils\dist\parse.js:5
const cache = require('lru-cache')(100);

TypeError: Class constructor LRUCache cannot be invoked without 'new'
    at Object.<anonymous> (c:\www\YetiForceCRM\public_html\src\node_modules\@vue\component-compiler-utils\dist\parse.js:5:35)
    at Module._compile (internal/modules/cjs/loader.js:971:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1011:10)
    at Module.load (internal/modules/cjs/loader.js:822:32)
    at Function.Module._load (internal/modules/cjs/loader.js:730:14)
    at Module.require (internal/modules/cjs/loader.js:864:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (c:\www\YetiForceCRM\public_html\src\node_modules\@vue\component-compiler-utils\dist\index.js:3:17)
    at Module._compile (internal/modules/cjs/loader.js:971:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1011:10)
@znck znck added this to the Zero Issues milestone Oct 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants