-
Notifications
You must be signed in to change notification settings - Fork 132
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
Error: Cannot find module 'babel-preset-env' #362
Comments
Very strange. We don't use babel env for our packages. @klodoma can you provide us with a reproducible test case? I don't think this something caused by |
After digging deep enough, I found out the following: Our const mix = require('laravel-mix');
require('laravel-mix-transpile-node-modules');
const tailwindcss = require('tailwindcss');
mix.js('resources/js/app.js', 'public/js')
.transpileNodeModules()
.vue()
.sass('resources/sass/app.scss', 'public/css')
.options({
processCssUrls: false,
postCss: [tailwindcss('./tailwind.config.js')],
})
.browserSync({
proxy: 'http://127.0.0.1:3621/',
open: false,
port: 3600,
ui: {
port: 3601,
},
})
.disableSuccessNotifications()
.version(); Disabling As I see it now it's either Please leave this open, I'll try to provide a repo to reproduce it... |
Hey @klodoma --- You still having issues with this ? |
@klodoma --- Going to go ahead and close this issue ... if you get us a reproducible repo we can re-open. |
Describe the bug
I have a laravel application with vuejs.
I tried to install vuejs fontawesome but I don't get it working:
I've added this in app.js:
npm run dev
fails:Reproducible test case
It's in the description
Expected behavior
Build succeeds.
Desktop (please complete the following information):
Additional context
A very strange thing is that his happens on all linux machines I've tried(dev, pipeline).
On a windows machine it seems to work.
I tried installing all required packages that build says it's missing:
babel-preset-env
still without success.Any ideas?
The text was updated successfully, but these errors were encountered: