AtomLinter / linter-js-yaml

Atom Linter plugin for YAML, using js-yaml
11 stars 11 forks source link

Failed to activate the linter-js-yaml package #276

Open Vinod705 opened 2 years ago

Vinod705 commented 2 years ago

Prerequisites

Description

Steps to Reproduce

Expected behavior:

Actual behavior:

Versions

Atom: 1.60.0 x64 Electron: 9.4.4 OS: Microsoft Windows 11 Home Single Language Thrown From: linter-js-yaml package 1.4.6

Stack Trace

Failed to activate the linter-js-yaml package

At Cannot find module 'atom-linter'
Require stack:
- C:\Users\Vinod Natesan\.atom\packages\linter-js-yaml-master\lib\linter-js-yaml.js
- C:\Users\Vinod Natesan\AppData\Local\atom\app-1.60.0\resources\app.asar\static\index.html

Error: Cannot find module 'atom-linter'
Require stack:
- C:\Users\Vinod Natesan\.atom\packages\linter-js-yaml-master\lib\linter-js-yaml.js
- C:\Users\Vinod Natesan\AppData\Local\atom\app-1.60.0\resources\app.asar\static\index.html
    at Module._resolveFilename (internal/modules/cjs/loader.js:797:17)
    at o._resolveFilename (electron/js2c/renderer_init.js:43:689)
    at Function.get_Module._resolveFilename (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:157942)
    at Module.require (/app.asar/static/index.js:61:43)
    at require (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:149229)
    at /packages/linter-js-yaml/lib/linter-js-yaml.js:5:24)
    at /packages/linter-js-yaml/lib/linter-js-yaml.js:89:2)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:149913)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:153507)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Module._load (internal/modules/cjs/loader.js:727:14)
    at Function.Module._load (electron/js2c/asar.js:769:28)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:74:18)
    at customRequire (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:1:802772)
    at requireModule (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:14:1175135)
    at Package.requireMainModule (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:3543231)
    at Package.activateNow (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:3531230)
    at ~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:14:2607
    at Function.simpleDispatch (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:1187666)
    at Emitter.emit (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:1189107)
    at PackageManager.triggerDeferredActivationHooks (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:386501)
    at ~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:385252

Commands

Non-Core Packages

linter-js-yaml 1.4.6 
linter-js-yaml 1.4.6 
remote-sync 4.1.8 

Additional Information