Skip to content

Failing to add in meteor 1.4 and crashed meteor 1.3 #6

@Frazer

Description

@Frazer

Hi, I'm new to Meteor, but cant see a clear way forward on how to fix this:

meteor add patrickml:react-modal
which then caused my running meteor instance to crash.

so I
meteor remove patrickml:react-modal

and my app worked again. I thought updating might fix it running
meteor update

when I then tried to add MODAL again, it failed to install:
meteor add patrickml:react-modal

Detailed reports below:

meteor add patrickml:react-modal

Changes to your project's package version selections:

jsx added, version 0.2.4
patrickml:react-modal added, version 2.1.0
react added, version 0.2.1
react-runtime added, version 0.14.5

patrickml:react-modal: Lightweight ReactJS Modal

which then caused my running instance to crash:

Meteor 1.4.0.1 is available. Update this project with 'meteor update'.

/Users/me/.meteor/packages/less/.2.6.0.18upyx2++os+web.browser+web.cordova/plugin.compileLessBatch.os/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:116
throw error;
^
Error: ENOENT, readdir '/Users/me/.meteor/packages/npm-bcrypt/.0.8.5.1rez6l5++os.osx.x86_64+web.browser+web.cordova/npm/node_modules'
Me:my-project me$ meteor --port 3321
[[[[[ ~/Code/Meteor/my-project ]]]]]

=> Started proxy.
=> Started MongoDB.
=> Meteor 1.4.0.1 is available. Update this project with 'meteor update'.
W20160808-11:08:05.441(2)? (STDERR) WARNING: npm peer requirements not installed:
W20160808-11:08:05.442(2)? (STDERR) - [email protected] installed, [email protected] needed
W20160808-11:08:05.443(2)? (STDERR) - [email protected] installed, [email protected] needed
W20160808-11:08:05.443(2)? (STDERR) - [email protected] not installed.
W20160808-11:08:05.443(2)? (STDERR) - [email protected] not installed.
W20160808-11:08:05.443(2)? (STDERR) - [email protected] not installed.
W20160808-11:08:05.444(2)? (STDERR) - [email protected] not installed.
W20160808-11:08:05.444(2)? (STDERR) - [email protected] not installed.
W20160808-11:08:05.444(2)? (STDERR) - [email protected] installed, [email protected] needed
W20160808-11:08:05.444(2)? (STDERR) - [email protected] not installed.
W20160808-11:08:05.444(2)? (STDERR) - [email protected] not installed.
W20160808-11:08:05.444(2)? (STDERR)
W20160808-11:08:05.445(2)? (STDERR) Read more about installing npm peer dependencies:
W20160808-11:08:05.445(2)? (STDERR) http://guide.meteor.com/using-packages.html#peer-npm-dependencies
W20160808-11:08:05.445(2)? (STDERR)
=> Exited with code: 8
W20160808-11:08:05.654(2)? (STDERR)
W20160808-11:08:05.655(2)? (STDERR) /Users/me/.meteor/packages/meteor-tool/.1.3.2_4.ntqgyj++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:267
W20160808-11:08:05.655(2)? (STDERR) throw(ex);
W20160808-11:08:05.655(2)? (STDERR) ^
W20160808-11:08:05.655(2)? (STDERR) Error: Can't find npm module 'react-addons-transition-group'. Did you forget to call 'Npm.depends' in package.js within the 'modules-runtime' package?
W20160808-11:08:05.655(2)? (STDERR) at Object.Npm.require (/Users/me/Code/Meteor/my-project/.meteor/local/build/programs/server/boot.js:195:17)
W20160808-11:08:05.655(2)? (STDERR) at options.fallback (packages/modules-runtime/modules-runtime.js:21:1)
W20160808-11:08:05.655(2)? (STDERR) at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:81:1)
W20160808-11:08:05.656(2)? (STDERR) at meteorInstall.node_modules.meteor.react-runtime.react-runtime.js (packages/react-runtime/react-runtime.js:29:20)
W20160808-11:08:05.656(2)? (STDERR) at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:141:1)
W20160808-11:08:05.656(2)? (STDERR) at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:75:1)
W20160808-11:08:05.656(2)? (STDERR) at /Users/me/Code/Meteor/my-project/.meteor/local/build/programs/server/packages/react-runtime.js:86:15
W20160808-11:08:05.656(2)? (STDERR) at /Users/me/Code/Meteor/my-project/.meteor/local/build/programs/server/packages/react-runtime.js:99:3
W20160808-11:08:05.656(2)? (STDERR) at /Users/me/Code/Meteor/my-project/.meteor/local/build/programs/server/boot.js:283:10
W20160808-11:08:05.657(2)? (STDERR) at Array.forEach (native)
W20160808-11:08:09.585(2)? (STDERR) WARNING: npm peer requirements not installed:
W20160808-11:08:09.586(2)? (STDERR) - [email protected] installed, [email protected] needed
W20160808-11:08:09.586(2)? (STDERR) - [email protected] installed, [email protected] needed
W20160808-11:08:09.586(2)? (STDERR) - [email protected] not installed.
W20160808-11:08:09.586(2)? (STDERR) - [email protected] not installed.
W20160808-11:08:09.586(2)? (STDERR) - [email protected] not installed.
W20160808-11:08:09.586(2)? (STDERR) - [email protected] not installed.
W20160808-11:08:09.587(2)? (STDERR) - [email protected] not installed.
W20160808-11:08:09.587(2)? (STDERR) - [email protected] installed, [email protected] needed
W20160808-11:08:09.587(2)? (STDERR) - [email protected] not installed.
W20160808-11:08:09.587(2)? (STDERR) - [email protected] not installed.
W20160808-11:08:09.587(2)? (STDERR)
W20160808-11:08:09.587(2)? (STDERR) Read more about installing npm peer dependencies:
W20160808-11:08:09.588(2)? (STDERR) http://guide.meteor.com/using-packages.html#peer-npm-dependencies
W20160808-11:08:09.588(2)? (STDERR)
W20160808-11:08:09.782(2)? (STDERR)
W20160808-11:08:09.782(2)? (STDERR) /Users/me/.meteor/packages/meteor-tool/.1.3.2_4.ntqgyj++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:267
W20160808-11:08:09.782(2)? (STDERR) throw(ex);
W20160808-11:08:09.783(2)? (STDERR) ^
W20160808-11:08:09.796(2)? (STDERR) Error: Can't find npm module 'react-addons-transition-group'. Did you forget to call 'Npm.depends' in package.js within the 'modules-runtime' package?
W20160808-11:08:09.796(2)? (STDERR) at Object.Npm.require (/Users/me/Code/Meteor/my-project/.meteor/local/build/programs/server/boot.js:195:17)
W20160808-11:08:09.797(2)? (STDERR) at options.fallback (packages/modules-runtime/modules-runtime.js:21:1)
W20160808-11:08:09.797(2)? (STDERR) at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:81:1)
W20160808-11:08:09.797(2)? (STDERR) at meteorInstall.node_modules.meteor.react-runtime.react-runtime.js (packages/react-runtime/react-runtime.js:29:20)
W20160808-11:08:09.797(2)? (STDERR) at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:141:1)
W20160808-11:08:09.797(2)? (STDERR) at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:75:1)
W20160808-11:08:09.798(2)? (STDERR) at /Users/me/Code/Meteor/my-project/.meteor/local/build/programs/server/packages/react-runtime.js:86:15
W20160808-11:08:09.798(2)? (STDERR) at /Users/me/Code/Meteor/my-project/.meteor/local/build/programs/server/packages/react-runtime.js:99:3
W20160808-11:08:09.798(2)? (STDERR) at /Users/me/Code/Meteor/my-project/.meteor/local/build/programs/server/boot.js:283:10
W20160808-11:08:09.798(2)? (STDERR) at Array.forEach (native)
=> Exited with code: 8
W20160808-11:08:13.326(2)? (STDERR) WARNING: npm peer requirements not installed:
W20160808-11:08:13.326(2)? (STDERR) - [email protected] installed, [email protected] needed
W20160808-11:08:13.326(2)? (STDERR) - [email protected] installed, [email protected] needed
W20160808-11:08:13.326(2)? (STDERR) - [email protected] not installed.
W20160808-11:08:13.326(2)? (STDERR) - [email protected] not installed.
W20160808-11:08:13.326(2)? (STDERR) - [email protected] not installed.
W20160808-11:08:13.327(2)? (STDERR) - [email protected] not installed.
W20160808-11:08:13.327(2)? (STDERR) - [email protected] not installed.
W20160808-11:08:13.327(2)? (STDERR) - [email protected] installed, [email protected] needed
W20160808-11:08:13.327(2)? (STDERR) - [email protected] not installed.
W20160808-11:08:13.327(2)? (STDERR) - [email protected] not installed.
W20160808-11:08:13.327(2)? (STDERR)
W20160808-11:08:13.327(2)? (STDERR) Read more about installing npm peer dependencies:
W20160808-11:08:13.328(2)? (STDERR) http://guide.meteor.com/using-packages.html#peer-npm-dependencies
W20160808-11:08:13.328(2)? (STDERR)
W20160808-11:08:13.486(2)? (STDERR)
W20160808-11:08:13.487(2)? (STDERR) /Users/me/.meteor/packages/meteor-tool/.1.3.2_4.ntqgyj++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:267
W20160808-11:08:13.487(2)? (STDERR) throw(ex);
W20160808-11:08:13.487(2)? (STDERR) ^
W20160808-11:08:13.499(2)? (STDERR) Error: Can't find npm module 'react-addons-transition-group'. Did you forget to call 'Npm.depends' in package.js within the 'modules-runtime' package?
W20160808-11:08:13.500(2)? (STDERR) at Object.Npm.require (/Users/me/Code/Meteor/my-project/.meteor/local/build/programs/server/boot.js:195:17)
W20160808-11:08:13.500(2)? (STDERR) at options.fallback (packages/modules-runtime/modules-runtime.js:21:1)
W20160808-11:08:13.500(2)? (STDERR) at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:81:1)
W20160808-11:08:13.500(2)? (STDERR) at meteorInstall.node_modules.meteor.react-runtime.react-runtime.js (packages/react-runtime/react-runtime.js:29:20)
W20160808-11:08:13.500(2)? (STDERR) at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:141:1)
W20160808-11:08:13.500(2)? (STDERR) at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:75:1)
W20160808-11:08:13.501(2)? (STDERR) at /Users/me/Code/Meteor/my-project/.meteor/local/build/programs/server/packages/react-runtime.js:86:15
W20160808-11:08:13.501(2)? (STDERR) at /Users/me/Code/Meteor/my-project/.meteor/local/build/programs/server/packages/react-runtime.js:99:3
W20160808-11:08:13.501(2)? (STDERR) at /Users/me/Code/Meteor/my-project/.meteor/local/build/programs/server/boot.js:283:10
W20160808-11:08:13.501(2)? (STDERR) at Array.forEach (native)
=> Exited with code: 8
=> Your application is crashing. Waiting for file change.

so I
meteor remove patrickml:react-modal

Changes to your project's package version selections:

jsx removed from your project
patrickml:react-modal removed from your project
react removed from your project
react-runtime removed from your project

patrickml:react-modal: removed dependency

and my app worked again. I thought updating might fix it

meteor update

Changes to your project's package version selections from updating the release:

accounts-base upgraded from 1.2.7 to 1.2.9
accounts-password upgraded from 1.1.8 to 1.2.12
allow-deny upgraded from 1.0.4 to 1.0.5
babel-compiler upgraded from 6.6.4 to 6.9.0
babel-runtime upgraded from 0.1.8 to 0.1.10
base64 upgraded from 1.0.8 to 1.0.9
binary-heap upgraded from 1.0.8 to 1.0.9
blaze upgraded from 2.1.7 to 2.1.8
blaze-tools upgraded from 1.0.8 to 1.0.9
boilerplate-generator upgraded from 1.0.8 to 1.0.9
callback-hook upgraded from 1.0.8 to 1.0.9
check upgraded from 1.2.1 to 1.2.3
ddp-rate-limiter upgraded from 1.0.4 to 1.0.5
diff-sequence upgraded from 1.0.5 to 1.0.6
ecmascript upgraded from 0.4.3 to 0.5.7
ecmascript-runtime upgraded from 0.2.10 to 0.3.12
ejson upgraded from 1.0.11 to 1.0.12
email upgraded from 1.0.12 to 1.1.16
es5-shim upgraded from 4.5.10 to 4.6.13
geojson-utils upgraded from 1.0.8 to 1.0.9
html-tools upgraded from 1.0.9 to 1.0.10
htmljs upgraded from 1.0.9 to 1.0.10
id-map upgraded from 1.0.7 to 1.0.8
jquery upgraded from 1.11.8 to 1.11.9
localstorage upgraded from 1.0.9 to 1.0.11
logging upgraded from 1.0.12 to 1.1.14
meteor upgraded from 1.1.14 to 1.2.16
minifier-css upgraded from 1.1.11 to 1.2.13
minifier-js upgraded from 1.1.11 to 1.2.13
minimongo upgraded from 1.0.16 to 1.0.17
modules upgraded from 0.6.1 to 0.7.5
modules-runtime upgraded from 0.6.3 to 0.7.5
mongo upgraded from 1.1.7 to 1.1.10
mongo-id upgraded from 1.0.4 to 1.0.5
npm-bcrypt upgraded from 0.8.5 to 0.8.7
npm-mongo upgraded from 1.4.43 to 1.5.45
observe-sequence upgraded from 1.0.11 to 1.0.12
ordered-dict upgraded from 1.0.7 to 1.0.8
promise upgraded from 0.6.7 to 0.8.3
random upgraded from 1.0.9 to 1.0.10
rate-limit upgraded from 1.0.4 to 1.0.5
reactive-var upgraded from 1.0.9 to 1.0.10
routepolicy upgraded from 1.0.10 to 1.0.11
service-configuration upgraded from 1.0.9 to 1.0.10
sha upgraded from 1.0.7 to 1.0.8
spacebars upgraded from 1.0.11 to 1.0.12
spacebars-compiler upgraded from 1.0.11 to 1.0.12
srp upgraded from 1.0.8 to 1.0.9
standard-minifier-css upgraded from 1.0.6 to 1.1.8
standard-minifier-js upgraded from 1.0.6 to 1.1.8
tracker upgraded from 1.0.13 to 1.1.0
underscore upgraded from 1.0.8 to 1.0.9
webapp upgraded from 1.2.8 to 1.3.10

my-project: updated to Meteor 1.4.0.1.

Changes to your project's package version selections from updating package versions:

autoupdate upgraded from 1.2.9 to 1.2.11
caching-compiler upgraded from 1.0.4 to 1.0.6
ddp-client upgraded from 1.2.7 to 1.2.9
ddp-common upgraded from 1.2.5 to 1.2.6
ddp-server upgraded from 1.2.6 to 1.2.10
fastclick upgraded from 1.0.11 to 1.0.12
http upgraded from 1.1.5 to 1.1.8
launch-screen upgraded from 1.0.11 to 1.0.12
less upgraded from 2.6.0 to 2.6.5
practicalmeteor:mocha upgraded from 2.4.5_2 to 2.4.5_6
practicalmeteor:mocha-core* upgraded from 0.1.4 to 1.0.1
reactive-dict upgraded from 1.1.7 to 1.1.8
reload upgraded from 1.1.8 to 1.1.10
retry upgraded from 1.0.7 to 1.0.8
session upgraded from 1.1.5 to 1.1.6
templating upgraded from 1.1.9 to 1.1.14
url upgraded from 1.0.9 to 1.0.10

  • These packages have been updated to new versions that are not backwards
    compatible.

Newer versions of the following indirect dependencies are available:

  • autoupdate 1.2.11 (1.3.11 is available)
  • caching-compiler 1.0.6 (1.1.6 is available)
  • coffeescript 1.0.17 (1.2.3 is available)
  • ddp-client 1.2.9 (1.3.0 is available)
  • ddp-server 1.2.10 (1.3.9 is available)
  • http 1.1.8 (1.2.8 is available)
  • less 2.6.5 (2.7.4 is available)
  • templating 1.1.14 (1.2.13 is available)
    To update one or more of these packages, pass their names to meteor update.

note:

[email protected]
[email protected]

when I then tried to add MODAL again, it failed:

meteor add patrickml:react-modal

=> Errors while adding packages:

While downloading fourseven:[email protected]...:
error: Command failed:
/Users/me/.meteor/packages/meteor-tool/.1.4.0-1.e8gar3++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/npm rebuild
--no-bin-links --update-binary
module.js:327
throw err;
^

Error: Cannot find module '../'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.
(/private/var/folders/33/2qd0wv3d5sb3qzbsk2d8p3340000gn/T/mt-hcs0wj/plugin.compileScssBatch.os.osx.x86_64/npm/node_modules/meteor/compileScssBatch/node_modules/.temp-goptt9/node_modules/node-sass/node_modules/cross-spawn/node_modules/spawn-sync/node_modules/try-thread-sleep/node_modules/thread-sleep/node_modules/.bin/node-pre-gyp:15:20)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)

npm ERR! Darwin 15.5.0
npm ERR! argv "/Users/me/.meteor/packages/meteor-tool/.1.4.0-1.e8gar3++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/node"
"/Users/me/.meteor/packages/meteor-tool/.1.4.0-1.e8gar3++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/npm" "rebuild"
"--no-bin-links" "--update-binary"
npm ERR! node v4.4.7
npm ERR! npm v3.10.5
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-pre-gyp install --fallback-to-build'.
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 thread-sleep package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs thread-sleep
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls thread-sleep
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!
/private/var/folders/33/2qd0wv3d5sb3qzbsk2d8p3340000gn/T/mt-hcs0wj/plugin.compileScssBatch.os.osx.x86_64/npm/node_modules/meteor/compileScssBatch/node_modules/.temp-goptt9/npm-debug.log
module.js:327
throw err;
^

Error: Cannot find module '../'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.
(/private/var/folders/33/2qd0wv3d5sb3qzbsk2d8p3340000gn/T/mt-hcs0wj/plugin.compileScssBatch.os.osx.x86_64/npm/node_modules/meteor/compileScssBatch/node_modules/.temp-goptt9/node_modules/node-sass/node_modules/cross-spawn/node_modules/spawn-sync/node_modules/try-thread-sleep/node_modules/thread-sleep/node_modules/.bin/node-pre-gyp:15:20)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)

npm ERR! Darwin 15.5.0
npm ERR! argv "/Users/me/.meteor/packages/meteor-tool/.1.4.0-1.e8gar3++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/node"
"/Users/me/.meteor/packages/meteor-tool/.1.4.0-1.e8gar3++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/npm" "rebuild"
"--no-bin-links" "--update-binary"
npm ERR! node v4.4.7
npm ERR! npm v3.10.5
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-pre-gyp install --fallback-to-build'.
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 thread-sleep package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs thread-sleep
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls thread-sleep
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!
/private/var/folders/33/2qd0wv3d5sb3qzbsk2d8p3340000gn/T/mt-hcs0wj/plugin.compileScssBatch.os.osx.x86_64/npm/node_modules/meteor/compileScssBatch/node_modules/.temp-goptt9/npm-debug.log

Any suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions