ctf0 / Laravel-Media-Manager

A "Vuejs & Laravel" Media Manager With Tons of Features
MIT License
829 stars 179 forks source link

Uncaught TypeError: Cannot assign to read only property 'exports' of object '#<Object>' #16

Closed vhchung closed 6 years ago

vhchung commented 6 years ago

When I open localhost:8000/media. I got this error

Uncaught TypeError: Cannot assign to read only property 'exports' of object '#<Object>'

The error occurred at this line

module.exports = new Vuemit()

How can I fix this error?

ctf0 commented 6 years ago

can u show me the full console error ? maybe a screenshot ?

vhchung commented 6 years ago

My screenshot:

mediamanager_error

Hope this can help you figure out the error.

ctf0 commented 6 years ago

this is the first time to see this issue but try this if still getting issue , then also try installing babel-plugin-transform-runtime

vuemit comes already pre-installed with the presets, so just follow the configuration from the article

also try with google as its a general webpack problem

vhchung commented 6 years ago

Your link help me to fix this issue. Thank you very much