Skip to content

Conversation

durran
Copy link
Member

@durran durran commented Jun 13, 2016

This change is Reviewable

@durran durran force-pushed the INT-1160-CRUD branch 2 times, most recently from 216ebfa to 4fb1340 Compare June 22, 2016 20:21
@imlucas
Copy link
Contributor

imlucas commented Jun 22, 2016

Just noticed some strange behavior which @samweaver just reported. On this branch, when installing the debug module the error below occurs. There is a recent npm bug going around that causes the index.js file to be stripped from node_modules/ which I believe is causing this behavior. Running npm install mongodb-js/debug#v2.2.2 resolves this for me (already merged to master).

☉ [INT-1160-CRUD] compass/ npm install

> electron-prebuilt@0.36.12 postinstall /Users/lucas/compass/node_modules/electron-prebuilt
> node install.js

module.js:341
    throw err;
    ^

Error: Cannot find module 'debug'
    at Function.Module._resolveFilename (module.js:339:15)
    at Function.Module._load (module.js:290:25)
    at Module.require (module.js:367:17)
    at require (internal/module.js:16:19)
    at Object.<anonymous> (/Users/lucas/compass/node_modules/nugget/index.js:9:13)
    at Module._compile (module.js:413:34)
    at Object.Module._extensions..js (module.js:422:10)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
mongodb-compass@1.3.0-dev /Users/lucas/compass
└── debug@2.2.0  (git://github.com/mongodb-js/debug.git#ca4477297589a8c78d8a6d6eb29b2f67dce0e03e)

npm ERR! Darwin 15.5.0
npm ERR! argv "/Users/lucas/.nvm/versions/node/v5.10.1/bin/node" "/Users/lucas/.nvm/versions/node/v5.10.1/bin/npm" "install"
npm ERR! node v5.10.1
npm ERR! npm  v3.8.8
npm ERR! code ELIFECYCLE

npm ERR! electron-prebuilt@0.36.12 postinstall: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the electron-prebuilt@0.36.12 postinstall script 'node install.js'.
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 electron-prebuilt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs electron-prebuilt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls electron-prebuilt
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/lucas/compass/npm-debug.log

@durran durran force-pushed the INT-1160-CRUD branch 2 times, most recently from 4c2c3f2 to 214ba91 Compare June 24, 2016 15:43
@durran durran merged commit 593eed8 into master Jun 24, 2016
@durran durran deleted the INT-1160-CRUD branch June 24, 2016 17:56
@kangas kangas changed the title [DNM] INT-1160: CRUD Support INT-1160: CRUD Support Jun 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants