GithubHelp home page GithubHelp logo

Comments (10)

pocesar avatar pocesar commented on September 24, 2024

AFAIK it will try to append "node" at the end of the node_path, so it would need to be set to "/usr/local/bin/" (or without slash at the end, the same goes to tsc I guess)

from arctictypescript.

ecraig12345 avatar ecraig12345 commented on September 24, 2024

I tried that, and it didn't work. I think it's just picking up completely the wrong path somehow.

from arctictypescript.

pocesar avatar pocesar commented on September 24, 2024

does which node gives you that path? (just to make sure)

from arctictypescript.

ecraig12345 avatar ecraig12345 commented on September 24, 2024

Yes. I'm debugging some and it thinks the path is None for some reason. So it's just not looking at the config file.

from arctictypescript.

pocesar avatar pocesar commented on September 24, 2024

see if your user sublime settings is using the old TS3 / ArcticTypescript syntax or overriding it, then update it. Changing the default won't have an effect if there's an user defined settings file

from arctictypescript.

ecraig12345 avatar ecraig12345 commented on September 24, 2024

Nope. Something weird is going on when it tries to open the project--it's either not reading the plugin settings file, or not passing it through to the place it's needed. I don't have time to debug more right now, so hopefully the author or somebody else will be able to figure out what's wrong.

from arctictypescript.

jonatannyberg avatar jonatannyberg commented on September 24, 2024

I am having the same issue. It can not find node at all, I have tried all of the above and it just seems to ignore the settings. I even have the path to node in $PATH so it should not even need the "node_path", i.e. the "I have tried this path: node" it is saying it has tried should work.

Edit:
I have removed all old settings files from sublime and projects, removed and reinstalled arctic typescript.
I then followed the instructions when opening a .ts file and ended upp with the following tsconfig.json:

{
"compilerOptions": {
"out": "out.js",
"sourceMap": true,
"target": "es5"
},
"files": [
"app.ts"
]
}

and even if i modify it to include the node_path like so:

{
"compilerOptions": {
"out": "out.js",
"sourceMap": true,
"target": "es5"
},
"files": [
"app.ts"
],
"settings":
{
"ArcticTypescript": {
"node_path": "/usr/local/bin"
}
}
}

I get the error in the original post.

from arctictypescript.

Phaiax avatar Phaiax commented on September 24, 2024

I think these are two issues:

  1. I have changed the default way of how node is called on Mac (I tought it would be enough to add /usr/local/bin to PATH, but I guess somehow this does not change anything on how node is called)
  2. The setting is ignored.

I'll fix this just now, livecoding.tv/phaiax, just for fun :D

from arctictypescript.

Phaiax avatar Phaiax commented on September 24, 2024

hope this is fixed now, if not, please reopen

from arctictypescript.

Phaiax avatar Phaiax commented on September 24, 2024

0.6.2 is out, should be available in 1 hour (restart sublime then)
refer to https://packagecontrol.io/packages/ArcticTypescript and see if the version is already provided via packagecontrol

from arctictypescript.

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.