Comments (11)
Try npm install
.
from koel.
npm install gives error. I also tried with root privileges
npm ERR! System Linux 3.19.0-37-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/panda/all_dependencies/koel
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path /home/panda/all_dependencies/koel/node_modules/laravel-elixir/node_modules/watchify/node_modules/browserify/node_modules/vm-browserify/index.js
npm ERR! fstream_path /home/panda/all_dependencies/koel/node_modules/laravel-elixir/node_modules/watchify/node_modules/browserify/node_modules/vm-browserify/index.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! fstream_finish_call utimes
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:305:19
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/home/panda/all_dependencies/koel/node_modules/laravel-elixir/node_modules/watchify/node_modules/browserify/node_modules/stream-http/README.md'
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <[email protected]>
npm ERR! System Linux 3.19.0-37-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/panda/all_dependencies/koel
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path /home/panda/all_dependencies/koel/node_modules/laravel-elixir/node_modules/watchify/node_modules/browserify/node_modules/stream-http/README.md
npm ERR! fstream_path /home/panda/all_dependencies/koel/node_modules/laravel-elixir/node_modules/watchify/node_modules/browserify/node_modules/stream-http/README.md
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/home/panda/all_dependencies/koel/node_modules/laravel-elixir/node_modules/browserify/node_modules/JSONStream/node_modules/through'
npm ERR! error rolling back [email protected] { [Error: ENOTEMPTY, rmdir '/home/panda/all_dependencies/koel/node_modules/laravel-elixir/node_modules/browserify/node_modules/JSONStream/node_modules/through']
npm ERR! error rolling back errno: 53,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back path: '/home/panda/all_dependencies/koel/node_modules/laravel-elixir/node_modules/browserify/node_modules/JSONStream/node_modules/through' }
npm ERR! Error: ENOENT, lstat '/home/panda/all_dependencies/koel/node_modules/laravel-elixir/node_modules/browserify/node_modules/JSONStream/node_modules/jsonparse/.npmignore'
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <[email protected]>
npm ERR! System Linux 3.19.0-37-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/panda/all_dependencies/koel
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path /home/panda/all_dependencies/koel/node_modules/laravel-elixir/node_modules/browserify/node_modules/JSONStream/node_modules/jsonparse/.npmignore
npm ERR! fstream_path /home/panda/all_dependencies/koel/node_modules/laravel-elixir/node_modules/browserify/node_modules/JSONStream/node_modules/jsonparse/.npmignore
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/home/panda/all_dependencies/koel/node_modules/laravel-elixir/node_modules/watchify/node_modules/browserify/node_modules/constants-browserify/build.sh'
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <[email protected]>
npm ERR! System Linux 3.19.0-37-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/panda/all_dependencies/koel
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path /home/panda/all_dependencies/koel/node_modules/laravel-elixir/node_modules/watchify/node_modules/browserify/node_modules/constants-browserify/build.sh
npm ERR! fstream_path /home/panda/all_dependencies/koel/node_modules/laravel-elixir/node_modules/watchify/node_modules/browserify/node_modules/constants-browserify/build.sh
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, chown '/home/panda/all_dependencies/koel/node_modules/laravel-elixir/node_modules/watchify/node_modules/browserify/node_modules/duplexer2'
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <[email protected]>
npm ERR! System Linux 3.19.0-37-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/panda/all_dependencies/koel
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path /home/panda/all_dependencies/koel/node_modules/laravel-elixir/node_modules/watchify/node_modules/browserify/node_modules/duplexer2
npm ERR! fstream_path /home/panda/all_dependencies/koel/node_modules/laravel-elixir/node_modules/watchify/node_modules/browserify/node_modules/duplexer2
npm ERR! fstream_type Directory
npm ERR! fstream_class DirWriter
npm ERR! fstream_finish_call chown
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:305:19
npm ERR! fstream_stack /usr/lib/nodejs/graceful-fs/polyfills.js:133:7
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/home/panda/all_dependencies/koel/node_modules/laravel-elixir/node_modules/watchify/node_modules/browserify/node_modules/read-only-stream/.travis.yml'
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <[email protected]>
npm ERR! System Linux 3.19.0-37-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/panda/all_dependencies/koel
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path /home/panda/all_dependencies/koel/node_modules/laravel-elixir/node_modules/watchify/node_modules/browserify/node_modules/read-only-stream/.travis.yml
npm ERR! fstream_path /home/panda/all_dependencies/koel/node_modules/laravel-elixir/node_modules/watchify/node_modules/browserify/node_modules/read-only-stream/.travis.yml
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! EEXIST, mkdir '/home/panda/all_dependencies/koel/node_modules/laravel-elixir/node_modules/watchify/node_modules/browserify/node_modules/url'
File exists: /home/panda/all_dependencies/koel/node_modules/laravel-elixir/node_modules/watchify/node_modules/browserify/node_modules/url
Move it away, and try again.
npm ERR! System Linux 3.19.0-37-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/panda/all_dependencies/koel
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path /home/panda/all_dependencies/koel/node_modules/laravel-elixir/node_modules/watchify/node_modules/browserify/node_modules/url
npm ERR! fstream_path /home/panda/all_dependencies/koel/node_modules/laravel-elixir/node_modules/watchify/node_modules/browserify/node_modules/url/LICENSE
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code EEXIST
npm ERR! errno 47
npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:171:23
npm ERR! fstream_stack /usr/lib/nodejs/mkdirp/index.js:37:53
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/home/panda/all_dependencies/koel/node_modules/laravel-elixir/node_modules/watchify/node_modules/browserify/node_modules/browser-pack/_prelude.js'
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <[email protected]>
npm ERR! System Linux 3.19.0-37-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/panda/all_dependencies/koel
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path /home/panda/all_dependencies/koel/node_modules/laravel-elixir/node_modules/watchify/node_modules/browserify/node_modules/browser-pack/_prelude.js
npm ERR! fstream_path /home/panda/all_dependencies/koel/node_modules/laravel-elixir/node_modules/watchify/node_modules/browserify/node_modules/browser-pack/_prelude.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/home/panda/all_dependencies/koel/node_modules/laravel-elixir/node_modules/watchify/node_modules/browserify/node_modules/console-browserify/LICENCE'
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <[email protected]>
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/panda/all_dependencies/koel/npm-debug.log
npm ERR! not ok code 0
There are many other errors too.
also there isn't any log file created.
from koel.
Hi Phanan,
Thank you for quick response, really appreciate it.
As per your instruction in the wiki i have followed all the steps, but still i have receiving the same error on the web page as mentioned above:
ritesh@ritesh:/koel$ sudo npm installpostinstall: cannot run in wd %s %s (wd=%s) [email protected] node node_modules/bower/bin/bower install && gulp --production /home/ritesh/koel
npm WARN lifecycle [email protected]
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm WARN optional Skipping failed optional dependency /laravel-elixir/gulp-watch/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm WARN optional Skipping failed optional dependency /laravel-elixir/watchify/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
ritesh@ritesh:~/koel$ sudo composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating autoload files
php artisan clear-compiled
php artisan optimize
Generating optimized class loader
php -r "if (!file_exists('.env')) copy('.env.example', '.env');"
ritesh@ritesh:/koel$ vi .env/koel$ sudo php artisan init
ritesh@ritesh:
php artisan key:generate
php artisan migrate --force
php artisan db:seed --force
[Illuminate\Database\QueryException]
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '[email protected]' for key 'users_email_unique' (SQL: insert i
nto users
(name
, email
, password
, is_admin
, updated_at
, created_at
) values (ritesh, [email protected], y$pOflCR5r6Dx7qM
uULwq5f.NtYVNcr3fMbuR7NH6zOKjpAZWB1zrd6, 1, 2015-12-15 07:53:56, 2015-12-15 07:53:56))
[PDOException]
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '[email protected]' for key 'users_email_unique'
ritesh@ritesh:~/koel$ sudo php artisan serve
Laravel development server started on http://localhost:8000/
[Tue Dec 15 13:24:14 2015] 127.0.0.1:38820 [200]: /favicon.ico
[Tue Dec 15 13:24:16 2015] 127.0.0.1:38825 [200]: /favicon.ico
from koel.
Had the same issue. Fixed it by creating the dirs "public" and "bower_components" and making these writable for the user that I execute "npm install" with. Then I executed "npm install" again.
from koel.
First, you shouldn't sudo npm install
or sudo composer install
.
Second, looks like you have composer install
(and therefore artisan db:seed
) before. Just ignore the error.
On Tue, Dec 15, 2015 at 3:55 PM, Ritesh Puj [email protected]
wrote:
Hi Phanan,
Thank you for quick response, really appreciate it.
As per your instruction in the wiki i have followed all the steps, but
still i have receiving the same error on the web page as mentioned above:
ritesh@ritesh:/koel$ sudo npm installpostinstall: cannot run in wd %s %s (wd=%s)
npm WARN lifecycle [email protected]
[email protected] node node_modules/bower/bin/bower install && gulp --production
/home/ritesh/koel
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture:
[email protected]
npm WARN optional Skipping failed optional dependency
/laravel-elixir/gulp-watch/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture:
[email protected]
npm WARN optional Skipping failed optional dependency
/laravel-elixir/watchify/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture:
[email protected]
ritesh@ritesh:~/koel$ sudo composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating autoload filesphp artisan clear-compiled
php artisan optimize
Generating optimized class loader
php -r "if (!file_exists('.env')) copy('.env.example', '.env');"
ritesh@ritesh:/koel$ vi .env/koel$ sudo php artisan init
ritesh@ritesh:
php artisan key:generate
php artisan migrate --force
php artisan db:seed --force[Illuminate\Database\QueryException]
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '
[email protected]' for key 'users_email_unique' (SQL: insert into users (name, email, password, is_admin, updated_at, created_at)
values (ritesh, [email protected], y$pOflCR5r6Dx7qMuULwq5f.NtYVNcr3fMbuR7NH6zOKjpAZWB1zrd6, 1, 2015-12-15 07:53:56,
2015-12-15 07:53:56))[PDOException]
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '
[email protected]' for key 'users_email_unique'ritesh@ritesh:~/koel$ sudo php artisan serve
Laravel development server started on http://localhost:8000/
[Tue Dec 15 13:24:14 2015] 127.0.0.1:38820 [200]: /favicon.ico
[Tue Dec 15 13:24:16 2015] 127.0.0.1:38825 [200]: /favicon.ico—
Reply to this email directly or view it on GitHub
#53 (comment).
from koel.
Shell asked me to run command using sudo.
ritesh@ritesh:~/koel$ npm install
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] assert is also the name of a node core module.
npm WARN package.json [email protected] No description
npm WARN package.json [email protected] buffer is also the name of a node core module.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] events is also the name of a node core module.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] punycode is also the name of a node core module.
npm WARN package.json [email protected] querystring is also the name of a node core module.
npm WARN package.json [email protected] string_decoder is also the name of a node core module.
npm WARN package.json [email protected] url is also the name of a node core module.
npm WARN package.json [email protected] util is also the name of a node core module.
[email protected] install /home/ritesh/koel/node_modules/bufferutil
node-gyp rebuild
child_process: customFds option is deprecated, use stdio instead.
make: Entering directory /home/ritesh/koel/node_modules/bufferutil/build' CXX(target) Release/obj.target/bufferutil/src/bufferutil.o SOLINK_MODULE(target) Release/obj.target/bufferutil.node SOLINK_MODULE(target) Release/obj.target/bufferutil.node: Finished COPY Release/bufferutil.node make: Leaving directory
/home/ritesh/koel/node_modules/bufferutil/build'
npm WARN prefer global [email protected] should be installed with -g
npm WARN prefer global [email protected] should be installed with -g
[email protected] postinstall /home/ritesh/koel/node_modules/spawn-sync
node postinstall
npm ERR! Linux 3.13.0-24-generic
npm ERR! argv "/home/ritesh/.nvm/versions/node/v0.12.0/bin/node" "/home/ritesh/.nvm/versions/node/v0.12.0/bin/npm" "install"
npm ERR! node v0.12.0
npm ERR! npm v2.5.1
npm ERR! path /home/ritesh/koel/node_modules/tfunk/node_modules/.bin/has-ansi
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! Error: EACCES, unlink '/home/ritesh/koel/node_modules/tfunk/node_modules/.bin/has-ansi'
npm ERR! at Error (native)
npm ERR! { [Error: EACCES, unlink '/home/ritesh/koel/node_modules/tfunk/node_modules/.bin/has-ansi']
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! path: '/home/ritesh/koel/node_modules/tfunk/node_modules/.bin/has-ansi' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Please include the following file with any support request:
npm ERR! /home/ritesh/koel/npm-debug.log
from koel.
I'm experiencing the same issues. Running npm install
, composer install
, with or without sudo
, does not help. In addition, I've tried @wzzle's method but to no avail.
from koel.
Hi Phanan,
There was one issue with folder permissions of /home/ritesh/.npm and /home/ritesh/.composer I fixed it for my user
Used following command: sudo chown -R ritesh.ritesh /home/ritesh/.npm /home/ritesh/.composer
Created a new clone of the repository in a folder name PUBLIC_DIR and I repeated all the steps exactly (without sudo) as mentioned as here: https://github.com/phanan/koel/wiki
Now, i have successfully installed and looking forward to stream music on my phone now :)
Thanks a lot for quick response
from koel.
Glad it works!
from koel.
Hi Phanan,
How can i run the server on different port ? For example port 80
from koel.
You would deploy like any other PHP website.
from koel.
Related Issues (20)
- manifest.json 404 HOT 1
- Cannot change column 'id': used in a foreign key constraint 'koel/interactions_song_id_foreign' of table 'koel/interactions' HOT 4
- Music import fails with bad ID3 metadata HOT 4
- Log invalid files from sync HOT 1
- Artist art not loading / showing up HOT 7
- Interface not loading since 6.11.4 upgrade HOT 2
- Can't install - SQL errors HOT 2
- Unable to update profile / password information though web interface HOT 1
- Bulk editing song metadata clears track numbers
- PWA support for webUI HOT 3
- Init struggle
- Playlist sorting not being saved
- Visual bug: Green playlist buttons have lower height HOT 1
- General UX improvement ideas HOT 3
- Not Found: The requested content cannot be found. after using shareable URLs HOT 1
- Automatically scroll to the current playing song HOT 1
- Site not rendering after install HOT 2
- Search songs get 500 HOT 5
- "Failed to start the audio device" error on iOS HOT 1
- Music cannot be scanned normally (invalid file(s)) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from koel.