/usr/bin/env: invalid option -- 'S'
balihoo-jvakotar opened this issue · comments
balihoo-jvakotar commented
Liang Gong commented
Are you using Mac OS or Linux? What is the OS version?
Liang Gong commented
To quickly fix, use vim $(which memlab)
to remove the -S
in the shebang of the file:
#!/usr/bin/env -S node --expose-gc --max-old-space-size=4096
-> #!/usr/bin/env node --expose-gc --max-old-space-size=4096
Alternatively, change the shebang to #!/usr/bin/env node
.
If you are using a Linux distro (or Mac OS) that is not too old, -S
should be supported by env
.
Liang Gong commented
Closing since this issue cannot be replicated.