Comments (13)
你用在了什么场景捏?
from ping.
我在assets内放了个文件夹 里面就是一个html静态页面和css js文件 每次修改代码刷新都要等待差不多2分钟 我看了下network 在静态文件夹里的文件就过来的很慢
from ping.
这个项目是我当时研究和学习node所写的。有一年没维护了。用成熟的框架吧。connect/express
from ping.
用来研究和学习还可以。如果你是生产需要的话,不要使用。
from ping.
555 好吧 其实我就是想简单弄个静态服务器看页面的 flashplayer必须在容器下才能实现功能
from ping.
npm install anywhere -g
cd your folder
anywhere
用这个方案代替下。
from ping.
貌似不错 let me try try .
from ping.
@azur ➜ ~ npm install anywhere -g
npm http GET https://registry.npmjs.org/anywhere
npm http 200 https://registry.npmjs.org/anywhere
npm http GET https://registry.npmjs.org/anywhere/-/anywhere-0.0.2.tgz
npm http 200 https://registry.npmjs.org/anywhere/-/anywhere-0.0.2.tgz
npm ERR! Error: EACCES, mkdir '/usr/local/lib/node_modules/anywhere'
npm ERR! { [Error: EACCES, mkdir '/usr/local/lib/node_modules/anywhere']
npm ERR! errno: 3,
npm ERR! code: 'EACCES',
npm ERR! path: '/usr/local/lib/node_modules/anywhere',
npm ERR! fstream_type: 'Directory',
npm ERR! fstream_path: '/usr/local/lib/node_modules/anywhere',
npm ERR! fstream_class: 'DirWriter',
npm ERR! fstream_stack:
npm ERR! [ '/usr/local/lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js:36:23',
npm ERR! '/usr/local/lib/node_modules/npm/node_modules/mkdirp/index.js:37:53',
npm ERR! 'Object.oncomplete (fs.js:93:15)' ] }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! System Darwin 12.2.1
npm ERR! command "node" "/usr/local/bin/npm" "install" "anywhere" "-g"
npm ERR! cwd /Users/azure
npm ERR! node -v v0.10.0
npm ERR! npm -v 1.2.14
npm ERR! path /usr/local/lib/node_modules/anywhere
npm ERR! fstream_path /usr/local/lib/node_modules/anywhere
npm ERR! fstream_type Directory
npm ERR! fstream_class DirWriter
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, mkdir '/usr/local/lib/node_modules/anywhere'
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js:36:23
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/mkdirp/index.js:37:53
npm ERR! fstream_stack Object.oncomplete (fs.js:93:15)
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/azure/npm-debug.log
npm ERR! not ok code 0
from ping.
sudo npm install anywhere -g
加下sudo
from ping.
握爪 您是好人!
from ping.
能再问个问题吗 https://github.com/mojombo/jekyll/wiki/Install jekyll你用过吗
总提示我You don't have write permissions into the /Library/Ruby/Gems/1.8 directory.
但是mac下又不能用sudo apt-get install ruby1.9.1-dev 这个 说是apt-get 没有这个命令
from ping.
apt-get是ubuntu或debian的命令。你试试homebrew。不过要先装homebrew
brew search ruby
brew install ruby
from ping.
装了很大的ruby还是没用 算了 睡觉了 谢谢你~
from ping.
Related Issues (6)
- 压缩功能有问题 HOT 2
- 文件服务器的安全性问题 HOT 5
- 请问,过期Session的清除机制是怎样的? HOT 1
- 求大大提供个文档学习下 HOT 1
- utils.js bug 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 ping.