Error: EISDIR, illegal operation on a directory

728 views
Skip to first unread message

Eren Şentürk

unread,
Jul 29, 2015, 12:13:21 PM7/29/15
to kurento
Hello,

I am using latest kurento 6 on Ubuntu 14.04.

Build tutorial 5 (1to1 advanced) failed with the following error message.

Any idea how to solve it?

[INFO] Scanning for projects...
[INFO]                                                                        
[INFO] ------------------------------------------------------------------------
[INFO] Building Kurento Java Tutorial 5 - One2One Call Advanced 6.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java-version) @ kurento-one2one-call-advanced ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven-version) @ kurento-one2one-call-advanced ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.3:create-timestamp (get-build-timestamp) @ kurento-one2one-call-advanced ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.3:create (get-scm-revision) @ kurento-one2one-call-advanced ---
[INFO] Executing: /bin/sh -c cd /root/kurento-tutorial-java/kurento-one2one-call-advanced && git rev-parse --verify HEAD
[INFO] Working directory: /root/kurento-tutorial-java/kurento-one2one-call-advanced
[INFO] Storing buildNumber: 60135f60d69f0a9b206060729e7e9ad0a2499640 at timestamp: 1438185716080
[INFO] Storing buildScmBranch: master
[INFO]
[INFO] --- exec-maven-plugin:1.3.2:exec (default) @ kurento-one2one-call-advanced ---

/usr/lib/node_modules/bower/node_modules/bower-config/node_modules/graceful-fs/polyfills.js:224
      throw er
            ^
Error: EISDIR, illegal operation on a directory
    at Object.fs.readSync (fs.js:488:19)
    at Object.fs.readSync (/usr/lib/node_modules/bower/node_modules/bower-config/node_modules/graceful-fs/polyfills.js:218:23)
    at Object.fs.readFileSync (fs.js:322:28)
    at /usr/lib/node_modules/bower/node_modules/bower-config/lib/util/rc.js:75:27
    at Array.forEach (native)
    at json (/usr/lib/node_modules/bower/node_modules/bower-config/lib/util/rc.js:74:14)
    at rc (/usr/lib/node_modules/bower/node_modules/bower-config/lib/util/rc.js:31:9)
    at Config.load (/usr/lib/node_modules/bower/node_modules/bower-config/lib/Config.js:14:20)
    at Function.Config.read (/usr/lib/node_modules/bower/node_modules/bower-config/lib/Config.js:49:19)
    at readCachedConfig (/usr/lib/node_modules/bower/lib/config.js:21:51)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.475s
[INFO] Finished at: Wed Jul 29 12:01:59 EDT 2015
[INFO] Final Memory: 12M/30M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.2:exec (default) on project kurento-one2one-call-advanced: Command execution failed. Process exited with an error: 8 (Exit value: 8) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Ivan Gracia

unread,
Aug 5, 2015, 5:13:29 AM8/5/15
to Kurento Public
Check your bower installation, as you are trying to write in /usr/lib

Ivan Gracia



--
You received this message because you are subscribed to the Google Groups "kurento" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Eren Şentürk

unread,
Aug 5, 2015, 2:09:38 PM8/5/15
to kurento
What is wrong about ' /usr/lib'?  Bower installation seems to be alright.

Ivan Gracia

unread,
Aug 6, 2015, 4:40:54 AM8/6/15
to Kurento Public
You don't normally have permissions to write there as a normal user.

Ivan Gracia


Reply all
Reply to author
Forward
0 new messages