Comments (12)
Did you install bower globally? It seems related to #29
from rawgraphs-app.
It's definitely the same issue as 29
Bower is installed globally - I just ran npm install again and I have the following warnings:
npm WARN package.json [email protected] No repository field.
npm WARN cannot run in wd [email protected] bower install (wd=/var/www/node/raw)
Sorry that I cant debug much more myself as I am in the process of learning the express/angular/node stack, but will provide any additional info that might be helpful.
-EDIT/UPDATE-
Found this command from someone who was having similar issues:
npm -g install --unsafe-perm
got the following errors:
> [email protected] postinstall /usr/lib/node_modules/application-name
> bower install
bower ESUDO Cannot be run with sudo
Additional error details:
Since bower is a user command, there is no need to execute it with superuser permissions.
If you're having permission errors when using bower without sudo, please spend a few minutes learning more about how your system should work and make any necessary repairs.
http://www.joyent.com/blog/installing-node-and-npm
https://gist.github.com/isaacs/579814
You can however run a command with sudo using --allow-root option
npm ERR! weird error 1
npm ERR! not ok code 0
Note I am running as root and not using 'sudo', also the --allow-root option doesnt seem to make any difference
from rawgraphs-app.
I tried following the workaround steps in #29 with no luck. On npm install
, i'm getting npm WARN cannot run in wd [email protected] bower install (wd=/opt/raw)
Here are the installation steps I followed: (I'm running as root, the only user on the box)
git clone https://github.com/densitydesign/raw.git /opt/raw
npm install -g bower
cd /opt/raw
npm install -d
npm install
npm start
I'm really new to node, so sorry if I'm missing something obvious.
from rawgraphs-app.
think I found a workaround - su
to something besides root and run npm update
since I have an apache user on my box i just ran this
su www-data
cd /var/path/to/raw
npm update
from rawgraphs-app.
I will look into this. Meanwhile, have you tried to install bower globally using sudo npm install -g bower
?
from rawgraphs-app.
https://github.com/densitydesign/raw/issues/29#issuecomment-25534087
This resolved the issue for me.
Hope it helps.
from rawgraphs-app.
@giorgiocaviglia I ran the code in my earlier comment as root, then I tried running just bower as root, but the rest as a new user.
Still no .js/css files served.
from rawgraphs-app.
@carver can you paste here the output from your installation?
from rawgraphs-app.
It looks like a number of dependencies changed in the head of the repo, so I updated to the latest. I had to fight with my docker container a bit to get things working, but I now have a working install, thanks!
I'll be posting the Dockerfile build instructions and pushing the prebuilt Docker image so that other people will be able to run their own install with just:
docker run -d carver/raw
Would you be interested in a README pull request or wiki entry with that info?
from rawgraphs-app.
@carver great! happy you solved this. if you would like to share Docker instructions here (as a response to this issue) I think it would be awesome, just to keep things together. thanks!
from rawgraphs-app.
I uploaded the prebuilt image to the docker index: https://index.docker.io/u/carver/raw/
You can download and run your own copy with: docker run -d carver/raw
which will host on port 4000 just like the raw README.
Also, I posted the Dockerfile build script to https://github.com/carver/docker-raw . So people can build their own with:
git clone https://github.com/carver/docker-raw.git
docker build -t=raw docker-raw/Dockerfile
docker run -d raw
from rawgraphs-app.
@carver thanks!
from rawgraphs-app.
Related Issues (20)
- Error para reconocer columnas numericas
- button "Add your chart!" should become "Load a chart!" HOT 1
- Issue in Mapping Interface - Click and drag feature not working HOT 1
- Suggestion
- 你的第五项导出export没有+
- Flip axis direction parallel coordinates chart HOT 1
- JSON-stat support
- Can't load a project with Gantt chart HOT 1
- Unable to sort cells
- PNG and JPEG exports at low quality
- update the favicon
- The line chart is adding commas and dot to the input values in the x axis HOT 2
- Stacked bar charts not working HOT 1
- 打开文件后白屏
- Cannot run RAWGraph locally HOT 4
- Presentation of the graphs HOT 1
- Page is breaking showing unresponsive tried many times HOT 3
- Official docker image/ docker compose script
- Format beeswarm axes and central line
- Sanky Map and Alluvial Diagram Suggestions
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 rawgraphs-app.