Comments (5)
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.
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.
@divramod npm prepublish
has an error, so it runs the whole e2e test on install. Keep the mongo daemon running.
from graffiti-mongoose.
@divramod Did you manage to solve the problem?
from graffiti-mongoose.
Yes thx
from graffiti-mongoose.
Related Issues (20)
- Implicit dependency on babel-polyfill HOT 9
- Cannot set currently-valued fields to null in update mutation HOT 2
- How to make a custom field: id? HOT 10
- "TypeError: Cannot read property 'forEach' of undefined" when embedded object field is a reference HOT 6
- Custom query thunk - accepts only InputObject types HOT 3
- Question on customQueries HOT 7
- Example project doesnt work with [email protected] and [email protected] HOT 1
- Async hook support HOT 2
- How to use Express Middleware for Authentication/Authorization. HOT 4
- Get specific field validation error?
- How to mutate nested Schema? HOT 3
- What is different between id and _id HOT 1
- UNMET PEER DEPENDENCY HOT 1
- Maintainer Volunteer Thread HOT 1
- Mongoose ObjectId and GraphQL id is not the same. How to link them? HOT 5
- It is possible to add some description to schema and to be reflected in the docs?
- Does graffiti-mongoose works with react-apollo ? HOT 2
- Custom mutations?
- Custom queries/mutations HOT 1
- setTypeFields bug
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graffiti-mongoose.