question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow overriding node flags (namely --stack_size)

See original GitHub issue

Hi,

I just stumbled upon an issue with gulp-uglify, which actually lies within uglify2 itself:

If a JS file contains too many consecutive statements, it requires a bigger stack size, and there’s no way to override that with gulp other than running node --stack_size=2048 $(which gulp) build.

Could this be added to gulp?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:5
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

10reactions
dearlordchencommented, Sep 5, 2018

I encoutered the node-flag problem like below gulp --page a

/usr/local/bin/node: bad option: --page
[17:35:06] Node flags detected: --page
[17:35:06] Respawned to PID: 11748

and i finnally found the solution: install gulp-cli globally sudo npm install gulp-cli -g

Read more comments on GitHub >

github_iconTop Results From Across the Web

More than 10 lines in a node.js stack error?
Easiest solution for that is to start your code with following: Error.stackTraceLimit = Infinity;. If you'd like to see stack trace that spans...
Read more >
Ubuntu Manpage: slurm.conf - Slurm configuration file
AllowSpecResourcesUsage If set to 1, Slurm allows individual jobs to override node's configured CoreSpecCount value. For a job to take advantage of this ......
Read more >
Server configuration - ARK: Survival Evolved Wiki - Fandom
OverrideOfficialDifficulty=5.0, Allows you to override the default server ... To allow your Server's Titanosaurs to be permanently tamed (namely allow them ...
Read more >
User Guide :: Nsight Systems Documentation
Note additional switches on the command line will override switches in the file. This flag can be specified more than once.
Read more >
skia / external / github.com / ocornut / imgui / refs ... - Google Git
Overwrite every file except imconfig.h (if you have modified it). ... Added ImGuiSliderFlags_Logarithmic flag to enable logarithmic editing.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found