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-htmlhint\node_modules\atom-package... #286

Open
luzalex23 opened this issue Sep 25, 2021 · 0 comments

Comments

@luzalex23
Copy link

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.58.0 x64
Electron: 9.4.4
OS: Unknown Windows version
Thrown From: linter-htmlhint package 1.6.3

Stack Trace

Uncaught Error: Cannot find module 'C:\Users\alex_.atom\packages\linter-htmlhint\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:309

Error: Cannot find module 'C:\Users\alex_\.atom\packages\linter-htmlhint\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:301:19)
    at Function.Module._findPath (internal/modules/cjs/loader.js:532:18)
    at Module._resolveFilename (internal/modules/cjs/loader.js:784:27)
    at o._resolveFilename (electron/js2c/renderer_init.js:43:689)
    at Function.get_Module._resolveFilename (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:157920)
    at Module.require (/app.asar/static/index.js:61:43)
    at require (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:149207)
    at installLinterHtmlhintDeps (/packages/linter-htmlhint/lib/index.js:87:9)

Commands

Non-Core Packages

atom-beautify 0.33.4 
atom-css-comb 3.5.1 
atom-file-icons 0.7.1 
atom-html-preview 0.2.7 
busy-signal 2.0.1 
emmet 2.4.3 
file-icons 2.1.47 
intentions 2.1.1 
less-than-slash 0.20.0 
linter 3.4.0 
linter-csslint 2.0.6 
linter-htmlhint 1.6.3 
linter-jshint 3.1.19 
linter-ui-default 3.4.1 
prettier-atom 0.60.1 
script 3.32.2 
todo-show 2.3.2 
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