Giter Club home page Giter Club logo

Comments (6)

hanjoosten avatar hanjoosten commented on July 26, 2024

Did you manually add tasks in the file .vscode/tasks.json ? If so, these should never contain a reference to a specific version.

  1. Iff there are such tasks defined, remove them.
  2. reinstall the extention. (just to make sure you have the latest. To do so, in vscode, press

    and select Developer: Reinstall Extention.... Select the ampersand extention.

Let me know what happens.

from ampersand-language-support.

RieksJ avatar RieksJ commented on July 26, 2024

I did. I followed your advise. After reinstallation (which you can see happened because I'm now running v 0.2.11), this is what the output window showed:

> Executing task in folder extensions: npm run compile <


> [email protected] compile c:\Users\joostenhjm\.vscode\extensions\ampersandtarski.language-ampersand-0.2.11
> tsc -watch -p ./

'tsc' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] compile: `tsc -watch -p ./`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] compile script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\joostenhjm\AppData\Roaming\npm-cache\_logs\2018-08-12T11_19_23_055Z-debug.log
The terminal process terminated with exit code: 1

Terminal will be reused by tasks, press any key to close it.

What's that with tsc not being recognized as an internal or external command? What's tsc anyway?

from ampersand-language-support.

hanjoosten avatar hanjoosten commented on July 26, 2024

Our extention uses typescript. tsc is the typescript compiler. As a developer of the extention, you need it to be installed:

npm install -g typescript

If you have this installed, you should be fine.

from ampersand-language-support.

RieksJ avatar RieksJ commented on July 26, 2024

Then I get a different error:

> [email protected] compile c:\Users\joostenhjm\.vscode\extensions\ampersandtarski.language-ampersand-0.2.11
> tsc -watch -p ./

error TS5057: Cannot find a tsconfig.json file at the specified directory: './'.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] compile: `tsc -watch -p ./`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] compile script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\joostenhjm\AppData\Roaming\npm-cache\_logs\2018-08-12T12_07_18_343Z-debug.log
The terminal process terminated with exit code: 1

Terminal will be reused by tasks, press any key to close it.

from ampersand-language-support.

hanjoosten avatar hanjoosten commented on July 26, 2024

For developers, this should be solved now.

For users, we still have to add some instructions in the readme file.

from ampersand-language-support.

hanjoosten avatar hanjoosten commented on July 26, 2024

With release 0.3.1, the ampersand checker daemon has been introduced. This enables the command Ampersand: Start checker.

from ampersand-language-support.

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.