Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Step 1.3 - Add platform cannot find module 'dezalgo' #54

Open
GTTeric opened this issue Feb 11, 2018 · 6 comments
Open

Step 1.3 - Add platform cannot find module 'dezalgo' #54

GTTeric opened this issue Feb 11, 2018 · 6 comments

Comments

@GTTeric
Copy link

GTTeric commented Feb 11, 2018

image

Step 3 of the Whatsapp tutorial doesn't work regardless of whether I try to install the iOS simulator or the Android emulator. Keep getting the above error. I even 'meteor npm install'ed that module and it still doesn't work. Google was also no help.

Anyone know what's going on?

EDIT: This link would be helpful to have in the tutorial... Especially since meteor is only compatible with certain versions. I already have Android Studio installed so I will try to replace the tools folder and check the other pre-reqs to see if I can get it working. Will update if I do.

EDIT2: Nothing worked 😢 Still getting the same error. Added ANDROID_HOME paths and everything.

@GTTeric GTTeric changed the title Step 3 - Add platform cannot find module 'dezalgo' Step 1.3 - Add platform cannot find module 'dezalgo' Feb 11, 2018
@mouti3
Copy link

mouti3 commented Mar 15, 2018

Same problem

@Gosselk
Copy link

Gosselk commented Mar 19, 2018

Same problem for me

@ghost
Copy link

ghost commented Mar 28, 2018

Same problem (using Meteor 1.6)

@Gosselk
Copy link

Gosselk commented Mar 28, 2018

i have found this :
meteor npm i -g write-file-atomic path-is-inside async-some dezalgo

it's work fine for add android and ios with meteor add-platform android

@erisevaline
Copy link

@Gosselk Worked for me, thanks !

@lflores1961
Copy link

Gosselk proposal won't work for me. Ubuntu 18.04; Node 8.10.0; npm 3.5.2
$ meteor add-platform android
/home/lflores/.meteor/packages/meteor-tool/.1.6.1_1.c76v6p.io9tw++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/meteor-promise/promise_server.js:218
throw error;
^

Error: Cannot find module 'dezalgo'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/home/lflores/.meteor/packages/meteor-tool/.1.6.1_1.c76v6p.io9tw++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/cordova-lib/node_modules/npm/lib/utils/correct-mkdir.js:2:15)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at Module.Mp.load (/tools/tool-env/install-runtime.js:16:29)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/home/lflores/.meteor/packages/meteor-tool/.1.6.1_1.c76v6p.io9tw++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/cordova-lib/node_modules/npm/lib/cache/get-stat.js:2:20)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at Module.Mp.load (/tools/tool-env/install-runtime.js:16:29)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/home/lflores/.meteor/packages/meteor-tool/.1.6.1_1.c76v6p.io9tw++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/cordova-lib/node_modules/npm/lib/cache/caching-client.js:12:20)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at Module.Mp.load (/tools/tool-env/install-runtime.js:16:29)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at /home/lflores/.meteor/packages/meteor-tool/.1.6.1_1.c76v6p.io9tw++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/cordova-lib/node_modules/npm/lib/npm.js:23:24
at Object. (/home/lflores/.meteor/packages/meteor-tool/.1.6.1_1.c76v6p.io9tw++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/cordova-lib/node_modules/npm/lib/npm.js:475:3)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at Module.Mp.load (/tools/tool-env/install-runtime.js:16:29)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/home/lflores/.meteor/packages/meteor-tool/.1.6.1_1.c76v6p.io9tw++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/cordova-lib/src/plugman/registry/registry.js:20:11)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at Module.Mp.load (/tools/tool-env/install-runtime.js:16:29)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/home/lflores/.meteor/packages/meteor-tool/.1.6.1_1.c76v6p.io9tw++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/cordova-lib/src/plugman/fetch.js:32:16)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at Module.Mp.load (/tools/tool-env/install-runtime.js:16:29)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/home/lflores/.meteor/packages/meteor-tool/.1.6.1_1.c76v6p.io9tw++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/cordova-lib/src/plugman/plugman.js:33:12)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at Module.Mp.load (/tools/tool-env/install-runtime.js:16:29)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/home/lflores/.meteor/packages/meteor-tool/.1.6.1_1.c76v6p.io9tw++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/cordova-lib/cordova-lib.js:33:14)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at Module.Mp.load (/tools/tool-env/install-runtime.js:16:29)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/tools/cordova/project.js:1:1137)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at Module.Mp.load (/tools/tool-env/install-runtime.js:16:29)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at doAddPlatform (/tools/cli/commands-cordova.js:1:33)
at Command.func (/tools/cli/commands-cordova.js:125:3)
at /tools/cli/main.js:1523:15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants