question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

tried to make it available in Adonis.js but doesn't work

See original GitHub issue

here is my code it’s create folder “files” but still cannot upload any help ?? it is possible to do that ?

const tus = require("tus-node-server");
const server = new tus.Server();
server.datastore = new tus.FileStore({
  path: "files",
});

Route.group(() => {
  Route.any("", server.handle.bind(server));
})
  .prefix("api/v1/uploads")
  .middleware("auth");

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kvzcommented, Apr 30, 2020

Please share your code snippets so that someone googling and finding this thread can save the time you spent fighting this! Good for karma 😃

0reactions
AndrewMelekacommented, Apr 30, 2020

After many of tries and some of tricks i fixed & now working fine with Adonis.js, thank you 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

[V5] node ace:make model command not working. #2642
I have try to create an model create using command line in adonisjs v5. i run the command node ace:make model User show...
Read more >
AdonisJS doesn't start after installing another npm package
I'm using WSL and node 8.9.3, also tried in node 10.17.0. Also tried to install manually '@adonisjs/framework' and Reinstall all packages, ...
Read more >
Building a real-time web application with Materialize and ...
In this tutorial, we are going to build a web application using AdonisJS and integrate it with Materialize to create a real-time dashboard ......
Read more >
Adonis JS - How to manage file uploads and validate them
Adonis JS comes with a very intuitive API to work with file uploads. Not only does it allow you to move files within...
Read more >
AdonisJS - Seeking Feedback on the framework : r/node
I have preference for SQL databases over NoSQL and its mainly based upon my personal experience in working with SQL databases. But that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found