Arguments to path.resolve must be strings TypeError in console when I open Atom in OSX


#1

Below is the error and screenshot is here

activate linter-erb
activate linter-scss-lint
Window load time: 2406ms
Arguments to path.resolve must be strings TypeError: Arguments to path.resolve must be strings
  at Object.exports.resolve (path.js:327:15)
  at new PathScanner (/Applications/Atom.app/Contents/Resources/app/node_modules/scandal/lib/path-scanner.js:25:28)
  at Object.module.exports (/Applications/Atom.app/Contents/Resources/app/src/scan-handler.js:12:15)
  at process.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/task-bootstrap.js:84:10)
  at process.EventEmitter.emit (events.js:110:17)
  at handleMessage (child_process.js:323:10)
  at Pipe.channel.onread (child_process.js:351:11)
Uncaught TypeError: Cannot read property 'charCodeAt' of undefined /Applications/Atom.app/Contents/Resources/app/node_modules/snippets/lib/snippet-body.js:334

#2

I edited your post to include the screenshot inline and to format the log output better. I hope you don’t mind.

Have you followed the suggestions in the Debugging document? Also, could you give the following information?

  • Which version of Atom are you using?
  • What OS and version are you running?
  • Can you reproduce the issue after completely exiting Atom and restarting using atom --safe?