Can you give the error as well? There should be more :) Oh and format your code by adding ``` on the line before and after it
npm error: Failed at the @ development script.
I am starting a new Laravel project with Vue and Vue-router and Tailwind (the Laravel, Vue, and SPA videos form Laracasts). However I keep getting the npm error written in the title of this discussion.
My webpack.mix.js:
let mix = require('laravel-mix');
const tailwindcss = require('tailwindcss')
mix.js('resources/js/app.js', 'public/js') .sass('resources/sass/app.scss', 'public/css') .options({ processCssUrls: false, postCss: [tailwindcss('./path/to/your/tailwind.config.js')], });
My app.scss:
@import "tailwindcss/base"; @import "tailwindcss/components"; @import "tailwindcss/utilities";
I tried a method described elsewhere in this form: removing node_modules and install npm again. But that didn't help.
Most likely I am making a stupid beginners error, but I can't find it.
Any suggestions?
Hubert
Please or to participate in this conversation.