Skip to content
This repository has been archived by the owner on Dec 27, 2018. It is now read-only.

Incomplete package.json? #37

Closed
lorensr opened this issue May 4, 2016 · 5 comments
Closed

Incomplete package.json? #37

lorensr opened this issue May 4, 2016 · 5 comments

Comments

@lorensr
Copy link

lorensr commented May 4, 2016

I get this recommendation:

Consider running: meteor npm install --save sass stylus less markdown discount markdown-js marked coffee-script _process base64-js ieee754 is-array
core-util-is inherits isarray string_decoder readable-stream browser-stdout browser growl jade

when I try to test meteor/todos, which uses:

practicalmeteor:mocha@2.1.1-rc.1
practicalmeteor:mocha-core@0.1.4

Full repro:

> git clone git@github.com:meteor/todos.git && cd todos
> npm install
> npm run test-watch

> @ test-watch /Users/me/repro/todos
> meteor test --driver-package practicalmeteor:mocha

[[[[[ Tests ]]]]]                             

=> Started proxy.                             
=> Started MongoDB.                           
=> Meteor 1.3.2.4 is available. Update this project with 'meteor update'.

Unable to resolve some modules:

  "sass" in                                   
/Users/me/.meteor/packages/practicalmeteor_mocha/.2.1.1-rc.1.h8ypk6++os+web.browser+web.cordova/npm/node_modules/mocha/node_modules/jade/lib/filters.js
(web.browser)
  "stylus" in                                 
/Users/me/.meteor/packages/practicalmeteor_mocha/.2.1.1-rc.1.h8ypk6++os+web.browser+web.cordova/npm/node_modules/mocha/node_modules/jade/lib/filters.js
(web.browser)
  "less" in                                   
/Users/me/.meteor/packages/practicalmeteor_mocha/.2.1.1-rc.1.h8ypk6++os+web.browser+web.cordova/npm/node_modules/mocha/node_modules/jade/lib/filters.js
(web.browser)
  "markdown" in                               
/Users/me/.meteor/packages/practicalmeteor_mocha/.2.1.1-rc.1.h8ypk6++os+web.browser+web.cordova/npm/node_modules/mocha/node_modules/jade/lib/filters.js
(web.browser)
  "discount" in                               
/Users/me/.meteor/packages/practicalmeteor_mocha/.2.1.1-rc.1.h8ypk6++os+web.browser+web.cordova/npm/node_modules/mocha/node_modules/jade/lib/filters.js
(web.browser)
  "markdown-js" in                            
/Users/me/.meteor/packages/practicalmeteor_mocha/.2.1.1-rc.1.h8ypk6++os+web.browser+web.cordova/npm/node_modules/mocha/node_modules/jade/lib/filters.js
(web.browser)
  "marked" in                                 
/Users/me/.meteor/packages/practicalmeteor_mocha/.2.1.1-rc.1.h8ypk6++os+web.browser+web.cordova/npm/node_modules/mocha/node_modules/jade/lib/filters.js
(web.browser)
  "coffee-script" in                          
/Users/me/.meteor/packages/practicalmeteor_mocha/.2.1.1-rc.1.h8ypk6++os+web.browser+web.cordova/npm/node_modules/mocha/node_modules/jade/lib/filters.js
(web.browser)
  "_process" in /Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js
(web.browser)
  "base64-js" in /Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js
(web.browser)
  "ieee754" in /Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js
(web.browser)
  "is-array" in /Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js
(web.browser)
  "core-util-is" in /Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js
(web.browser)
  "inherits" in /Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js
(web.browser)
  "isarray" in /Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js
(web.browser)
  "string_decoder/" in /Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js
(web.browser)
  "readable-stream/readable.js" in            
/Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js (web.browser)
  "readable-stream/writable.js" in            
/Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js (web.browser)
  "readable-stream/duplex.js" in              
/Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js (web.browser)
  "readable-stream/transform.js" in           
/Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js (web.browser)
  "readable-stream/passthrough.js" in         
/Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js (web.browser)
  "browser-stdout" in /Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js
(web.browser)
  "browser/escape-string-regexp" in           
/Users/me/.meteor/packages/practicalmeteor_mocha/.2.1.1-rc.1.h8ypk6++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js (web.browser)
  "browser/path" in /Users/me/.meteor/packages/practicalmeteor_mocha/.2.1.1-rc.1.h8ypk6++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js
(web.browser)
  "growl" in /Users/me/.meteor/packages/practicalmeteor_mocha/.2.1.1-rc.1.h8ypk6++os+web.browser+web.cordova/web.browser/mocha.js (web.browser)
  "browser/tty" in /Users/me/.meteor/packages/practicalmeteor_mocha/.2.1.1-rc.1.h8ypk6++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js
(web.browser)
  "browser/diff" in /Users/me/.meteor/packages/practicalmeteor_mocha/.2.1.1-rc.1.h8ypk6++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js
(web.browser)
  "browser/fs" in /Users/me/.meteor/packages/practicalmeteor_mocha/.2.1.1-rc.1.h8ypk6++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js
(web.browser)
  "jade" in /Users/me/.meteor/packages/practicalmeteor_mocha/.2.1.1-rc.1.h8ypk6++os+web.browser+web.cordova/web.browser/mocha.js (web.browser)
  "browser/events" in /Users/me/.meteor/packages/practicalmeteor_mocha/.2.1.1-rc.1.h8ypk6++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js
(web.browser)
  "browser/debug" in /Users/me/.meteor/packages/practicalmeteor_mocha/.2.1.1-rc.1.h8ypk6++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js
(web.browser)
  "browser/glob" in /Users/me/.meteor/packages/practicalmeteor_mocha/.2.1.1-rc.1.h8ypk6++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js
(web.browser)

Consider running: meteor npm install --save sass stylus less markdown discount markdown-js marked coffee-script _process base64-js ieee754 is-array
core-util-is inherits isarray string_decoder readable-stream browser-stdout browser growl jade

moved from meteor/todos#130 (comment)

@jsep
Copy link

jsep commented May 4, 2016

meteor/todos is using a older version if you add update to the latest version this issue should be solved.

Please try:

meteor add practicalmeteor:mocha@2.4.5_2

Let me know if this continue.

@lorensr
Copy link
Author

lorensr commented May 4, 2016

Thanks! Updated, looks like same error:

Unable to resolve some modules:

  "sass" in                                   
/Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/node_modules/jade/lib/filters.js
(web.browser)
  "stylus" in                                 
/Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/node_modules/jade/lib/filters.js
(web.browser)
  "less" in                                   
/Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/node_modules/jade/lib/filters.js
(web.browser)
  "markdown" in                               
/Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/node_modules/jade/lib/filters.js
(web.browser)
  "discount" in                               
/Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/node_modules/jade/lib/filters.js
(web.browser)
  "markdown-js" in                            
/Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/node_modules/jade/lib/filters.js
(web.browser)
  "marked" in                                 
/Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/node_modules/jade/lib/filters.js
(web.browser)
  "coffee-script" in                          
/Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/node_modules/jade/lib/filters.js
(web.browser)
  "_process" in /Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js
(web.browser)
  "base64-js" in /Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js
(web.browser)
  "ieee754" in /Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js
(web.browser)
  "is-array" in /Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js
(web.browser)
  "core-util-is" in /Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js
(web.browser)
  "inherits" in /Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js
(web.browser)
  "isarray" in /Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js
(web.browser)
  "string_decoder/" in /Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js
(web.browser)
  "readable-stream/readable.js" in            
/Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js (web.browser)
  "readable-stream/writable.js" in            
/Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js (web.browser)
  "readable-stream/duplex.js" in              
/Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js (web.browser)
  "readable-stream/transform.js" in           
/Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js (web.browser)
  "readable-stream/passthrough.js" in         
/Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js (web.browser)
  "browser-stdout" in /Users/me/.meteor/packages/dispatch_mocha-phantomjs/.0.0.4.qem3ft++os+web.browser+web.cordova/npm/node_modules/mocha/mocha.js
(web.browser)

Consider running: meteor npm install --save sass stylus less markdown discount markdown-js marked coffee-script _process base64-js ieee754 is-array
core-util-is inherits isarray string_decoder readable-stream browser-stdout

image

@jsep
Copy link

jsep commented May 4, 2016

@lorensr we ran into this issue before, see #19 for more details, basically is the meteor itself that is causing this. You just have to update the meteor version with the meteor update command.

@lorensr
Copy link
Author

lorensr commented May 4, 2016

Thanks, fixed!

@lorensr lorensr closed this as completed May 4, 2016
@jsep
Copy link

jsep commented May 4, 2016

You're welcome, I'm glad it works. 😄

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

No branches or pull requests

2 participants