Giter Site home page Giter Site logo

Forrest can’t run (scripts) about forrest HOT 7 CLOSED

mischah avatar mischah commented on July 28, 2024
Forrest can’t run (scripts)

from forrest.

Comments (7)

stefanjudis avatar stefanjudis commented on July 28, 2024

Could you provide more information on how you load node? I expect nvm loading inside of your zshrc?

from forrest.

mischah avatar mischah commented on July 28, 2024

Update. Forrest runs after changing my environment to:

node   v6.4.0
npm    3.10.6

from forrest.

mischah avatar mischah commented on July 28, 2024

Does it need Node 6.x?

from forrest.

stefanjudis avatar stefanjudis commented on July 28, 2024

No, that doesn't make much sense. But I'll dig into it over the weekend. Could you still provide pieces of your zshrc? :)

Electron itself ships with node 6.x.

Did you change it temporarily or set a new nvm default?

from forrest.

mischah avatar mischah commented on July 28, 2024

I load nvm with the following two lines in my zshrc:

export NVM_DIR=~/.nvm
source $(brew --prefix nvm)/nvm.sh

Did you change it temporarily or set a new nvm default?

Nope. Its now like that:

$ nvm ls
       v0.10.43
        v0.12.4
        v0.12.7
         v4.2.2
         v5.1.0
         v5.2.0
         v5.4.0
         v5.5.0
         v6.0.0
         v6.2.0
->       v6.4.0
default -> node (-> v6.4.0)
node -> stable (-> v6.4.0) (default)
stable -> 6.4 (-> v6.4.0) (default)
iojs -> N/A (default)

Before that v5.5.0 was the default.

from forrest.

stefanjudis avatar stefanjudis commented on July 28, 2024

Are you sure node and npm where there when you open a new terminal session?
This is all forrest does. Starting a new terminal session and then executing commands.

maybe you're running into this nvm bug

nvm is not compatible with the npm config "prefix" option: currently set to "/usr/local/Cellar/nvm/0.31.2/versions/node/v6.3.1"
Run `nvm use --delete-prefix v6.3.1 --silent` to unset it.

which forced me to execute this for every new sessino for a while?

from forrest.

mischah avatar mischah commented on July 28, 2024

Can’t reproduce.

from forrest.

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.