All Questions
Tagged with laravel-elixir node.js
43 questions
2
votes
0
answers
477
views
unable to install laravel-elixir due to node-sass
Here the log error
npm ERR! code 1
npm ERR! path C:\Users\radho\AppData\Roaming\npm\node_modules\laravel-elixir\node_modules\node-sass
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd....
3
votes
0
answers
648
views
laravel-elixir is not installing in windows 10
Update:
Please follow up the errors I was facing. If it matches with anyone exactly than I think you can resolve this using the methodes I followed. Please check the Solution part at the end.
Problem:
...
0
votes
1
answer
669
views
NPM install Gulp/Elixir
I'm following a course online and have downloaded Node and NPM.
I have done a package.json file and are have some problems with
the installation.
I really don't understand the error message. I had ...
1
vote
0
answers
282
views
NPM works differently on the SAME docker image
I can't get assets compilation work on a dev's machine. Here's some specs:
1 Laravel 5.3
2 package.json:
{
"private": true,
"scripts": {
"prod": "gulp --production",
"dev": "gulp watch",...
1
vote
2
answers
1k
views
Can't install laravel-elixir because of node-sass failure
I am pretty new to this environment still and am trying to get up to speed on node.js modules and Laravel (5.1.11) as a whole, so...
I have a fresh install of Laravel implemented by the cPanel ...
1
vote
1
answer
739
views
Critical css with Laravel elixir
I´m using the gulp package critical css, previosly I install this package with:
npm install --save critical
But after run gulp --production, the npm report me this error:
mix.critical is not a ...
0
votes
1
answer
158
views
Laravel 5.4 and elixir errors
I want to simple adding new css tags into an imported scss file like:
@import "general/global"
with the content
body {
background-color: #999;
}
It compiles with elixir (npm run dev and ...
1
vote
1
answer
566
views
Error while compiling with gulp
I am using both Laravel Elixr and Laravel mix as shown bellow and compiling scss files
OS = Windows 10
node -v = v6.11.0
npm --v = 5.0.3
+-- [email protected]
| `-- [email protected]
| `-- ...
1
vote
1
answer
5k
views
Cannot find module 'gulp-util'
I have some trouble with gulp. I use laravel/elixir which has gulp as its dependency. I did the steps like here Can't get Gulp to run: cannot find module 'gulp-util' but still no success. ...
23
votes
1
answer
34k
views
Combining Multiple Files with Laravel Mix
I am currently in the process of diving into Laravel Mix and so far, whilst I fully understand what Laravel Mix is and how it works, I am trying to understand a little more about the common practices ...
4
votes
1
answer
909
views
Dependencies were not found when using Firebase-admin in laravel
I'm running:
Laravel Mix Version: 0.8.8
Node Version (7.5.0):
NPM Version (4.1.2):
I'm trying to use Firebase-admin using npm install --save firebase-admin in my Laravel 5.4 project
When I do ...
0
votes
1
answer
308
views
Laravel Elixir + Webpack: Custom output filename?
I'm using Laravel Elixir and trying to dump Webpack output to a custom-named file. My Gulpfile has the following lines:
mix.webpack(
'./assets/js',
'dist/assets/js/custom.js'
);
Surprisingly,...
3
votes
5
answers
16k
views
Global variable not working in NodeJS
I am trying to get global variables working in node.js, but it seems like I don't really understand the concept, even though my understanding matches the documentation.
Minimal example
My main.js ...
0
votes
0
answers
298
views
Can't install laravel-elixir-webpack-official
Today I just wanted to install all dev dependencies on Laravel 5.2 using package.json from Laravel 5.3 but proces stucks on installing laravel-elixir-webpack-official
Here's my npm-debug.log:
http://...
0
votes
0
answers
206
views
htmlmin on liquid templates error
I am creating my own Shopify Theme in the liquid templates. I installed laravel-elixir and gulp to help combine my css and js as well as minify my html. When running gulp I get an error that says:
...