EddyVerbruggen / nativescript-aws

[DEPRECATED, see the readme] NativeScript plugin for Amazon's AWS :cloud: services
Other
14 stars 4 forks source link

Could not find module 'crypto' #8

Open haris008 opened 7 years ago

haris008 commented 7 years ago

I am having this issue while executing was code.

JS ERROR Error: Could not find module 'crypto'. Computed path '/var/mobile/Containers/Data/Application/018EF054-F198-4054-9261-AD4D9CFF154D/Library/Application Support/LiveSync/app/tns_modules/crypto'.

plugin also available in packages.json

"nativescript-aws": "^1.0.0",

brunohenriquesk1 commented 7 years ago

same here

ralph-fuechtenkort commented 6 years ago

same with me using rxdb or pouchdb

cgebe commented 6 years ago

Same here when using NeDB. com.tns.NativeScriptException: Failed to find module: "crypto", relative to: app/tns_modules/

This issue even cannot be fixed by adding crypto as module in package.json. crypto@1.0.1: This package is no longer supported. It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in.

crypto is not built-in...

apopiidoru commented 6 years ago

Same here ... any updates on this ?

EddyVerbruggen commented 6 years ago

Have you seen the deprecation warning (and alternative) at the top of the repo's readme?