bbraithwaite / northwindnode Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Using a current CentOS 7.3 Box with Epel installed NodeJS 6.11.1
give me this folloung the write up ...
[aheumaier@CentosDemo NorthwindNode]$ migrate up
up : 1422219657037-add-categories.js
/home/aheumaier/NorthwindNode/migrations/1422219657037-add-categories.js:29
if (response.statusCode != 200) {
^
TypeError: Cannot read property 'statusCode' of undefined
at Request._callback (/home/aheumaier/NorthwindNode/migrations/1422219657037-add-categories.js:29:19)
at self.callback (/home/aheumaier/NorthwindNode/node_modules/request/request.js:236:22)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at ClientRequest.self.clientErrorHandler (/home/aheumaier/NorthwindNode/node_modules/request/request.js:341:10)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at Socket.socketErrorListener (_http_client.js:309:9)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
Was wondering if anyone has forked this project and created a Vue.js front end. Of course it wouldn't be a MEAN stack but instead a MEVN stack ;-)
1:) Epel install of Nodejs 6.11.1 is broken by removed http-parser package in Epel itself
Can be reinstalled here : https://kojipkgs.fedoraproject.org/packages/http-parser/2.7.1/3.el7/x86_64/
2:) Using NodeJS 7.x breaks application server.js with:
js-bson: Failed to load c++ bson extension, using pure JS version
MEAN.JS application started on port 3000
Error: Error getting collection: sessions
at /home/aheumaier/NorthwindNode/node_modules/connect-mongo/lib/connect-mongo.js:160:19
at Db.collection (/home/aheumaier/NorthwindNode/node_modules/mongoose/node_modules/mongodb/lib/mongodb/db.js:526:27)
at MongoStore._get_collection (/home/aheumaier/NorthwindNode/node_modules/connect-mongo/lib/connect-mongo.js:158:17)
at MongoStore.get (/home/aheumaier/NorthwindNode/node_modules/connect-mongo/lib/connect-mongo.js:222:10)
at session (/home/aheumaier/NorthwindNode/node_modules/express-session/index.js:367:11)
at Layer.handle [as handle_request] (/home/aheumaier/NorthwindNode/node_modules/express/lib/router/layer.js:82:5)
at trim_prefix (/home/aheumaier/NorthwindNode/node_modules/express/lib/router/index.js:269:13)
at /home/aheumaier/NorthwindNode/node_modules/express/lib/router/index.js:236:9
at Function.proto.process_params (/home/aheumaier/NorthwindNode/node_modules/express/lib/router/index.js:311:12)
at /home/aheumaier/NorthwindNode/node_modules/express/lib/router/index.js:227:12
at Function.match_layer (/home/aheumaier/NorthwindNode/node_modules/express/lib/router/index.js:294:3)
at next (/home/aheumaier/NorthwindNode/node_modules/express/lib/router/index.js:188:10)
at cookieParser (/home/aheumaier/NorthwindNode/node_modules/cookie-parser/index.js:48:5)
at Layer.handle [as handle_request] (/home/aheumaier/NorthwindNode/node_modules/express/lib/router/layer.js:82:5)
at trim_prefix (/home/aheumaier/NorthwindNode/node_modules/express/lib/router/index.js:269:13)
at /home/aheumaier/NorthwindNode/node_modules/express/lib/router/index.js:236:9
GET / 500 65.983 ms - -
Error: Cannot determine state of server
at canCheckoutReader (/home/aheumaier/NorthwindNode/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/server.js:779:12)
at Server.checkoutReader (/home/aheumaier/NorthwindNode/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/server.js:793:16)
at Cursor.nextObject (/home/aheumaier/NorthwindNode/node_modules/mongoose/node_modules/mongodb/lib/mongodb/cursor.js:748:48)
at Collection.findOne (/home/aheumaier/NorthwindNode/node_modules/mongoose/node_modules/mongodb/lib/mongodb/collection/query.js:162:10)
at /home/aheumaier/NorthwindNode/node_modules/connect-mongo/lib/connect-mongo.js:223:18
at MongoStore._get_collection (/home/aheumaier/NorthwindNode/node_modules/connect-mongo/lib/connect-mongo.js:156:21)
at MongoStore.get (/home/aheumaier/NorthwindNode/node_modules/connect-mongo/lib/connect-mongo.js:222:10)
at session (/home/aheumaier/NorthwindNode/node_modules/express-session/index.js:367:11)
at Layer.handle [as handle_request] (/home/aheumaier/NorthwindNode/node_modules/express/lib/router/layer.js:82:5)
at trim_prefix (/home/aheumaier/NorthwindNode/node_modules/express/lib/router/index.js:269:13)
at /home/aheumaier/NorthwindNode/node_modules/express/lib/router/index.js:236:9
at Function.proto.process_params (/home/aheumaier/NorthwindNode/node_modules/express/lib/router/index.js:311:12)
at /home/aheumaier/NorthwindNode/node_modules/express/lib/router/index.js:227:12
at Function.match_layer (/home/aheumaier/NorthwindNode/node_modules/express/lib/router/index.js:294:3)
at next (/home/aheumaier/NorthwindNode/node_modules/express/lib/router/index.js:188:10)
at cookieParser (/home/aheumaier/NorthwindNode/node_modules/cookie-parser/index.js:48:5)
GET /modules/core/css/core.css 500 16.693 ms - -
Error: Cannot determine state of server
(...)
I always get this error "GET http: // localhost: 35729 / livereload.js net :: ERR_CONNECTION_REFUSED" and this means it can not change the category when editing a product
Hi ,
I am windows user. I was trying to setup this project, but was not able to.
When running the npm install --dev command, getting this error
`npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "--dev"
npm ERR! node v6.11.4
npm ERR! npm v3.10.10
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 v8-debug 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 v8-debug
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls v8-debug
npm ERR! There is likely additional logging output above.`
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.