Giter VIP home page Giter VIP logo

Comments (4)

cjie avatar cjie commented on June 5, 2024 1

I have solved this problem. Node does not be installed properly.
Thanks.

from cordova-hot-code-push-cli.

nikDemyankov avatar nikDemyankov commented on June 5, 2024

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.

cjie avatar cjie commented on June 5, 2024

But I have already installed the latest version of node.
node --version prints v4.4.7

from cordova-hot-code-push-cli.

cjie avatar cjie commented on June 5, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.