koajs / sendfile Goto Github PK
View Code? Open in Web Editor NEWbasic file-sending utility for koa
License: MIT License
basic file-sending utility for koa
License: MIT License
I'm getting this error while trying to install:
npm WARN package.json [email protected] No description
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
npm WARN package.json [email protected] No README data
npm WARN locking Error: EACCES: permission denied, open '/home/zane/.npm/_locks/koa-sendfile-dd448fcb6e5b65f0.lock'
npm WARN locking at Error (native)
npm WARN locking /home/zane/.npm/_locks/koa-sendfile-dd448fcb6e5b65f0.lock failed { [Error: EACCES: permission denied, open '/home/zane/.npm/_locks/koa-sendfile-dd448fcb6e5b65f0.lock']
npm WARN locking errno: -13,
npm WARN locking code: 'EACCES',
npm WARN locking syscall: 'open',
npm WARN locking path: '/home/zane/.npm/_locks/koa-sendfile-dd448fcb6e5b65f0.lock' }
npm ERR! Linux 3.8.11
npm ERR! argv "/usr/bin/iojs" "/usr/bin/npm" "install" "--save" "koa-sendfile"
npm ERR! node v1.8.4
npm ERR! npm v2.9.0
npm ERR! Attempt to unlock /home/zane/nark/node_modules/koa-sendfile, which hasn't been locked
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /home/zane/nark/npm-debug.log
Hello guys,
I'm enjoying the koa-sendfile
but I found something weird... Although the file is downloaded successfully, the file name is wrong. Should be test.csv
but I get the route name, i.e. I'm using /api/admin/extract
and the file name appears to be extract
when I access to download it using koa-sendfile
.
How I can fix it ou and use the correct file name I should think need to be?
Thank you all.
The Debug dependency's latest release is out of date. The latest version is 4.1.1 but the version required is 3.2.5
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.