Comments (6)
I'm running into a similar issue. It seems that the migration script shells out to tslint so increasing the memory limit for the script itself doesn't do anything as tslint's memory limit is what needs to be increased.
from rxjs-tslint.
As a workaround, I've cloned the repo, ran npm run release
. Went into the dist folder. Ran npm install
, then modified 'rxjs-5-to-6-migrate.js' so that it runs tslint via node --max-old-space-size=8192 "node_modules/.bin/tslint" <rest of args>
and will let it run with a larger memory limit. Then run the script via <path_to_cloned_repo>/dist/bin/rxjs-5-to-6-migrate -p tsconfig.json
. I'm in the middle of running the script and it's gotten further than it did before.
from rxjs-tslint.
Thanks @tjfryan I don't see where tslint is being used in the rxjs-5-to-5-migrate.js file. What line are you adding this node memory increase?
from rxjs-tslint.
In the file, there is a line that is constructing a shell command from a string. I've changed it to the following:
var command =
'node --max-old-space-size=8192 ' +
'"' + path_1.join(__dirname, 'node_modules', '.bin', 'tslint') + '"' +
' -c ' +
'"' + path_1.join(__dirname, 'rxjs-5-to-6-migrate.json') + '"' +
' -p ' +
'"' + optimist_1.argv.p + '"' +
' --fix';
from rxjs-tslint.
Is there any solution to this problem.
from rxjs-tslint.
@tjfryan can you explain little more clearly please.
from rxjs-tslint.
Related Issues (20)
- Cannot read property 'getText' of undefined HOT 2
- Error: Cannot find module 'typescript' HOT 1
- javascript migration guide HOT 1
- rxjs-5-to-6-migrate - cannot find any possible migration HOT 5
- Error: Cannot find module 'typescript' HOT 14
- rxjs-5-to-6-migrate HOT 1
- Extra comma being added after migration HOT 1
- PipeableOperatorsOnlyRule.js fails silently when RXJS 6 is installed HOT 7
- rxjs-5-to-6-migrate doesn't seem to handle operator chaining. HOT 3
- How to use the rules in Webstorm HOT 1
- Unable to install other modules after installing this HOT 11
- > I passed this error. It required typescript to be installed globally. HOT 1
- rxjs-pipeable-operators-only rule not producing any output
- rxjs-5-to-6-migrate doesn't seem to handle takeUntil piping
- Migrating TsLint to EsLint HOT 6
- Bug report - optimist, minimist dependency security vulnerability high
- Add support for tslint 6.x HOT 4
- subscribe is deprecated: Use an observer instead of a complete callback (deprecation) HOT 1
- Yarn install failing suddenly on V 4.17.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 rxjs-tslint.