-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Module Parse Failed #106
Comments
This error does not apply to this package, it is related to the webpack. Apparently you do not have a webpack loader for Maybe this will help you: https://webpack.js.org/loaders/babel-loader/ Maybe you have |
I am using Laravel's standard loader. I think it has already babel. Need to check what's wrong. |
@gelinger777 Interesting. It seems not only you have such a problem: iliyaZelenko/tiptap-vuetify-nuxt#3 (comment). Maybe my answer will be useful to you. |
Here is my package.json. I will check the link. Thank you. |
I wonder what version of Node.js you have installed? Laravel-mix requires Sorry again for the inconvenience. You have an unusual problem. |
@iliyaZelenko thank you, I will try to figure out on my own. I think the problem could be the NVM not NPM . Closing for now. |
@gelinger777 Did you figure it out? |
I was (am) struggling with this exact error message. I have a SPA within my laravel project and I'm therefore using laravel mix (version 2.1.14) to compile my assets. The error disappears with version 5 of laravel mix, but there's some issues with dynamic imports rendering the final .css files empty. According to Jeffrey this will get fixed once webpack 5 is released. My workaround so far:
To use the fix:
My full package.json
|
@fredekiel my problem was that I had installed NVM. SO I had to make
|
Any ideas why this error happens?
ERROR in ./node_modules/tiptap-vuetify/dist/bundle-esm.js Module parse failed: Unexpected token (4925:17) You may need an appropriate loader to handle this file type. | render(h, context) { | const data = { | props: { ...context.props, | name | }, @ ./resources/js/app.js 50:0-53 @ multi ./resources/js/app.js ./resources/sass/app.scss ./resources/sass/app-rtl.scss
The text was updated successfully, but these errors were encountered: