Coder Social home page Coder Social logo

Comments (5)

tothandras avatar tothandras commented on July 19, 2024

I've tried to run npm install @risingstack/graffiti-mongoose with version 3.3.12, no error. Try to reinstall node and/or npm and repair permissions with running chown -R [yourname] ~/.npm.

from graffiti-mongoose.

divramod avatar divramod commented on July 19, 2024

thx, i updated npm and it is installing.
now i got the following error:

> $ npm install                                                                                                                                                                         [±master]
npm WARN install Couldn't install optional dependency: Unsupported

> [email protected] install /home/mod-new/code/test/graffiti-mongoose/node_modules/pre-commit
> node install.js


> [email protected] postinstall /home/mod-new/code/test/graffiti-mongoose/node_modules/spawn-sync
> node postinstall


> @risingstack/[email protected] prepublish /home/mod-new/code/test/graffiti-mongoose
> npm test && npm run build


> @risingstack/[email protected] test /home/mod-new/code/test/graffiti-mongoose
> NODE_ENV=test mocha --compilers js:babel-register --require babel-polyfill 'src/**/*.spec.js'



  1) "before all" hook

  0 passing (152ms)
  1 failing

  1)  "before all" hook:
     MongoError: topology was destroyed
      at node_modules/mongodb/lib/db.js:799:78
      at executeCommand (node_modules/mongodb/lib/db.js:261:67)
      at [object Object].Db.command (node_modules/mongodb/lib/db.js:306:44)
      at [object Object].Db.dropDatabase (node_modules/mongodb/lib/db.js:797:49)
      at setup-tests.spec.js:13:28
      at NativeConnection.Connection.error (node_modules/mongoose/lib/connection.js:424:24)
      at node_modules/mongoose/lib/connection.js:452:14
      at node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:58:21
      at node_modules/mongodb/lib/db.js:224:14
      at [object Object].<anonymous> (node_modules/mongodb/lib/server.js:234:9)
      at [object Object].<anonymous> (node_modules/mongodb-core/lib/topologies/server.js:269:68)
      at [object Object].<anonymous> (node_modules/mongodb-core/lib/connection/pool.js:81:12)
      at Socket.<anonymous> (node_modules/mongodb-core/lib/connection/connection.js:124:49)
      at emitErrorNT (net.js:1257:8)



npm ERR! Test failed.  See above for more details.

npm WARN EPEERINVALID [email protected] requires a peer of kerberos@~0.0 but none was installed.
npm ERR! Linux 3.19.0-28-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v5.2.0
npm ERR! npm  v3.3.12
npm ERR! code ELIFECYCLE
npm ERR! @risingstack/[email protected] prepublish: `npm test && npm run build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @risingstack/[email protected] prepublish script 'npm test && npm run 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 @risingstack/graffiti-mongoose package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm test && npm run build
npm ERR! You can get their info via:
npm ERR!     npm owner ls @risingstack/graffiti-mongoose
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:

its a mongo error i think. have to look into that

from graffiti-mongoose.

tothandras avatar tothandras commented on July 19, 2024

@divramod npm prepublish has an error, so it runs the whole e2e test on install. Keep the mongo daemon running.

from graffiti-mongoose.

tothandras avatar tothandras commented on July 19, 2024

@divramod Did you manage to solve the problem?

from graffiti-mongoose.

divramod avatar divramod commented on July 19, 2024

Yes thx

from graffiti-mongoose.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.