Closed muphy closed 8 years ago
I have modified your package.json which was working.
{
"name": "background-geolocation-console",
"version": "0.0.3",
"description": "A field-testing/analysis server & web-app for the Background Geolocation plugin",
"repository": "https://github.com/transistorsoft/background-geolocation-console",
"main": "js/app.js",
"dependencies": {
"body-parser": "^1.13.3",
"chart.js": "^1.0.2",
"chartist": "^0.9.4",
"classnames": "^2.1.3",
"express": "^4.13.3",
"fixed-data-table": "0.5.0",
"flux": "^2.1.1",
"fluxxor": "^1.7.1",
"google-map-react": "^0.4.1",
"keymirror": "~0.1.0",
"material-ui": "^0.11.0",
"moment": "^2.10.6",
"object-assign": "^1.0.0",
"react": "0.4.2",
"react-chartist": "0.10.1",
"react-chartjs": "0.6.0",
"react-datagrid": "1.2.15",
"react-flexbox": "3.0.0",
"react-google-maps": "4.2.0",
"react-googlemaps": "0.4.0",
"react-router": "1.0.0-rc4",
"react-tap-event-plugin": "^0.1.7",
"sqlite3": "3.1.1"
},
"devDependencies": {
"babelify": "^6.3.0",
"browserify": "^6.2.0",
"envify": "^3.0.0",
"jest-cli": "^0.4.3",
"reactify": "^0.17.1",
"uglify-js": "~2.4.15",
"watchify": "^2.1.1"
},
"scripts": {
"start": "watchify -o js/bundle.js -v -d js/app.js",
"build": "browserify . -t [envify --NODE_ENV production] | uglifyjs -cm > js/bundle.min.js",
"test": "jest"
},
"author": "Chris Scott, Transistor Software",
"browserify": {
"transform": [
"reactify",
"babelify",
"envify"
]
},
"jest": {
"rootDir": "./js"
}
}
Would you like to send that as a push-request?
On Thu, Nov 5, 2015 at 11:40 AM, JongAm Oh notifications@github.com wrote:
I have modified your package.json which was working.
{ "name": "background-geolocation-console", "version": "0.0.3", "description": "A field-testing/analysis server & web-app for the Background Geolocation plugin", "repository": "https://github.com/transistorsoft/background-geolocation-console", "main": "js/app.js", "dependencies": { "body-parser": "^1.13.3", "chart.js": "^1.0.2", "chartist": "^0.9.4", "classnames": "^2.1.3", "express": "^4.13.3", "fixed-data-table": "0.5.0", "flux": "^2.1.1", "fluxxor": "^1.7.1", "google-map-react": "^0.4.1", "keymirror": "~0.1.0", "material-ui": "^0.11.0", "moment": "^2.10.6", "object-assign": "^1.0.0", "react": "0.4.2", "react-chartist": "0.10.1", "react-chartjs": "0.6.0", "react-datagrid": "1.2.15", "react-flexbox": "3.0.0", "react-google-maps": "4.2.0", "react-googlemaps": "0.4.0", "react-router": "1.0.0-rc4", "react-tap-event-plugin": "^0.1.7", "sqlite3": "3.1.1" }, "devDependencies": { "babelify": "^6.3.0", "browserify": "^6.2.0", "envify": "^3.0.0", "jest-cli": "^0.4.3", "reactify": "^0.17.1", "uglify-js": "~2.4.15", "watchify": "^2.1.1" }, "scripts": { "start": "watchify -o js/bundle.js -v -d js/app.js", "build": "browserify . -t [envify --NODE_ENV production] | uglifyjs -cm > js/bundle.min.js", "test": "jest" }, "author": "Chris Scott, Transistor Software", "browserify": { "transform": [ "reactify", "babelify", "envify" ] }, "jest": { "rootDir": "./js" } }
— Reply to this email directly or view it on GitHub https://github.com/transistorsoft/background-geolocation-console/issues/2#issuecomment-154116258 .
Chris Scott Transistor Software http://www.transistorsoft.com
Yes I will.
- 6., 오전 1:41, Chris Scott notifications@github.com 작성:
Would you like to send that as a push-request?
On Thu, Nov 5, 2015 at 11:40 AM, JongAm Oh notifications@github.com wrote:
I have modified your package.json which was working.
{ "name": "background-geolocation-console", "version": "0.0.3", "description": "A field-testing/analysis server & web-app for the Background Geolocation plugin", "repository": "https://github.com/transistorsoft/background-geolocation-console", "main": "js/app.js", "dependencies": { "body-parser": "^1.13.3", "chart.js": "^1.0.2", "chartist": "^0.9.4", "classnames": "^2.1.3", "express": "^4.13.3", "fixed-data-table": "0.5.0", "flux": "^2.1.1", "fluxxor": "^1.7.1", "google-map-react": "^0.4.1", "keymirror": "~0.1.0", "material-ui": "^0.11.0", "moment": "^2.10.6", "object-assign": "^1.0.0", "react": "0.4.2", "react-chartist": "0.10.1", "react-chartjs": "0.6.0", "react-datagrid": "1.2.15", "react-flexbox": "3.0.0", "react-google-maps": "4.2.0", "react-googlemaps": "0.4.0", "react-router": "1.0.0-rc4", "react-tap-event-plugin": "^0.1.7", "sqlite3": "3.1.1" }, "devDependencies": { "babelify": "^6.3.0", "browserify": "^6.2.0", "envify": "^3.0.0", "jest-cli": "^0.4.3", "reactify": "^0.17.1", "uglify-js": "~2.4.15", "watchify": "^2.1.1" }, "scripts": { "start": "watchify -o js/bundle.js -v -d js/app.js", "build": "browserify . -t [envify --NODE_ENV production] | uglifyjs -cm > js/bundle.min.js", "test": "jest" }, "author": "Chris Scott, Transistor Software", "browserify": { "transform": [ "reactify", "babelify", "envify" ] }, "jest": { "rootDir": "./js" } }
— Reply to this email directly or view it on GitHub https://github.com/transistorsoft/background-geolocation-console/issues/2#issuecomment-154116258 .
Chris Scott Transistor Software http://www.transistorsoft.com — Reply to this email directly or view it on GitHub https://github.com/transistorsoft/background-geolocation-console/issues/2#issuecomment-154116648.
Was it ever pushed?
Ah, I see the history.
Guess I'll add to it. Unless I bump react to 0.14.3 I get similar errors, around react-dom as well.
I got an issue When I try to run command: Node server.js TypeError: Cannot read property 'forEach' of undefined at onQuery (server.js:79:13) at Statement.errBack (node_modules/sqlite3/lib/sqlite3.js:16:21) --> in Database#all('SELECT device_id, device_model FROM locations GROUP BY device_id, device_model ORDER BY recorded_at DESC', [Function]) at Object.Device.all (server.js:84:11) at server.js:20:10
run command:
npm install
output: