You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I was doing a test on a basic Node/express app just to see how it works and instantly it threw me an error:
C:\folder\to\app\index.js:12 throw e; ^ Error at new ApiError (C:\folder\to\app\node_modules\browserfs\dist\browserfs.js:5430:22) at finish (C:\folder\to\app\node_modules\browserfs\dist\browserfs.js:20369:20) at getFileSystem (C:\folder\to\app\node_modules\browserfs\dist\browserfs.js:20405:9) at Object.configure (C:\folder\to\app\node_modules\browserfs\dist\browserfs.js:20341:5) at Object.<anonymous> (C:\folder\to\app\index.js:5:11) at Module._compile (internal/modules/cjs/loader.js:722:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:733:10) at Module.load (internal/modules/cjs/loader.js:620:32) at tryModuleLoad (internal/modules/cjs/loader.js:560:12) at Function.Module._load (internal/modules/cjs/loader.js:552:3)
I'm missconfigurating something, maybe? This is my app:
varDropbox=require('dropbox').Dropbox;varfetch=require('isomorphic-fetch');varclient=newDropbox({accessToken: 'CensoredAccesKeyADSFsGagSG52FdGd',fetch:fetch});varBrowserFS=require('browserfs');BrowserFS.configure({fs: "DropboxV2",options: {client: client}},function(e){if(e){throwe;}});varfs=BrowserFS.BFSRequire('fs');constexpress=require(express);constapp=express();app.get("/",function(req,res){res.send("Hi! Not even using BrowserFS")});app.listen(3000);
The text was updated successfully, but these errors were encountered:
Hi! I was doing a test on a basic Node/express app just to see how it works and instantly it threw me an error:
C:\folder\to\app\index.js:12 throw e; ^ Error at new ApiError (C:\folder\to\app\node_modules\browserfs\dist\browserfs.js:5430:22) at finish (C:\folder\to\app\node_modules\browserfs\dist\browserfs.js:20369:20) at getFileSystem (C:\folder\to\app\node_modules\browserfs\dist\browserfs.js:20405:9) at Object.configure (C:\folder\to\app\node_modules\browserfs\dist\browserfs.js:20341:5) at Object.<anonymous> (C:\folder\to\app\index.js:5:11) at Module._compile (internal/modules/cjs/loader.js:722:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:733:10) at Module.load (internal/modules/cjs/loader.js:620:32) at tryModuleLoad (internal/modules/cjs/loader.js:560:12) at Function.Module._load (internal/modules/cjs/loader.js:552:3)
I'm missconfigurating something, maybe? This is my app:
The text was updated successfully, but these errors were encountered: