Home  >  Q&A  >  body text

Error installing linter-eslint plugin with atom - Stack Overflow

When installing the linter-eslint plug-in with atom, I installed linter-eslint manually. After installing the required modules, I was prompted that it could not be activated.
Failed to activate the linter-eslint package
Error: Unsupported preset format: undefined . (While processing preset: "C:\Users\shexm\.atom\packages\linter-eslint-master\node_modules\node5\test.js")

The following is the complete code of test.js in the node5 folder

console.log('hello wold')

function hello() {

console.log('hello, this is my first package!fumingyu')

}
module.exports=hello;
I don’t know how to activate

代言代言2663 days ago883

reply all(1)I'll reply

  • phpcn_u1582

    phpcn_u15822017-07-05 11:04:04

    I remember that if you want eslint, you need to install linter and linter-eslint plug-ins. It is possible that these two plug-ins are not installed properly.

    You can reinstall it, or use the apm official package management command to install it. After the installation is complete, restart atom

    reply
    0
  • Cancelreply