Giter Club home page Giter Club logo

fi-fileman's People

Contributors

marcbachmann avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fi-fileman's Issues

can't run protractor from eclipse

(node:14292) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
[14:01:55] I/launcher - Running 1 instances of WebDriver
[14:01:55] I/hosted - Using the selenium server at http://localhost:4444/wd/hub
[14:01:56] E/launcher - Error code: 135
[14:01:56] E/launcher - Error message: ECONNREFUSED connect ECONNREFUSED 127.0.0.1:4444
[14:01:56] E/launcher - Error: ECONNREFUSED connect ECONNREFUSED 127.0.0.1:4444
at ClientRequest. (C:\Users\ShajibuM\eclipse-workspace\Shavi1\node_modules\protractor\node_modules\selenium-webdriver\http\index.js:238:15)
at emitOne (events.js:116:13)
at ClientRequest.emit (events.js:211:7)
at Socket.socketErrorListener (_http_client.js:387:9)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at emitErrorNT (internal/streams/destroy.js:64:8)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
From: Task: WebDriver.createSession()
at Function.createSession (C:\Users\ShajibuM\eclipse-workspace\Shavi1\node_modules\protractor\node_modules\selenium-webdriver\lib\webdriver.js:769:24)
at Function.createSession (C:\Users\ShajibuM\eclipse-workspace\Shavi1\node_modules\protractor\node_modules\selenium-webdriver\chrome.js:761:15)
at createDriver (C:\Users\ShajibuM\eclipse-workspace\Shavi1\node_modules\protractor\node_modules\selenium-webdriver\index.js:170:33)
at Builder.build (C:\Users\ShajibuM\eclipse-workspace\Shavi1\node_modules\protractor\node_modules\selenium-webdriver\index.js:626:16)
at Hosted.getNewDriver (C:\Users\ShajibuM\eclipse-workspace\Shavi1\node_modules\protractor\built\driverProviders\driverProvider.js:53:33)
at Runner.createBrowser (C:\Users\ShajibuM\eclipse-workspace\Shavi1\node_modules\protractor\built\runner.js:195:43)
at q.then.then (C:\Users\ShajibuM\eclipse-workspace\Shavi1\node_modules\protractor\built\runner.js:339:29)
at _fulfilled (C:\Users\ShajibuM\eclipse-workspace\Shavi1\node_modules\protractor\node_modules\q\q.js:834:54)
at self.promiseDispatch.done (C:\Users\ShajibuM\eclipse-workspace\Shavi1\node_modules\protractor\node_modules\q\q.js:863:30)
at Promise.promise.promiseDispatch (C:\Users\ShajibuM\eclipse-workspace\Shavi1\node_modules\protractor\node_modules\q\q.js:796:13)
[14:01:56] E/launcher - Process exited with error code 135

(node:2755) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.

I have been using npm fi-fileman for uploading an image
it uploads the image to the mvc success fully but it throws the depreciation warining
I am using expressjs

`var express = require('express'),
router = express.Router(),
fileman = require('fi-fileman'),
os = require('os'),
os.tmpDir = os.tmpdir();
router.post("/upload", fileman.multiparser(), function(req, res){
console.log("upload api");
console.log(req.body.name);
res.send(req.files); //it uplods success fully

});`

(node:2755) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.

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.