Giter VIP home page Giter VIP logo

Comments (7)

lnxbil avatar lnxbil commented on May 13, 2024

You have to install nodejs, so that the command node can be found. Please refer to the documentation of your system.

from startbootstrap-sb-admin-2.

a1exus avatar a1exus commented on May 13, 2024

nodejs is already installed:

root@alexus:~/startbootstrap-sb-admin-2# apt-cache policy nodejs
nodejs:
  Installed: 0.10.25~dfsg2-2ubuntu1
  Candidate: 0.10.25~dfsg2-2ubuntu1
  Version table:
 *** 0.10.25~dfsg2-2ubuntu1 0
        500 http://mirrors.digitalocean.com/ubuntu/ trusty/universe amd64 Packages
        100 /var/lib/dpkg/status
root@alexus:~/startbootstrap-sb-admin-2# nodejs --version
v0.10.25
root@alexus:~/startbootstrap-sb-admin-2# which node nodejs
/usr/bin/nodejs
root@alexus:~/startbootstrap-sb-admin-2# 

maybe I should create symbolic link to node?

from startbootstrap-sb-admin-2.

lnxbil avatar lnxbil commented on May 13, 2024

Oh, please change your line from node to nodejs.

from startbootstrap-sb-admin-2.

a1exus avatar a1exus commented on May 13, 2024

I assume "line" that you're referring too, is following:

root@alexus:~/startbootstrap-sb-admin-2# head -1 `which bower`
#!/usr/bin/env node
root@alexus:~/startbootstrap-sb-admin-2# vi `which bower`
root@alexus:~/startbootstrap-sb-admin-2# head -1 `which bower`
#!/usr/bin/env nodejs
root@alexus:~/startbootstrap-sb-admin-2# 

from startbootstrap-sb-admin-2.

lnxbil avatar lnxbil commented on May 13, 2024

Yes, does it work?

env looks normally in your environment for the executable so that you can change your PATHas you desire.

from startbootstrap-sb-admin-2.

a1exus avatar a1exus commented on May 13, 2024

yes, s/node/nodejs/ did the trick) thanks!

from startbootstrap-sb-admin-2.

lnxbil avatar lnxbil commented on May 13, 2024

glad to be of help

from startbootstrap-sb-admin-2.

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.