GithubHelp home page GithubHelp logo

Comments (13)

JacksonTian avatar JacksonTian commented on August 10, 2024

你用在了什么场景捏?

from ping.

tsj1107 avatar tsj1107 commented on August 10, 2024

我在assets内放了个文件夹 里面就是一个html静态页面和css js文件 每次修改代码刷新都要等待差不多2分钟 我看了下network 在静态文件夹里的文件就过来的很慢

from ping.

JacksonTian avatar JacksonTian commented on August 10, 2024

这个项目是我当时研究和学习node所写的。有一年没维护了。用成熟的框架吧。connect/express

from ping.

JacksonTian avatar JacksonTian commented on August 10, 2024

用来研究和学习还可以。如果你是生产需要的话,不要使用。

from ping.

tsj1107 avatar tsj1107 commented on August 10, 2024

555 好吧 其实我就是想简单弄个静态服务器看页面的 flashplayer必须在容器下才能实现功能

from ping.

JacksonTian avatar JacksonTian commented on August 10, 2024
npm install anywhere -g
cd your folder
anywhere

用这个方案代替下。

from ping.

tsj1107 avatar tsj1107 commented on August 10, 2024

貌似不错 let me try try .

from ping.

tsj1107 avatar tsj1107 commented on August 10, 2024

@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.

JacksonTian avatar JacksonTian commented on August 10, 2024
sudo npm install anywhere -g

加下sudo

from ping.

tsj1107 avatar tsj1107 commented on August 10, 2024

握爪 您是好人!

from ping.

tsj1107 avatar tsj1107 commented on August 10, 2024

能再问个问题吗 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.

JacksonTian avatar JacksonTian commented on August 10, 2024

apt-get是ubuntu或debian的命令。你试试homebrew。不过要先装homebrew

brew search ruby
brew install ruby

from ping.

tsj1107 avatar tsj1107 commented on August 10, 2024

装了很大的ruby还是没用 算了 睡觉了 谢谢你~

from ping.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.