nativescript-nodeify icon indicating copy to clipboard operation
nativescript-nodeify copied to clipboard

cann't install nativescript-nodeify

Open ghost opened this issue 8 years ago • 12 comments

I cann't install nativescript-nodeify. Its giving error npm ERR! addLocal Could not install /Users/Mukesh/Documents/Suman Workspace/OpportunityDealer_V1.0 EISDIR: illegal operation on a directory, read

Any idea why?

ghost avatar Apr 04 '17 10:04 ghost

Nope, this is not enough info to go by..

EddyVerbruggen avatar Apr 04 '17 10:04 EddyVerbruggen

@EddyVerbruggen Thanks for your reply. Now its install. But after running its giving error screenshot_1491465047

Any idea??

ghost avatar Apr 06 '17 07:04 ghost

Did you add this before calling the function that throws the error you reported?

require("nativescript-nodeify");

EddyVerbruggen avatar Apr 06 '17 10:04 EddyVerbruggen

@EddyVerbruggen yes

ghost avatar Apr 06 '17 12:04 ghost

Can I clone you project and reproduce the error?

EddyVerbruggen avatar Apr 06 '17 12:04 EddyVerbruggen

@EddyVerbruggen Yeah sure, I created a demo.

Hope so you can find any error as well as solution. Thanks :) awsDemo.zip

ghost avatar Apr 06 '17 13:04 ghost

Thanks,

I downloaded it, ran npm i, then tns run ios and pressed both buttons. No errors yet. How do I trigger the error?

EddyVerbruggen avatar Apr 06 '17 13:04 EddyVerbruggen

Hi @EddyVerbruggen

My steps are:-

  1. tns plugin add nativescript-nodeify
  2. npm install node-uuid --save
  3. npm install jsonwebtoken --save
  4. npm install aws-sdk --save
  5. tns run android

ghost avatar Apr 07 '17 05:04 ghost

Hi @EddyVerbruggen today i occurred 2 new errors.

Firstly, #3 Secondly, currently not occurring, when it will show i will update this commant.

I want to ask a question, is there is any condition of having latest version of NativeScript ??

ghost avatar Apr 07 '17 12:04 ghost

Hi @EddyVerbruggen finally nativescript-nodeify is running in my app.

But I cann't successfully upload data on aws.s3. Its giving error.

let bucket = new AWS.S3({ params: { Bucket: bucket_name} });

let params = { Key: 'key_name', Body: JSON.stringify(userObj) };

bucket.upload(params, function(err, result) { if (!err) { console.log(result); } else { console.log(err); } });

ERROR: BadDigest: The Content-MD5 you specified did not match what we received.

Any idea where I am wrong?

ghost avatar Apr 10 '17 07:04 ghost

Hi @EddyVerbruggen I have successfully installed nativescript-nodeify and its working now. I can upload or rerieve data from aws.s3.

Thanks for this plugin. But an error is always occurring, whenever I start my app i.e tns run android its give me error Cannot find module 'file-system/file-system-access' whenever to run my app I have delete node-modules than new intallation than tns run android. Its give headache now.

What can I do now?? Any solution? screen shot 2017-04-12 at 5 39 09 pm

ghost avatar Apr 12 '17 12:04 ghost

I get same issue with [email protected], any suggestion?

JonathasNascimento avatar Aug 24 '17 19:08 JonathasNascimento