Angular-Meteor Whatsapp tutorial - okland:accounts-phone


#1

I am having problems with the whatsapp tutorial at step 4. When I try to install the okland:accounts-phone package I get the following:

 => Errors while adding packages:

While loading package npm-bcrypt@0.7.8_2:
error: Command failed: C:\Users\domin\AppData\Local\.meteor\packages\meteor-tool\1.4.1_1\mt-os.windows.x86_32\dev_bundle\bin\npm.cmd rebuild --no-bin-links
--update-binary
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable
"C:\Users\domin\AppData\Local\.meteor\packages\meteor-tool\1.4.1_1\mt-os.windows.x86_32\dev_bundle\python\python.exe", you can set the PYTHON env variable.
gyp ERR! stack     at failNoPython
(C:\Users\domin\AppData\Local\.meteor\packages\meteor-tool\1.4.1_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\npm\node_modules\node-gyp\lib\configure.js:449:14)
gyp ERR! stack     at
C:\Users\domin\AppData\Local\.meteor\packages\meteor-tool\1.4.1_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\npm\node_modules\node-gyp\lib\configure.js:404:11
gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:82:15)
gyp ERR! System Windows_NT 10.0.14393
gyp ERR! command "C:\\Users\\domin\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.1_1\\mt-os.windows.x86_32\\dev_bundle\\bin\\node.exe"
"C:\\Users\\domin\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.1_1\\mt-os.windows.x86_32\\dev_bundle\\lib\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js"
"rebuild"
gyp ERR! cwd C:\Users\domin\AppData\Local\.meteor\packages\npm-bcrypt\0.7.8_2\npm\node_modules\.temp-14u1nox\node_modules\bcrypt
gyp ERR! node -v v4.5.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok

npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Users\\domin\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.1_1\\mt-os.windows.x86_32\\dev_bundle\\bin\\node.exe"
"C:\\Users\\domin\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.1_1\\mt-os.windows.x86_32\\dev_bundle\\lib\\node_modules\\npm\\bin\\npm-cli.js" "rebuild"
"--no-bin-links" "--update-binary"
npm ERR! node v4.5.0
npm ERR! npm  v3.10.6
npm ERR! code ELIFECYCLE
npm ERR! bcrypt@0.7.8 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bcrypt@0.7.8 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the bcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs bcrypt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls bcrypt
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\domin\AppData\Local\.meteor\packages\npm-bcrypt\0.7.8_2\npm\node_modules\.temp-14u1nox\npm-debug.log
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable
"C:\Users\domin\AppData\Local\.meteor\packages\meteor-tool\1.4.1_1\mt-os.windows.x86_32\dev_bundle\python\python.exe", you can set the PYTHON env variable.
gyp ERR! stack     at failNoPython
(C:\Users\domin\AppData\Local\.meteor\packages\meteor-tool\1.4.1_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\npm\node_modules\node-gyp\lib\configure.js:449:14)
gyp ERR! stack     at
C:\Users\domin\AppData\Local\.meteor\packages\meteor-tool\1.4.1_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\npm\node_modules\node-gyp\lib\configure.js:404:11
gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:82:15)
gyp ERR! System Windows_NT 10.0.14393
gyp ERR! command "C:\\Users\\domin\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.1_1\\mt-os.windows.x86_32\\dev_bundle\\bin\\node.exe"
"C:\\Users\\domin\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.1_1\\mt-os.windows.x86_32\\dev_bundle\\lib\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js"
"rebuild"
gyp ERR! cwd C:\Users\domin\AppData\Local\.meteor\packages\npm-bcrypt\0.7.8_2\npm\node_modules\.temp-14u1nox\node_modules\bcrypt
gyp ERR! node -v v4.5.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok

npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Users\\domin\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.1_1\\mt-os.windows.x86_32\\dev_bundle\\bin\\node.exe"
"C:\\Users\\domin\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.1_1\\mt-os.windows.x86_32\\dev_bundle\\lib\\node_modules\\npm\\bin\\npm-cli.js" "rebuild"
"--no-bin-links" "--update-binary"
npm ERR! node v4.5.0
npm ERR! npm  v3.10.6
npm ERR! code ELIFECYCLE
npm ERR! bcrypt@0.7.8 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bcrypt@0.7.8 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the bcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs bcrypt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls bcrypt
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\domin\AppData\Local\.meteor\packages\npm-bcrypt\0.7.8_2\npm\node_modules\.temp-14u1nox\npm-debug.log

The log file is not generated, otherwise I would upload it.

I carried on to 4.12 (I don’t care about the number authentication, I set a bypass in the settings.json) and whenever I try to start my project I get this in the command line:

C:\Users\domin\Documents\Meteor\whatsapp>meteor
[[[[[ C:\Users\domin\Documents\Meteor\whatsapp ]]]]]

=> Started proxy.
=> Started MongoDB.
W20160929-13:45:11.987(1)? (STDERR) C:\Users\domin\AppData\Local\.meteor\packages\meteor-tool\1.4.1_1\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\fibers\future.js:280
W20160929-13:45:12.065(1)? (STDERR)                                             throw(ex);
W20160929-13:45:12.069(1)? (STDERR)                                             ^
W20160929-13:45:12.076(1)? (STDERR)
W20160929-13:45:12.080(1)? (STDERR) Error: Can't find npm module 'meteor/accounts-base'. Did you forget to call 'Npm.depends' in package.js within the 'modules-runtime' package?
W20160929-13:45:12.088(1)? (STDERR)     at Object.Npm.require (C:\Users\domin\Documents\Meteor\whatsapp\.meteor\local\build\programs\server\boot.js:198:17)
W20160929-13:45:12.092(1)? (STDERR)     at options.fallback (packages/modules-runtime/modules-runtime.js:21:1)
W20160929-13:45:12.096(1)? (STDERR)     at Module.require (packages/modules-runtime/.npm/package/node_modules/install/install.js:88:1)
W20160929-13:45:12.104(1)? (STDERR)     at Module.Mp.import (C:\Users\domin\AppData\Local\.meteor\packages\modules\0.7.6\npm\node_modules\reify\lib\runtime.js:70:16)
W20160929-13:45:12.107(1)? (STDERR)     at meteorInstall.server.sms.js (server/sms.js:1:1)
W20160929-13:45:12.116(1)? (STDERR)     at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:153:1)
W20160929-13:45:12.119(1)? (STDERR)     at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:82:1)
W20160929-13:45:12.123(1)? (STDERR)     at C:\Users\domin\Documents\Meteor\whatsapp\.meteor\local\build\programs\server\app\app.js:127:1
W20160929-13:45:12.131(1)? (STDERR)     at C:\Users\domin\Documents\Meteor\whatsapp\.meteor\local\build\programs\server\boot.js:292:10
W20160929-13:45:12.134(1)? (STDERR)     at Function._.each._.forEach (C:\Users\domin\Documents\Meteor\whatsapp\node_modules\underscore\underscore.js:153:9)
=> Exited with code: 1
W20160929-13:45:20.957(1)? (STDERR) C:\Users\domin\AppData\Local\.meteor\packages\meteor-tool\1.4.1_1\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\fibers\future.js:280
W20160929-13:45:20.959(1)? (STDERR)                                             throw(ex);
W20160929-13:45:20.961(1)? (STDERR)                                             ^
W20160929-13:45:20.962(1)? (STDERR)
W20160929-13:45:20.963(1)? (STDERR) Error: Can't find npm module 'meteor/accounts-base'. Did you forget to call 'Npm.depends' in package.js within the 'modules-runtime' package?
W20160929-13:45:20.965(1)? (STDERR)     at Object.Npm.require (C:\Users\domin\Documents\Meteor\whatsapp\.meteor\local\build\programs\server\boot.js:198:17)
W20160929-13:45:20.972(1)? (STDERR)     at options.fallback (packages/modules-runtime/modules-runtime.js:21:1)
W20160929-13:45:20.973(1)? (STDERR)     at Module.require (packages/modules-runtime/.npm/package/node_modules/install/install.js:88:1)
W20160929-13:45:20.975(1)? (STDERR)     at Module.Mp.import (C:\Users\domin\AppData\Local\.meteor\packages\modules\0.7.6\npm\node_modules\reify\lib\runtime.js:70:16)
W20160929-13:45:20.976(1)? (STDERR)     at meteorInstall.server.sms.js (server/sms.js:1:1)
W20160929-13:45:20.977(1)? (STDERR)     at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:153:1)
W20160929-13:45:20.978(1)? (STDERR)     at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:82:1)
W20160929-13:45:20.979(1)? (STDERR)     at C:\Users\domin\Documents\Meteor\whatsapp\.meteor\local\build\programs\server\app\app.js:127:1
W20160929-13:45:20.986(1)? (STDERR)     at C:\Users\domin\Documents\Meteor\whatsapp\.meteor\local\build\programs\server\boot.js:292:10
W20160929-13:45:20.987(1)? (STDERR)     at Function._.each._.forEach (C:\Users\domin\Documents\Meteor\whatsapp\node_modules\underscore\underscore.js:153:9)
=> Exited with code: 1
W20160929-13:45:27.600(1)? (STDERR) C:\Users\domin\AppData\Local\.meteor\packages\meteor-tool\1.4.1_1\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\fibers\future.js:280
W20160929-13:45:27.602(1)? (STDERR)                                             throw(ex);
W20160929-13:45:27.603(1)? (STDERR)                                             ^
W20160929-13:45:27.604(1)? (STDERR)
W20160929-13:45:27.605(1)? (STDERR) Error: Can't find npm module 'meteor/accounts-base'. Did you forget to call 'Npm.depends' in package.js within the 'modules-runtime' package?
W20160929-13:45:27.607(1)? (STDERR)     at Object.Npm.require (C:\Users\domin\Documents\Meteor\whatsapp\.meteor\local\build\programs\server\boot.js:198:17)
W20160929-13:45:27.608(1)? (STDERR)     at options.fallback (packages/modules-runtime/modules-runtime.js:21:1)
W20160929-13:45:27.615(1)? (STDERR)     at Module.require (packages/modules-runtime/.npm/package/node_modules/install/install.js:88:1)
W20160929-13:45:27.616(1)? (STDERR)     at Module.Mp.import (C:\Users\domin\AppData\Local\.meteor\packages\modules\0.7.6\npm\node_modules\reify\lib\runtime.js:70:16)
W20160929-13:45:27.618(1)? (STDERR)     at meteorInstall.server.sms.js (server/sms.js:1:1)
W20160929-13:45:27.619(1)? (STDERR)     at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:153:1)
W20160929-13:45:27.620(1)? (STDERR)     at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:82:1)
W20160929-13:45:27.621(1)? (STDERR)     at C:\Users\domin\Documents\Meteor\whatsapp\.meteor\local\build\programs\server\app\app.js:127:1
W20160929-13:45:27.622(1)? (STDERR)     at C:\Users\domin\Documents\Meteor\whatsapp\.meteor\local\build\programs\server\boot.js:292:10
W20160929-13:45:27.628(1)? (STDERR)     at Function._.each._.forEach (C:\Users\domin\Documents\Meteor\whatsapp\node_modules\underscore\underscore.js:153:9)
=> Exited with code: 1
=> Your application is crashing. Waiting for file change.

Here is my code so far: https://github.com/dom38/WhatsappClone

I’m on windows 10 64bit

Thanks for any help you can give, it’s my first jump into meteor.


#2

Try:

meteor update
meteor update --all-packages
meteor add npm-bcrypt@0.9.1
meteor add okland:accounts-phone 

If that doesn’t help check out the following (very long) issues: