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.

Whilst mostly a Babel user, I got interested in TypeScript a few weeks ago and started following @basarat on Twitter. Seeing his tweet about Alm last night prompted me to check out Alm. In subsequent communication, @thebabelion I mentioned to @basarat, that all did not go well and he requested I log issue here. Here is relevant terminal output (my own path names anonymized).

In both cases no UI appeared.

Terminal session in my TypeScript project directory ` xxx@xxx-VirtualBox ~/xxx/myproject $ cat /etc/*-release DISTRIB_ID=LinuxMint DISTRIB_RELEASE=18 DISTRIB_CODENAME=sarah DISTRIB_DESCRIPTION=“Linux Mint 18 Sarah” NAME=“Linux Mint” VERSION=“18 (Sarah)” ID=linuxmint ID_LIKE=ubuntu PRETTY_NAME=“Linux Mint 18” VERSION_ID=“18” HOME_URL=“http://www.linuxmint.com/” SUPPORT_URL=“http://forums.linuxmint.com/” BUG_REPORT_URL=“http://bugs.launchpad.net/linuxmint/” UBUNTU_CODENAME=xenial cat: /etc/upstream-release: Is a directory

xxx@xxx-VirtualBox ~/xxx/myproject $ node --version v6.6.0

xxx@xxx-VirtualBox ~/xxx/myproject $ npm --version 3.10.7

xxx@xxx-VirtualBox ~/xxx/myproject $ alm Version: 2.0.3 DASHBOARD: http://localhost:4444 TSCONFIG: All Good! /home/xxx/xxx/myproject/tsconfig.json [TSC] Started Initial Error Analysis: /home/xxx/xxx/myproject/tsconfig.json [LINT] No tslint configuration found. [TSC] Error Analysis Duration: 1s [TSC] FileCount: 3 Errors: 2 [TSC] Incremental Error Analysis /home/xxx/xxx//myproject/tsconfig.json [TSC] Error Analysis Duration: 1s [TSC] FileCount: 3 Errors: 2 events.js:160 throw er; // Unhandled ‘error’ event ^

Error: watch /home/xxx/xxx/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/ref ENOSPC at exports._errnoException (util.js:1036:11) at FSWatcher.start (fs.js:1429:19) at Object.fs.watch (fs.js:1456:11) at createFsWatchInstance (/home/xxx/lib/node_modules/alm/node_modules/chokidar/lib/nodefs-handler.js:37:15) at setFsWatchListener (/home/xxx/lib/node_modules/alm/node_modules/chokidar/lib/nodefs-handler.js:80:15) at FSWatcher.NodeFsHandler._watchWithNodeFs (/home/xxx/lib/node_modules/alm/node_modules/chokidar/lib/nodefs-handler.js:228:14) at FSWatcher.NodeFsHandler._handleDir (/home/xxx/lib/node_modules/alm/node_modules/chokidar/lib/nodefs-handler.js:407:19) at FSWatcher.<anonymous> (/home/xxx/lib/node_modules/alm/node_modules/chokidar/lib/nodefs-handler.js:455:19) at FSWatcher.<anonymous> (/home/xxx/lib/node_modules/alm/node_modules/chokidar/lib/nodefs-handler.js:460:16) at FSReqWrap.oncomplete (fs.js:123:15) fileListingWorker worker restarting. Don’t know why it stopped with code: 1 `

Terminal session in an empty directory ` xxx@xxx-VirtualBox ~ $ mkdir tmp xxx@xxx-VirtualBox ~ $ cd tmp xxx@xxx-VirtualBox ~/tmp $ alm Version: 2.0.3 DASHBOARD: http://localhost:4445 [TSCONFIG]: No active project

`

Trusting this information is helpful.

Justin Johansson Twitter: @thebabelion GitHub: @johanssj

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:21 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
ishigamicommented, Sep 29, 2016

About the ENOSPC error on Linux, I’ve tried the following code and fixed the error

echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

More info at: https://github.com/typicode/json-server/issues/361

1reaction
basaratcommented, Sep 19, 2016

Still like you allude to, the ENOSPC issue in the first case needs understanding as to why.

Editing the issue to track that better. This is external stuff but googling around the following shows up:

Just as an estimate how many files are in that project folder? 🌹

Read more comments on GitHub >

github_iconTop Results From Across the Web

Node.js: what is ENOSPC error and how to solve?
ENOSPC means that there is no space on the drive. Perhaps /tmp is full?
Read more >
ENOSPC identifier - Linux source code (v6.1) - Elixir Bootlin
Defined in 3 files as a macro: arch/powerpc/boot/stdio.h, line 9 (as a macro) · include/uapi/asm-generic/errno-base.h, line 32 (as a macro) ...
Read more >
How To Fix - Error "ENOSPC: System Limit for Number of File ...
First thing first – ENOSPC -> Denotes that means that there is not sufficient space on the drive (or Temp folder also) to...
Read more >
Create react app ENOSPC issue on Linux | by Pavan - Medium
NodeJS throws ENOSPC (Error no space) when there is not enough space available to run the application. But df -h tells a different...
Read more >
During btrfs balance "enospc" errors are reported | Support
The way balance operates, it usually needs to temporarily create a new block group and move the old data there, before the old...
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