Comments (9)
Thanks Brother Work fine.
from adobot-io.
Update the package.json dependencies to latest version.
from adobot-io.
I tried. I think I might be wrong somewhere so please correct me and guide me how to do that
from adobot-io.
I have the same problem, how do I update the dependencies? tanks
from adobot-io.
I Don't know. I have tried many ways but I failed. And the developer can not help us.
from adobot-io.
Just add the line
"engines": {
"node": "10.18.x"
},
after
"main": "index.js",
from adobot-io.
-Dont Work for me, i have this error!
remote: Done. Phantomjs binary available at /tmp/build_f3a0bbecf9d0350657f9e87d71fe6d8f/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs
remote:
remote: > [email protected] postinstall /tmp/build_f3a0bbecf9d0350657f9e87d71fe6d8f
remote: > run-s migrate build
remote:
remote:
remote: > [email protected] migrate /tmp/build_f3a0bbecf9d0350657f9e87d71fe6d8f
remote: > sequelize db:migrate
remote:
remote:
remote: Sequelize [Node: 12.16.1, CLI: 2.7.0, ORM: 3.30.4]
remote:
remote: fs.js:35
remote: } = primordials;
remote: ^
remote:
remote: ReferenceError: primordials is not defined
remote: at fs.js:35:5
remote: at req_ (/tmp/build_f3a0bbecf9d0350657f9e87d71fe6d8f/node_modules/natives/index.js:143:24)
remote: at Object.req [as require] (/tmp/build_f3a0bbecf9d0350657f9e87d71fe6d8f/node_modules/natives/index.js:55:10)
remote: at Object. (/tmp/build_f3a0bbecf9d0350657f9e87d71fe6d8f/node_modules/graceful-fs/fs.js:1:37)
remote: at Module._compile (internal/modules/cjs/loader.js:1158:30)
remote: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
remote: at Module.load (internal/modules/cjs/loader.js:1002:32)
remote: at Function.Module._load (internal/modules/cjs/loader.js:901:14)
remote: at Module.require (internal/modules/cjs/loader.js:1044:19)
remote: at require (internal/modules/cjs/helpers.js:77:18)
remote: npm ERR! code ELIFECYCLE
remote: npm ERR! errno 1
remote: npm ERR! [email protected] migrate: sequelize db:migrate
remote: npm ERR! Exit status 1
remote: npm ERR!
remote: npm ERR! Failed at the [email protected] migrate script.
remote: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
remote:
remote: npm ERR! A complete log of this run can be found in:
remote: npm ERR! /tmp/npmcache.BtuiT/_logs/2020-04-04T23_42_25_794Z-debug.log
remote: ERROR: "migrate" exited with 1.
remote: npm ERR! code ELIFECYCLE
remote: npm ERR! errno 1
remote: npm ERR! [email protected] postinstall: run-s migrate build
remote: npm ERR! Exit status 1
remote: npm ERR!
remote: npm ERR! Failed at the [email protected] postinstall script.
remote: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
remote:
remote: npm ERR! A complete log of this run can be found in:
remote: npm ERR! /tmp/npmcache.BtuiT/_logs/2020-04-04T23_42_25_863Z-debug.log
remote:
remote: -----> Build failed
remote:
remote: We're sorry this build is failing! You can troubleshoot common issues here:
remote: https://devcenter.heroku.com/articles/troubleshooting-node-deploys
remote:
remote: Some possible problems:
remote:
remote: - Node version not specified in package.json
remote: https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version
remote:
remote: Love,
remote: Heroku
remote:
remote: ! Push rejected, failed to compile Node.js app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to andro-sistem.
remote:
To https://git.heroku.com/andro-sistem.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/andro-sistem.git'
-My package.json file config
{
"name": "androspy",
"version": "1.0.0",
"description": "NodeJS port of Dendroid server",
"main": "index.js",
"engines": {
"node": "10.18.x"
},
"scripts": {
"migrate": "./node_modules/.bin/sequelize db:migrate",
"build": "./node_modules/.bin/gulp",
"start": "node index.js",
"postinstall": "run-s migrate build",
"dev": "run-s build start"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/adonespitogo/dendroid-nodejs.git"
},
"keywords": [
"dendroid",
"nodejs",
"express"
],
"author": "Adones Pitogo",
"license": "MIT",
"bugs": {
"url": "https://github.com/adonespitogo/dendroid-nodejs/issues"
},
"homepage": "https://github.com/adonespitogo/dendroid-nodejs#readme",
"dependencies": {
"body-parser": "^1.16.1",
"del": "^3.0.0",
"express": "^4.14.1",
"gulp": "^3.9.1",
"gulp-angular-templatecache": "^2.2.5",
"gulp-concat": "^2.6.1",
"gulp-inject": "^5.0.0",
"gulp-uglify": "^3.0.1",
"gulp-util": "^3.0.8",
"mysql": "^2.13.0",
"natives": "^1.1.6",
"pg": "^7.9.0",
"pg-hstore": "^2.3.2",
"q": "^1.4.1",
"randomstring": "^1.1.5",
"require-dir": "^0.3.1",
"sequelize": "^3.30.2",
"sequelize-cli": "^2.5.1",
"socket.io": "^1.7.2"
},
"devDependencies": {
"gulp-jshint": "^2.1.0",
"gulp-watch": "^4.3.11",
"jshint": "^2.9.6",
"npm-run-all": "^4.1.5"
}
}
from adobot-io.
the remote is still using node 12
Sequelize [Node: 12.16.1, CLI: 2.7.0, ORM: 3.30.4]
the output should be this
Sequelize [Node: 10.18.1, CLI: 2.7.0, ORM: 3.30.4]
please delete all the file from remote
then commit again with
this package.json file
{
"name": "androspy",
"version": "1.0.0",
"description": "NodeJS port of Dendroid server",
"main": "index.js",
"engines": {
"node": "10.18.x"
},
"scripts": {
"migrate": "./node_modules/.bin/sequelize db:migrate",
"build": "./node_modules/.bin/gulp",
"start": "node index.js",
"postinstall": "run-s migrate build",
"dev": "run-s build start"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/adonespitogo/dendroid-nodejs.git"
},
"keywords": [
"dendroid",
"nodejs",
"express"
],
"author": "Adones Pitogo",
"license": "MIT",
"bugs": {
"url": "https://github.com/adonespitogo/dendroid-nodejs/issues"
},
"homepage": "https://github.com/adonespitogo/dendroid-nodejs#readme",
"dependencies": {
"body-parser": "^1.16.1",
"del": "^3.0.0",
"express": "^4.14.1",
"gulp": "^3.9.1",
"gulp-angular-templatecache": "^2.2.5",
"gulp-concat": "^2.6.1",
"gulp-inject": "^5.0.0",
"gulp-uglify": "^3.0.1",
"gulp-util": "^3.0.8",
"mysql": "^2.13.0",
"natives": "^1.1.6",
"pg": "^7.9.0",
"pg-hstore": "^2.3.2",
"q": "^1.4.1",
"randomstring": "^1.1.5",
"require-dir": "^0.3.1",
"sequelize": "^3.30.2",
"sequelize-cli": "^2.5.1",
"socket.io": "^1.7.2"
},
"devDependencies": {
"gulp-jshint": "^2.1.0",
"gulp-watch": "^4.3.11",
"jshint": "^2.9.6",
"npm-run-all": "^4.1.5"
}
}
from adobot-io.
the remote is still using node 12
Sequelize [Node: 12.16.1, CLI: 2.7.0, ORM: 3.30.4]the output should be this
Sequelize [Node: 10.18.1, CLI: 2.7.0, ORM: 3.30.4]please delete all the file from remote
then commit again with
this package.json file{
"name": "androspy",
"version": "1.0.0",
"description": "NodeJS port of Dendroid server",
"main": "index.js",
"engines": {
"node": "10.18.x"
},
"scripts": {
"migrate": "./node_modules/.bin/sequelize db:migrate",
"build": "./node_modules/.bin/gulp",
"start": "node index.js",
"postinstall": "run-s migrate build",
"dev": "run-s build start"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/adonespitogo/dendroid-nodejs.git"
},
"keywords": [
"dendroid",
"nodejs",
"express"
],
"author": "Adones Pitogo",
"license": "MIT",
"bugs": {
"url": "https://github.com/adonespitogo/dendroid-nodejs/issues"
},
"homepage": "https://github.com/adonespitogo/dendroid-nodejs#readme",
"dependencies": {
"body-parser": "^1.16.1",
"del": "^3.0.0",
"express": "^4.14.1",
"gulp": "^3.9.1",
"gulp-angular-templatecache": "^2.2.5",
"gulp-concat": "^2.6.1",
"gulp-inject": "^5.0.0",
"gulp-uglify": "^3.0.1",
"gulp-util": "^3.0.8",
"mysql": "^2.13.0",
"natives": "^1.1.6",
"pg": "^7.9.0",
"pg-hstore": "^2.3.2",
"q": "^1.4.1",
"randomstring": "^1.1.5",
"require-dir": "^0.3.1",
"sequelize": "^3.30.2",
"sequelize-cli": "^2.5.1",
"socket.io": "^1.7.2"
},
"devDependencies": {
"gulp-jshint": "^2.1.0",
"gulp-watch": "^4.3.11",
"jshint": "^2.9.6",
"npm-run-all": "^4.1.5"
}
}
thanks, brother that's really helped me, I didn't give attention to simple things.
from adobot-io.
Related Issues (20)
- Enhancement HOT 7
- heroku and remote sql HOT 2
- I tried to install this application on redhat openshaft.
- Can we block all Android based Device
- issue with $git push heroku master HOT 1
- can not see connected device HOT 3
- Heroku asking for credit card HOT 4
- dont want to use heroku
- Sequelize connection etimeout 127.0.0.1:3306 HOT 2
- how to install web server on local HOT 2
- Sequelize [Node: 12.16.1, CLI: 2.7.0, ORM: 3.30.4] fs.js:35 } = primordials; ^ ReferenceError: primordials is not defined HOT 4
- Steps to deploy app on Google cloud Platform
- .
- ghjjh
- Push rejected, failed to compile Node.js app. HOT 1
- Dist Folder is missing
- Plain Text Params
- Heroku suspended the AdoBot-IO app. HOT 1
- Pjdw2
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 adobot-io.