MDB VuePro - build doesn\\\'t work


Topic: MDB VuePro - build doesn\\\'t work

Nommo pro asked 6 years ago

Hey. VuePro npm run build command doesn't work:
 ERROR  Error: CSS minification error: Cannot read property 'length' of undefined. File: css/chunk-vendors.d95c29d2.css

Error: CSS minification error: Cannot read property 'length' of undefined. File: css/chunk-vendors.d95c29d2.css
When I remove
import "mdbvue/build/css/mdb.css";
from main.js everything is working. Regards, Piotr.

Nommo pro commented 6 years ago

Simular mistake with new React version - maybe some problem? https://mdbootstrap.com/support/react/build-in-mdb-pro-react-4-7-1-fails/

Mikołaj Smoleński staff answered 6 years ago

We have fixed this issue in our development branch. Please temporarily download our package like this:
"mdbvue": "git+https://oauth2:YOUR_TOKEN@git.mdbootstrap.com/mdb/vue/vu-pro.git#dev"
We're sorry for this issue, Best regards
Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 4.5.1
  • Device: MacBook
  • Browser: Chrome
  • OS: MacOS
  • Provided sample code: Yes
  • Provided link: No
Tags