Error opening ATOM in dev mode


#1

I am getting an error while trying to open ATOM in dev mode from
View-> Developer->Open In Dev Mode. Below is the error which i get.

Error: Cannot find module ‘flatten’
at Module._resolveFilename (module.js:543:15)
at Module._resolveFilename (AppData\Local\atom\app-1.30.0\resources\electron.asar\common\reset-search-paths.js:35:12)

Any help is appreciated.


#2

Do you have any packages in .atom/dev/packages/?


#3

There is no folder named “dev” in .atom. I also uninstalled and reinstalled ATOM but still getting same error.


#4

What happens if you rename .atom/ and restart Atom? What are you trying to use developer mode for? If it’s just to use the developer tools, you can get them through View -> Developer -> Toggle developer tools or ctrl-shift-i.