muut / riotjs-admin

Administration panel – A Riot.js demo
https://moot.it/riotjs/demo/
125 stars 27 forks source link

Running the make instructions results in errors #7

Open sdog869 opened 10 years ago

sdog869 commented 10 years ago

Running ./make.js gen you get:

cat: no such file or directory: ../riotjs/riot.js

looks like a path issue inside make.js, probably easy to fix, but for people look to quickly see an example it makes it tough, thanks!

patkujawa-wf commented 10 years ago

They must have assumed that you cloned riotjs into a sibling (of riotjs-admin) directory. When I did so, I no longer got that error. What I did get, though was:

❯ ./make.js gen
cp: no such file or directory: bower_components/jquery/jquery.min.js

This despite successfully doing bower install && npm install :(

patkujawa-wf commented 10 years ago

In make.js, change line 76 to look in the dist subdirectory and ./make.js gen will succeed: 76 cp("-f", "bower_components/jquery/dist/jquery.min.js", "dist");

jedrekk commented 9 years ago

Had to uncomment line 24 and comment out line 25 in make.js to fix this.

coderofsalvation commented 8 years ago

I made a pull request for that. But after that I figured that it wasnt ported to riot2 yet..kinda bummer