Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Uncaught Error: Cannot find module '$ATOM_HOME/packages\linter-jshint\node_modules\atom-package-d... #837

Open
PyperDash opened this issue Oct 30, 2020 · 0 comments

Comments

@PyperDash
Copy link

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.52.0 x64
Electron: 6.1.12
OS: Unknown Windows version
Thrown From: linter-jshint package 3.1.19

Stack Trace

Uncaught Error: Cannot find module 'C:\Users\visnu.atom\packages\linter-jshint\node_modules\atom-package-deps\lib\index.js'. Please verify that the package.json has a valid "main" entry

At internal/modules/cjs/loader.js:240

Error: Cannot find module 'C:\Users\visnu\.atom\packages\linter-jshint\node_modules\atom-package-deps\lib\index.js'. Please verify that the package.json has a valid "main" entry
    at tryPackage (internal/modules/cjs/loader.js:232:19)
    at Function.Module._findPath (internal/modules/cjs/loader.js:369:18)
    at Module._resolveFilename (internal/modules/cjs/loader.js:614:27)
    at Module._resolveFilename (~/AppData/Local/atom/app-1.52.0/resources/electron.asar/common/reset-search-paths.js:41:16)
    at Function.get_Module._resolveFilename (~/AppData/Local/atom/app-1.52.0/resources/app/static/<embedded>:11:155481)
    at Module.require (/app.asar/static/index.js:61:43)
    at require (~/AppData/Local/atom/app-1.52.0/resources/app/static/<embedded>:11:146814)
    at installLinterJSHintDeps (/packages/linter-jshint/lib/main.js:35:9)

Commands

  3x -8:49.2.0 core:backspace (input.hidden-input)
  3x -3:48 core:move-left (input.hidden-input)
  2x -3:32.4.0 core:backspace (input.hidden-input)
     -3:16.1.0 core:confirm (input.hidden-input)
     -3:11.5.0 core:backspace (input.hidden-input)
     -3:10.3.0 core:confirm (input.hidden-input)

Non-Core Packages

atom-live-server 2.3.0 
emmet 2.4.3 
file-icons 2.1.43 
linter 3.1.1 
linter-jshint 3.1.19 
minimap 4.29.9 
minimap-pigments 0.2.2 
pigments 0.40.6 
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant