Closed mourningsun75 closed 10 years ago
Have you tried the installation instructions here? https://github.com/furier/websync/wiki/Installation---Ubuntu You shouldn't need to install packages manually separately...
Checkout the master branch and follow the installation instructions, get back to me if you have any further problems.
PS: its also not good practice to use sudo with NPM, shouldn't be needed....
I have followed the instructions. I use debian stable so i had to install node.js manually. bower, gulp and the other components was not found so i have to install them manually to.
bower install and npm install worked fine without errors.
only the gulp install brings the error
gulp install
or gulp dist
? Sometimes you need to run the gulp command more then once as it fails the build, im working on solving the issue. Does that help?
gulp build -> breaks every time gulp install -> Task 'install' is not in your gulpfile gulp dist -> same error as gulp build
perhaps it helps hte first lines of output before the error:
[11:04:29] Using gulpfile /opt/websync/gulpfile.js
[11:04:29] Starting 'clean'...
[11:04:29] Finished 'clean' after 6.84 ms
[11:04:29] Starting 'dist'...
[11:04:29] Starting 'copy-server-to-dist'...
[11:04:29] Finished 'copy-server-to-dist' after 5.57 ms
[11:04:29] Starting 'watchify'...
[11:04:30] Starting 'html'...
[11:04:30] Finished 'html' after 2 ms
[11:04:30] Starting 'css'...
[11:04:30] Finished 'css' after 7.31 ms
[11:04:30] Starting 'fonts'...
[11:04:30] Finished 'fonts' after 1.17 ms
[11:04:30] Starting 'imagemin'...
[11:04:30] Finished 'imagemin' after 3.03 ms
[11:04:30] Starting 'bower'...
[11:04:30] Finished 'bower' after 851 μs
[11:04:30] Finished 'dist' after 379 ms
This seems very strange to me as the only task using the module gulp-concat-css
is the css
task which according to your log ran just fine. :S
i will try it on another server
Did you get it to work?
no, i made it now on a raspberry pi with a newer debian. same error
Im away for the weekend, but when I get home again I will set up a debian vm where I will test websync to confirm that here is a bug I need to fix.
@mourningsun75 what version of debian have you tested?
debian 6 and raspian
Same here, but on Debian 7
Im having trouble with my hypervisor, when its up and running again I will try and solve this bug.
Ok, what are you using?
SmartOS as Hypervisor
Nice :)
You got some news? :)
Iv got my VM up and running, I was compiling node from source before I went to bed yesterday, Im still at work and will take a look at it tonight.
Okay
I successfully installed websync's master branch with the current installation description on a clean debian-6 vm.
Here are the steps I made:
# as Root
## get git
apt-get install git-core
cd /home/<username>
## clone node git repo
git clone https://github.com/joyent/node.git
cd node
## checkout latest stable version
git checkout v0.10.31
## install node
make
make test
make install
## Check node is installed correctly
node -v
npm -v
## Install global packages
npm install -g bower
npm install -g gulp
exit
# as <username>
## get websync
cd ~
git clone https://github.com/furier/websync.git
cd websync
npm install
bower install
## build websync
gulp dist
## run websync
cd dist
node server.js
Now websync was up an running for me @ http://localhost:3000
I'll try this on Debian 7, let me few minutes ;)
Ok, nice job! It works fine! :)
Thank you, good to know it all worked out. :)
:) Just one thing: you need to run "npm install -g bower and npm install -g gulp" as root: didn't work for me as random user.
Same problem in Ubuntu 12.04... I've tried everything but is not working... The error is the same as reported.
Ubuntu server 14.04 same error
after do npm install i get that error
websync@1.0.4 build-dist /home/adminlocal/websync gulp dist
[17:25:01] Using gulpfile ~/websync/gulpfile.js
[17:25:01] Starting 'clean'...
[17:25:01] Finished 'clean' after 13 ms
[17:25:01] Starting 'copy-server-to-dist'...
[17:25:01] Finished 'copy-server-to-dist' after 7.09 ms
[17:25:01] Starting 'browserify'...
[17:25:01] Finished 'browserify' after 6.5 ms
[17:25:01] Starting 'html'...
[17:25:01] Finished 'html' after 2.62 ms
[17:25:01] Starting 'scss'...
[17:25:01] Finished 'scss' after 4.67 ms
[17:25:01] Starting 'css'...
[17:25:01] Finished 'css' after 7.45 ms
[17:25:01] Starting 'fonts'...
[17:25:01] Finished 'fonts' after 1.12 ms
[17:25:01] Starting 'imagemin'...
[17:25:01] Finished 'imagemin' after 3.34 ms
[17:25:01] Starting 'bower'...
[17:25:01] Finished 'bower' after 843 μs
[17:25:01] Starting 'build'...
[17:25:01] Finished 'build' after 2.64 ms
[17:25:01] Starting 'build-prod'...
[17:25:01] Finished 'build-prod' after 4.86 μs
[17:25:01] Starting 'dist'...
[17:25:01] Finished 'dist' after 4.39 μs
/home/adminlocal/websync/node_modules/gulp-concat-css/index.js:55
base: firstFile.base,
^
TypeError: Cannot read property 'base' of null
at Transform._flush (/home/adminlocal/websync/node_modules/gulp-concat-css/index.js:55:22)
at Transform.
npm ERR! node v0.12.7 npm ERR! npm v2.11.3 npm ERR! code ELIFECYCLE
same
npm ERR! node v0.12.7 npm ERR! npm v2.11.3
ubuntu 14.04
I ran into this problem on 14.04 as well, turns out the alertify css file changed names. #34
After updating the css name, I deleted the dist folder and re-ran gulp dist
Merged pull request #34, didn't have time to verify the PR so please speak up if it messed up things for other users not having this issue...
i built succesfully from the latest PR like this
cd /app/websync npm install bower install gulp dist || true rm -rf /app/websync/dist gulp dist
in this dockerfile
https://github.com/linuxserver/docker-websync/blob/master/Dockerfile
Hi,
i have tried to install websync on my old debian server. First of all i have to install many packages like:
Now if i try to build with gulp build i got the following error:
Is there some dependency missing?