Skip to content
This repository has been archived by the owner on May 20, 2021. It is now read-only.

gulp-notify: [Compile Error] not implemented #97

Closed
mfirry opened this issue Mar 9, 2015 · 13 comments
Closed

gulp-notify: [Compile Error] not implemented #97

mfirry opened this issue Mar 9, 2015 · 13 comments

Comments

@mfirry
Copy link

mfirry commented Mar 9, 2015

I just cloned the repo and tried to build it but I get a weird gulp-notify 'not implemented' error.

∙ ./gradlew -Dairpal.prestoVersion=0.93 clean shadowJar -Dairpal.useLocalNode                                                                                  17:30  marco@mymachine
:cleanAssets UP-TO-DATE
:clean
:nodeSetup SKIPPED
:installAssets
:buildAssets
[17:31:13] Using gulpfile ~/playground/airpal/src/main/resources/assets/gulpfile.js
[17:31:13] Starting 'browserify'...
[17:31:13] Bundling app.js...
[17:31:13] Bundling plugin.js...
[17:31:13] gulp-notify: [Compile Error] not implemented
[17:31:13] gulp-notify: [Compile Error] not implemented
[17:31:13] Bundled app.js in 21 ms
[17:31:13] Bundled plugin.js in 22 ms
[17:31:13] Finished 'browserify' after 136 ms

My setup is:

∙ node -v                                                                                                                                                      17:31  marco@mymachine
v0.12.0
~
∙ gulp -v                                                                                                                                                      17:31  marco@mymachine
[17:31:23] CLI version 3.8.11
@stefanvermaas
Copy link
Collaborator

Hi @mfirry, are you on a mac? Or on windows?

@mfirry
Copy link
Author

mfirry commented Mar 9, 2015

mac. yosemite 10.10.2

@andykram
Copy link
Collaborator

Haven't tried building on yosemite yet, but I hope that's not the issue. Did the assets actually build or did this error prevent the assets from building correctly?

@mfirry
Copy link
Author

mfirry commented Mar 10, 2015

No, assets were not built correctly. I'm gonna try on ubuntu-based docker container and let you know if it's a mac-related issue. Thanks a lot!

@stefanvermaas
Copy link
Collaborator

I've build on Yosemite before, so that shouldn't be a problem (at least not on my machine). It could be that the error isn't a object, but a string. I can't reproduce the issue, so you could try to change these lines in handleErrors.js:

From this:

  notify.onError({
    title: "Compile Error",
    message: "<%= error.message %>"
  }).apply(this, args);

to this:

  notify.onError({
    title: "Compile Error",
    message: "<%= error %>"
  }).apply(this, args);

@mfirry
Copy link
Author

mfirry commented Mar 10, 2015

It doesn't change much:

I get [Compile Error] Error: not implemented

@jamestyack
Copy link

Got everything working end-to-end on Yosemite. I needed to upgrade to node 0.12.0 and npm 2.5.1 from older versions I had installed.

When I got past node/npm issues, I got Java compilations problems whenever I specified the prestoVersion I'd installed (0.98). Also tried the version listed in the readme (0.85), same compilation issues. Leaving to the default worked (0.77) and I got successful build.

Also, it's worth noting that I could successfully run queries from the UI against 0.98 presto with mysql catalog (even thought I'd left to the default presto version).

All of this worked with JDK8.

@mfirry
Copy link
Author

mfirry commented Apr 30, 2015

This still happens to me.

∙ npm -v 2.7.0
∙ node -v v0.12.0
∙ gulp -v CLI version 3.8.11

@bsr203
Copy link

bsr203 commented Jun 6, 2015

I too having issue with
node --version
v0.12.4
npm -v
2.10.1

also, browser sync upgraded to avoid another bug
"browser-sync": "~2.6.5",

also, I am running gulp on the client side assets
airpal/src/main/resources/assets

[16:47:05] Starting 'setWatch'...
[16:47:05] Finished 'setWatch' after 100 μs
[16:47:05] Starting 'browserify'...
[16:47:05] Bundling app.js...
[16:47:05] Bundling plugin.js...
[16:47:05] gulp-notify: [Compile Error] Error: not implemented
[16:47:05] gulp-notify: [Compile Error] Error: not implemented
[16:47:05] Bundled app.js in 40 ms
[16:47:05] Bundled plugin.js in 41 ms
[16:47:05] Finished 'browserify' after 331 ms
[16:47:05] Starting 'build'...
[16:47:05] Finished 'build' after 6.33 μs
[16:47:05] Starting 'browserSync'...
[16:47:05] Finished 'browserSync' after 137 ms
[16:47:05] Starting 'watch'...
[16:47:05] Finished 'watch' after 8.86 μs
[16:47:05] Starting 'default'...
[16:47:05] Finished 'default' after 7.02 μs

@louiswilliams
Copy link

Any resolution for this problem?

@M2shad0w
Copy link

M2shad0w commented Nov 7, 2016

i meet the same error

my env

➜  airpal git:(master) node -v
v7.0.0

➜  airpal git:(master) npm -v
3.10.8

Linux slave02 3.10.0-327.22.2.el7.x86_64 #1 SMP Thu Jun 23 17:05:11 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
[09:12:14] Using gulpfile /opt/airpal/src/main/resources/assets/gulpfile.js
[09:12:14] Starting 'browserify'...
[09:12:14] Bundling app.js...
[09:12:14] Bundling plugin.js...
(node:13960) DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
[09:12:14] gulp-notify: [Compile Error] _read() is not implemented
[09:12:14] gulp-notify: [Compile Error] _read() is not implemented
[09:12:14] Bundled app.js in 11 ms
[09:12:14] Bundled plugin.js in 11 ms
[09:12:14] Finished 'browserify' after 74 ms
[09:12:14] gulp-notify: [Error running notifier] Could not send message: not found: notify-send
[09:12:14] gulp-notify: [Error running notifier] Could not send message: not found: notify-send
(node:13960) DeprecationWarning: Using Buffer without `new` will soon stop working. Use `new Buffer()`, or preferably `Buffer.from()`, `Buffer.allocUnsafe()` or `Buffer.alloc()` instead.

@duynguyenhoang
Copy link

duynguyenhoang commented Nov 24, 2017

I have same problem
Env
Macos 10.12.6

➜ node -v
v6.10.3

➜ npm -v
3.10.10

Result

➜ ./gradlew clean shadowJar -Dairpal.useLocalNode

:cleanAssets UP-TO-DATE
:clean
:nodeSetup SKIPPED
> Building 33% > :installAssets



:installAssets
npm WARN airpal@0.0.1 No license field.
:buildAssets
[16:26:51] Using gulpfile ~/Documents/Applications/airpal/src/main/resources/assets/gulpfile.js
[16:26:51] Starting 'browserify'...
[16:26:51] Bundling app.js...
[16:26:51] Bundling plugin.js...
[16:26:51] gulp-notify: [Compile Error] not implemented
[16:26:51] gulp-notify: [Compile Error] not implemented
[16:26:51] Bundled app.js in 30 ms
[16:26:51] Bundled plugin.js in 31 ms
[16:26:51] Finished 'browserify' after 152 ms
:compileJava
Note: ~/Documents/Applications/airpal/src/main/java/com/airbnb/airpal/AirpalApplicationBase.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:processResources
:classes
:shadowJar

BUILD SUCCESSFUL

@duynguyenhoang
Copy link

try to add export NODE_ENV='development'

export NODE_ENV='development'
./gradlew clean shadowJar -Dairpal.useLocalNode

Problem went away

➜ ./gradlew clean shadowJar -Dairpal.useLocalNode
:cleanAssets UP-TO-DATE
:clean
:nodeSetup SKIPPED
:installAssets
npm WARN airpal@0.0.1 No license field.
:buildAssets
[16:41:21] Using gulpfile ~/Documents/Applications/airpal/src/main/resources/assets/gulpfile.js
[16:41:21] Starting 'browserify'...
[16:41:21] Bundling app.js...
[16:41:21] Bundling plugin.js...
[16:41:29] Bundled plugin.js in 8.34 s
[16:41:37] Bundled app.js in 16 s
[16:41:37] Finished 'browserify' after 16 s
:compileJava
Note: ~/Documents/Applications/airpal/src/main/java/com/airbnb/airpal/AirpalApplicationBase.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:processResources
:classes
:shadowJar

BUILD SUCCESSFUL

@mfirry mfirry closed this as completed Apr 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants