Giter VIP home page Giter VIP logo

Comments (5)

Jason3S avatar Jason3S commented on September 26, 2024

When I wrote cspell (it was part of another tool) and targeting ES2015 made sense. I was not thinking about backwards compatibility with Node 4 or earlier.

I now realize that it limit its use in many production environments. I don't have an easy fix. I made extensive use of Map, Set, and Iterators. The TS team was working on back porting these concepts to ES5 and maybe ES3. If they do that, then it might be possible to compile for those modes.

Have you tried: https://www.npmjs.com/package/nexe (I have not) but it might allow you to package cspell so it can run on AWS.

from cspell.

JRGranell avatar JRGranell commented on September 26, 2024

Thanks I'll take a look

from cspell.

Jason3S avatar Jason3S commented on September 26, 2024

I have been thinking about ways to do this.

Question: Couldn't you use Node 6.10? cSpell runs just fine on Node 6.

AWS says it supports Node 4.3 and 6.10

I am guessing you are running cSpell in your CI environment and not on AWS. If your CI environment has NVM, then you can run cSpell like this: nvm exec 6 ./node_modules/cspell/dist/app.js

from cspell.

Jason3S avatar Jason3S commented on September 26, 2024

I was able to get it working using nvm. I don't have time to make an executable at this time.

I'll close for now. If more people want this, then would consider making binary.

from cspell.

github-actions avatar github-actions commented on September 26, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

from cspell.

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.