{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/7990","repository_url":"https://api.github.com/repos/meteor/meteor","labels_url":"https://api.github.com/repos/meteor/meteor/issues/7990/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/7990/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/7990/events","html_url":"https://github.com/meteor/meteor/issues/7990","id":186065654,"number":7990,"title":"[1.4.2] Error: Cannot find module './lib'","user":{"login":"tnedich","id":6969501,"avatar_url":"https://avatars.githubusercontent.com/u/6969501?v=3","gravatar_id":"","url":"https://api.github.com/users/tnedich","html_url":"https://github.com/tnedich","followers_url":"https://api.github.com/users/tnedich/followers","following_url":"https://api.github.com/users/tnedich/following{/other_user}","gists_url":"https://api.github.com/users/tnedich/gists{/gist_id}","starred_url":"https://api.github.com/users/tnedich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tnedich/subscriptions","organizations_url":"https://api.github.com/users/tnedich/orgs","repos_url":"https://api.github.com/users/tnedich/repos","events_url":"https://api.github.com/users/tnedich/events{/privacy}","received_events_url":"https://api.github.com/users/tnedich/received_events","type":"User","site_admin":false},"labels":[{"id":261247893,"url":"https://api.github.com/repos/meteor/meteor/labels/can't-reproduce","name":"can't-reproduce","color":"e11d21","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2016-10-29T07:51:09Z","updated_at":"2016-11-01T17:01:53Z","closed_at":null,"body":"After updateing project to Meteor 1.4.2 I get this error:\n\n```\nW20161029-09:47:38.595(2)? (STDERR) C:\\Users\\****\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.2\\mt-os.windows.x86_32\\dev_bundle\\server-lib\\node_modules\\fibers\\future.js:280\nW20161029-09:47:38.906(2)? (STDERR)                                             throw(ex);\nW20161029-09:47:38.908(2)? (STDERR)                                             ^\nW20161029-09:47:38.909(2)? (STDERR)\nW20161029-09:47:38.910(2)? (STDERR) Error: Cannot find module './lib'\nW20161029-09:47:38.912(2)? (STDERR)     at require (packages\\modules-runtime.js:109:19)\nW20161029-09:47:38.913(2)? (STDERR)     at meteorInstall.node_modules.faker.index.js (packages\\modules.js:372:13)\nW20161029-09:47:38.915(2)? (STDERR)     at fileEvaluate (packages\\modules-runtime.js:181:9)\nW20161029-09:47:38.917(2)? (STDERR)     at Module.require (packages\\modules-runtime.js:106:16)\nW20161029-09:47:38.918(2)? (STDERR)     at Module.Mp.import (C:\\Users\\Admin\\AppData\\Local\\.meteor\\packages\\modules\\0.7.7\\npm\\node_modules\\reify\\lib\\runtime.js:70:16)\nW20161029-09:47:38.920(2)? (STDERR)     at meteorInstall.imports.api.documents.documents.js (imports/api/documents/documents.js:1:1)\nW20161029-09:47:38.922(2)? (STDERR)     at fileEvaluate (packages\\modules-runtime.js:181:9)\nW20161029-09:47:38.924(2)? (STDERR)     at Module.require (packages\\modules-runtime.js:106:16)\nW20161029-09:47:38.926(2)? (STDERR)     at Module.Mp.import (C:\\Users\\Admin\\AppData\\Local\\.meteor\\packages\\modules\\0.7.7\\npm\\node_modules\\reify\\lib\\runtime.js:70:16)\nW20161029-09:47:38.927(2)? (STDERR)     at meteorInstall.imports.api.documents.methods.js (imports/api/documents/methods.js:1:1)\n```\n\nOS: Windows 7 64-bit\n"},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/257624553","html_url":"https://github.com/meteor/meteor/issues/7990#issuecomment-257624553","issue_url":"https://api.github.com/repos/meteor/meteor/issues/7990","id":257624553,"user":{"login":"namirsab","id":6980777,"avatar_url":"https://avatars.githubusercontent.com/u/6980777?v=3","gravatar_id":"","url":"https://api.github.com/users/namirsab","html_url":"https://github.com/namirsab","followers_url":"https://api.github.com/users/namirsab/followers","following_url":"https://api.github.com/users/namirsab/following{/other_user}","gists_url":"https://api.github.com/users/namirsab/gists{/gist_id}","starred_url":"https://api.github.com/users/namirsab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/namirsab/subscriptions","organizations_url":"https://api.github.com/users/namirsab/orgs","repos_url":"https://api.github.com/users/namirsab/repos","events_url":"https://api.github.com/users/namirsab/events{/privacy}","received_events_url":"https://api.github.com/users/namirsab/received_events","type":"User","site_admin":false},"created_at":"2016-11-01T17:01:53Z","updated_at":"2016-11-01T17:01:53Z","body":"In my case, the problem happen when running tests\r\nI have a package with a npm dependency defined with `Npm.depends`\r\nWhen I run the tests, it complains and throw this error.\r\n\r\n```\r\nW20161101-15:49:55.710(1)? (STDERR) /home/michael_lazarski/.meteor/packages/meteor-tool/.1.4.2.bfpvb6++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:280\r\nW20161101-15:49:55.796(1)? (STDERR)                                             throw(ex);\r\nW20161101-15:49:55.797(1)? (STDERR)                                             ^\r\nW20161101-15:49:55.797(1)? (STDERR) \r\nW20161101-15:49:55.797(1)? (STDERR) Error: Cannot find module './lib/cheerio'\r\nW20161101-15:49:55.797(1)? (STDERR)     at require (packages/modules-runtime.js:109:19)\r\nW20161101-15:49:55.798(1)? (STDERR)     at meteorInstall.node_modules.meteor.local-test:qlp:qlp-relationable.node_modules.cheerio.index.js (/tmp/meteor-test-run1g6n850/.meteor/local/build/programs/server/packages/local-test_qlp_qlp-relationable.js:1400:28)\r\nW20161101-15:49:55.798(1)? (STDERR)     at fileEvaluate (packages/modules-runtime.js:181:9)\r\nW20161101-15:49:55.798(1)? (STDERR)     at Module.require (packages/modules-runtime.js:106:16)\r\nW20161101-15:49:55.800(1)? (STDERR)     at Module.Mp.import (/home/michael_lazarski/.meteor/packages/modules/.0.7.7.1wd47ms++os+web.browser+web.cordova/npm/node_modules/reify/lib/runtime.js:70:16)\r\nW20161101-15:49:55.800(1)? (STDERR)     at meteorInstall.node_modules.meteor.local-test:qlp:qlp-relationable.server.tests.Relationable.spec.js (packages/local-test:qlp:qlp-relationable/server/tests/Relationable.spec.js:1:1)\r\nW20161101-15:49:55.800(1)? (STDERR)     at fileEvaluate (packages/modules-runtime.js:181:9)\r\nW20161101-15:49:55.801(1)? (STDERR)     at require (packages/modules-runtime.js:106:16)\r\nW20161101-15:49:55.801(1)? (STDERR)     at /tmp/meteor-test-run1g6n850/.meteor/local/build/programs/server/packages/local-test_qlp_qlp-relationable.js:1411:1\r\nW20161101-15:49:55.802(1)? (STDERR)     at /tmp/meteor-test-run1g6n850/.meteor/local/build/programs/server/packages/local-test_qlp_qlp-relationable.js:1421:3\r\n```\r\n\r\nThat was not happening in 1.4.1.1\r\n"}}
{"actor":{"display_login":"namirsab"}}