Comments (5)
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.
Thanks I'll take a look
from cspell.
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.
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.
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)
- Automatic suggestion fixes HOT 1
- [Bug]: import config not working with `@cspell/dict-fr-fr` in a subdirectory since v8.1.0 HOT 11
- Q: How to fix: "DeprecationWarning: `punycode` module is deprecated." HOT 2
- [Bug]: `cspell -r ../other/root .` doesn't find files HOT 1
- [Bug]: TypeError: Cannot read properties of undefined (reading 'text') HOT 5
- [Bug]: Incorrect handling of negate rules in .gitignore HOT 2
- [Bug]: Symlink to configuration file is ignored unless specified explicitly HOT 2
- [Bug]: `doesn''t` in yaml is not recognized correctly HOT 4
- [Bug]: cspell json file is ignored entirely when the json file has syntactical errors HOT 2
- 🔍 Config resolution from a global path HOT 7
- [Bug]: TypeError: Cannot read properties of undefined (reading '0') in cspell-trie-lib HOT 4
- 💡: Ignore files not specified in files but passed to the argument. HOT 7
- [Bug]: cspell-eslint-plugin does not work with Russian language HOT 3
- [Bug]: Cache uses different path separators based off OS HOT 7
- Q: Is it possible to support per-language prefixes -a.k.a. do not flag words with prefixes like "un" or "pre" or "co"? HOT 5
- 💡: Ability to ignore the path by excluding files HOT 4
- [Bug]: Failed to resolve file /node_modules/@cspell/dict-aws/cspell-ext.json HOT 14
- 💡: `cspell-define-config` package: add to docs HOT 3
- CSpell is not running on Node 12 HOT 5
- 💡: Consider moving .cspellcache to node_modules/.cache HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cspell.