Gulp-notify build issue

I have a build issue CSS and js gulp plugins don’t work, and I git this error please help.
[17:54:33] gulp-notify: [Error in notifier] Error in plugin “gulp-notify”
7:54:33 PM: Message:
7:54:33 PM: not found: notify-send
7:54:33 PM: Details:
7:54:33 PM: code: ENOENT

Try adding notify-send to your package.json.

1 Like

try it but, The same error

Then post the full build log.

1 Like
8:26:26 AM: Build ready to start
8:26:28 AM: build-image version: 09c2cdcdf242cf2f57c9ee0fcad9d298fad9ad41
8:26:28 AM: build-image tag: v3.5.0
8:26:28 AM: buildbot version: 5988d267666895e50a3b61cb809f46c82b965ece
8:26:28 AM: Fetching cached dependencies
8:26:28 AM: Starting to download cache of 184.1MB
8:26:29 AM: Finished downloading cache in 1.020537663s
8:26:29 AM: Starting to extract cache
8:26:34 AM: Finished extracting cache in 4.976292257s
8:26:34 AM: Finished fetching cache in 6.10106409s
8:26:34 AM: Starting to prepare the repo for build
8:26:35 AM: Preparing Git Reference refs/heads/master
8:26:37 AM: Different publish path detected, going to use the one specified in the Netlify configuration file: 'dist' versus 'dist/' in the Netlify UI
8:26:37 AM: Starting build script
8:26:37 AM: Installing dependencies
8:26:37 AM: Python version set to 2.7
8:26:38 AM: Started restoring cached node version
8:26:41 AM: Finished restoring cached node version
8:26:42 AM: v12.18.0 is already installed.
8:26:42 AM: Now using node v12.18.0 (npm v6.14.4)
8:26:42 AM: Started restoring cached build plugins
8:26:42 AM: Finished restoring cached build plugins
8:26:43 AM: Attempting ruby version 2.7.1, read from environment
8:26:44 AM: Using ruby version 2.7.1
8:26:44 AM: Using PHP version 5.6
8:26:44 AM: Started restoring cached node modules
8:26:44 AM: Finished restoring cached node modules
8:26:45 AM: Installing NPM modules using NPM version 6.14.4
8:26:49 AM: npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
8:26:51 AM: npm notice created a lockfile as package-lock.json. You should commit this file.
8:26:51 AM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/chokidar/node_modules/fsevents):
8:26:51 AM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
8:26:51 AM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/browser-sync/node_modules/chokidar/node_modules/fsevents):
8:26:51 AM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
8:26:51 AM: npm WARN InteractiveAgency-Bulma-Team-Template@2.0.0 No repository field.
8:26:51 AM: npm WARN InteractiveAgency-Bulma-Team-Template@2.0.0 license should be a valid SPDX license expression
8:26:51 AM: added 1 package from 1 contributor and audited 1057 packages in 5.876s
8:26:52 AM: 52 packages are looking for funding
8:26:52 AM:   run `npm fund` for details
8:26:52 AM: found 0 vulnerabilities
8:26:52 AM: NPM modules installed
8:26:52 AM: Started restoring cached go cache
8:26:52 AM: Finished restoring cached go cache
8:26:52 AM: go version go1.14.4 linux/amd64
8:26:52 AM: go version go1.14.4 linux/amd64
8:26:52 AM: Installing missing commands
8:26:52 AM: Verify run directory
8:26:54 AM: ​
8:26:54 AM: ────────────────────────────────────────────────────────────────
8:26:54 AM:   Netlify Build                                                 
8:26:54 AM: ────────────────────────────────────────────────────────────────
8:26:54 AM: ​
8:26:54 AM: ❯ Version
8:26:54 AM:   @netlify/build 5.5.5
8:26:54 AM: ​
8:26:54 AM: ❯ Flags
8:26:54 AM:   deployId: 5fcdcb124bf039000873a819
8:26:54 AM:   mode: buildbot
8:26:54 AM: ​
8:26:54 AM: ❯ Current directory
8:26:54 AM:   /opt/build/repo
8:26:54 AM: ​
8:26:54 AM: ❯ Config file
8:26:54 AM:   No config file was defined: using default values.
8:26:54 AM: ​
8:26:54 AM: ❯ Context
8:26:54 AM:   production
8:26:54 AM: ​
8:26:54 AM: ────────────────────────────────────────────────────────────────
8:26:54 AM:   1. Build command from Netlify app                             
8:26:54 AM: ────────────────────────────────────────────────────────────────
8:26:54 AM: ​
8:26:54 AM: $ npm run gulp:build
8:26:54 AM: > InteractiveAgency-Bulma-Team-Template@2.0.0 gulp:build /opt/build/repo
8:26:54 AM: > cross-env NODE_ENV=production gulp prod
8:26:56 AM: [06:26:56] Using gulpfile /opt/build/repo/gulpfile.js
8:26:56 AM: [06:26:56] Starting 'prod'...
8:26:56 AM: [06:26:56] Starting 'starterMsg'...
8:26:56 AM: [06:26:56] 🌟 Starting Gulp in [production] mode. 
8:26:56 AM: [06:26:56] Finished 'starterMsg' after 1.4 ms
8:26:56 AM: [06:26:56] Starting 'cleanup'...
8:26:56 AM: [06:26:56] ⚠️  directories that would be deleted:
8:26:56 AM:  ✔️
8:26:56 AM: [06:26:56] Finished 'cleanup' after 11 ms
8:26:56 AM: [06:26:56] Starting 'css'...
8:26:56 AM: [06:26:56] Starting 'js'...
8:26:56 AM: [06:26:56] Starting 'staticFiles'...
8:26:56 AM: [06:26:56] Finished 'css' after 16 ms
8:26:56 AM: [06:26:56] Finished 'js' after 20 ms
8:26:56 AM: [06:26:56] Finished 'staticFiles' after 24 ms
8:26:56 AM: [06:26:56] Starting 'html'...
8:26:56 AM: [06:26:56] Finished 'html' after 8.49 ms
8:26:56 AM: [06:26:56] Finished 'prod' after 48 ms
8:26:56 AM: [06:26:56] gulp-imagemin: Minified 0 images
8:26:56 AM: [06:26:56] gulp-inject Nothing to inject into index.html.
8:26:56 AM: [06:26:56] gulp-notify: [Gulp notification] ✔️  Template files were successfully compiled @ 12/7/2020, 6:26:56 AM
8:26:56 AM: [06:26:56] gulp-notify: [Error in notifier] Error in plugin "gulp-notify"
8:26:56 AM: Message:
8:26:56 AM:     not found: notify-send
8:26:56 AM: Details:
8:26:56 AM:     code: ENOENT
8:26:56 AM: 
8:26:56 AM: ​
8:26:56 AM: (build.command completed in 1.8s)
8:26:56 AM: ​
8:26:56 AM: ────────────────────────────────────────────────────────────────
8:26:56 AM:   Netlify Build Complete                                        
8:26:56 AM: ────────────────────────────────────────────────────────────────
8:26:56 AM: ​
8:26:56 AM: (Netlify Build completed in 1.9s)
8:26:56 AM: Caching artifacts
8:26:56 AM: Started saving node modules
8:26:56 AM: Finished saving node modules
8:26:56 AM: Started saving build plugins
8:26:56 AM: Finished saving build plugins
8:26:56 AM: Started saving pip cache
8:26:56 AM: Finished saving pip cache
8:26:56 AM: Started saving emacs cask dependencies
8:26:56 AM: Finished saving emacs cask dependencies
8:26:56 AM: Started saving maven dependencies
8:26:56 AM: Finished saving maven dependencies
8:26:56 AM: Started saving boot dependencies
8:26:56 AM: Finished saving boot dependencies
8:26:56 AM: Started saving go dependencies
8:26:56 AM: Finished saving go dependencies
8:26:56 AM: Build script success
8:26:56 AM: Starting to deploy site from 'dist'
8:26:56 AM: Creating deploy tree 
8:26:56 AM: Creating deploy upload records
8:26:56 AM: 0 new files to upload
8:26:56 AM: 0 new functions to upload
8:26:56 AM: Starting post processing
8:26:56 AM: Post processing - HTML
8:26:56 AM: Post processing - header rules
8:26:57 AM: Post processing - redirect rules
8:26:57 AM: Post processing done
8:26:57 AM: Site is live ✨
8:27:20 AM: Finished processing build request in 51.820579399s

the repo … the bulid work on my pc
but in the netlify no css, js and img

Try adding this environment variable: export DISABLE_NOTIFIER=true

Also, from wha I see, your error is realted to 404 of resources and from my understanding, gulp-notify has nothing to do with it probably.

1 Like

still not working, I think it’s time to use Webpack