1.3 problem npm install

After upgrading to 1.3 and running the app, the console displays the following:-

Consider running: meteor npm install --save jquery spin.js
meteor-node-stubs d3 datatables datatables.net datatables.net-bs
datatables.net-buttons datatables.net-responsive moment
desandro-get-style-property eventie doc-ready desandro-matches-selector
wolfy87-eventemitter get-size fizzy-ui-utils outlayer transitionize
fastclick switchery

running this command errors with the following:-

C:\Users\Geoff Davis\AppData\Local.meteor\packages\meteor-tool\1.3.0_3\mt-os.windows.86_32\dev_bundle\bin\node.exe C:\Users\Geoff Davis\AppData\Local.meteor\packages\meteor-tool\1.3.0_3\mt-os.windows.x86_32\dev_bundle\bin\…\lib\node_modules\npm\bin\npm-cli.js install --save jquery spin.js meteor-node-stubs d3 datatables datatables.net datatables.net-bs datatables.net-buttons datatables.net-responsive moment desandro-get-style-property eventie doc-ready desandro-matches-selector wolfy87-eventemitter get-size fizzy-ui-utils outlayer transitionize fastclick switchery
’C:\Users\Geoff’ is not recognized as an internal or external command,
operable program or batch file.

Is this a problem because there is a space in my user name? How can I fix this issue? I have tried to replace the space with %20 but that doesn’t work, probably because I have a directory under users as Geoff%20Davis already, a local login I think before I used a Microsoft login.

I am using Windows 10.

1 Like

I’ve had similar issues with angular package. However, the author had fixed the issue https://github.com/Urigo/angular-meteor/issues/1303#issuecomment-202908120

Looking at https://github.com/Urigo/angular-meteor/commit/dedd158fce73816e5f8103a6c427c48ae01692bf it does the following

  • Remove the check to see if export is capable and explicitly export the modules from there.
  • Remove the use of Npm.depends in package.js