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.

error UNHANDLED EXCEPTION

See original GitHub issue

Description

I am a newbie to gatsby. Basically, I am just following your guides on https://www.npmjs.com/package/gatsby-cli

Environment

Gatsby version:1.1.28 Node.js version:v8.7.0 Operating System:Ubuntu 17.04

File contents (if changed): (There is no change)

gatsby-config.js: package.json: gatsby-node.js: gatsby-browser.js: gatsby-ssr.js:

Actual result

What happened. Whenever I type “gatsby develop” it returns error UNHANDLED EXCEPTION

  Error: watch /home/dev/gatsby-site/gatsby-config.js ENOSPC
  
  - nodefs-handler.js:37 createFsWatchInstance
    [gatsby-site]/[chokidar]/lib/nodefs-handler.js:37:15
  
  - nodefs-handler.js:80 setFsWatchListener
    [gatsby-site]/[chokidar]/lib/nodefs-handler.js:80:15
  
  - nodefs-handler.js:228 FSWatcher.NodeFsHandler._watchWithNodeFs
    [gatsby-site]/[chokidar]/lib/nodefs-handler.js:228:14
  
  - nodefs-handler.js:255 FSWatcher.NodeFsHandler._handleFile
    [gatsby-site]/[chokidar]/lib/nodefs-handler.js:255:21
  
  - nodefs-handler.js:473 FSWatcher.<anonymous>
    [gatsby-site]/[chokidar]/lib/nodefs-handler.js:473:21

Steps to reproduce

1.gatsby new gatsby-site

2.gatsby develop …

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

9reactions
i001962commented, Oct 5, 2018

I ran into this error using Netlify and simply redeployed with the clear cache option set to yes. https://screencast.com/t/p5AviESgg

9reactions
KyleAMathewscommented, Jan 3, 2018

This is a node.js error not a gatsby error. See this stackoverflow question for example https://stackoverflow.com/questions/22475849/node-js-error-enospc

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unhandled Exception Error: 5 Quick Fixes - Windows Report
This error appears when the code of an application or program is not adequately equipped to handle exceptions. As previously mentioned, the ...
Read more >
How to Fix the Unhandled Exception Has Occurred Error on ...
Fix Unhandled Exception Has Occurred ; Step-1: Go to the Start menu and click on the Settings cog. (Shortcut keys: Win + I)...
Read more >
What is an Unhandled Exception, and How to Catch All C# ...
An exception is a known type of error. An unhandled exception occurs when the application code does not properly handle exceptions.
Read more >
Unhandled Exception has occurred in your application error Fix
Unhandled Exception has occurred in your application error Fix · Fix 1 – Enable . · Fix 2- Run SFC and DISM checks...
Read more >
What is an Unhandled Exception? - Video & Lesson Transcript
An unhandled exception is an error in a computer program or application when the code has no appropriate handling exceptions.
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