Comments (4)
I have solved this problem. Node does not be installed properly.
Thanks.
from cordova-hot-code-push-cli.
node ./postinstall.js
sh: node: command not found
env: node: No such file or directory
Feels like it can't find node
. Please, check that you have a correct path set to node
executable.
First, type in the console node --version
to check, that bash can find it. Also, to check the version of the node: you should be using 4+.
If it is not found - then you need to set path to it. Similar question regarding node: http://stackoverflow.com/questions/13593902/node-command-not-found
from cordova-hot-code-push-cli.
But I have already installed the latest version of node.
node --version
prints v4.4.7
from cordova-hot-code-push-cli.
In the same terminal window:
sh-3.2# node --version
v4.4.7
sh-3.2# sudo node --version
v4.4.7
sh-3.2#
sh-3.2# npm install -g cordova-hot-code-push-cli
npm WARN peerDependencies The peer dependency level@~1.4.0 included from s3-sync-aws will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN deprecated [email protected]: renamed to d3-queue
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
> [email protected] postinstall /usr/local/lib/node_modules/cordova-hot-code-push-cli/node_modules/ngrok
> node ./postinstall.js
sh: node: command not found
from cordova-hot-code-push-cli.
Related Issues (20)
- cordova-hot-code-push not deploying HOT 4
- Allow absolute URL for www_directory HOT 2
- Use chcpbuild.options when running "cordova-hcp build" HOT 1
- issue in SWIFT_VERSION HOT 2
- install cordova-hot-code-push-cli bring error HOT 7
- cordova-hcp should be able to build and deploy for dev/prod HOT 1
- Add optional logging for server (requests for assets as clients fetch updates) HOT 2
- document env.version HOT 3
- release timestamp should only be updated if manifest did change HOT 2
- cordova-hcp build error HOT 3
- Unable to know if the update has gone well or not HOT 2
- License? HOT 1
- Could you tell me where the new edition is? HOT 2
- questions about Update method HOT 1
- Blank screen after update/install on released(signed) apk version HOT 1
- there is an error while install cordova-hot-code-push-cli ----Cannot find module 'async' HOT 1
- Node version > 5.1.0 HOT 2
- When attempting 'npm install -g cordova-hot-code-push-cli' HOT 4
- TODO: Should print usage instructions. HOT 2
- PSA: Deprecation notice 2018-09-30
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 cordova-hot-code-push-cli.