Glavin001 / atom-beautify

:mega: Help Wanted - Looking for Maintainer: https://github.com/Glavin001/atom-beautify/issues/2572 | :lipstick: Universal beautification package for Atom editor (:warning: Currently migrating to https://github.com/Unibeautify/ and have very limited bandwidth for Atom-Beautify Issues. Thank you for your patience and understanding :heart: )
http://unibeautify.com/
MIT License
1.5k stars 453 forks source link

Uncaught Error: Cannot find module '$ATOM_HOME/packages\atom-beautify\node_modules\lodash\lodash.... #2606

Open Emmanueljo opened 2 years ago

Emmanueljo commented 2 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.58.0 x64 Electron: 9.4.4 OS: Microsoft Windows 10 Pro Thrown From: atom-beautify package 0.33.4

Stack Trace

Uncaught Error: Cannot find module 'C:\Users\HP.atom\packages\atom-beautify\node_modules\lodash\lodash.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\HP\.atom\packages\atom-beautify\node_modules\lodash\lodash.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 /packages/atom-beautify/src/beautify.coffee:8:5)
    at /packages/atom-beautify/src/beautify.coffee:2:1)
    at /packages/atom-beautify/src/beautify.coffee:2:1)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:149891)
    at Object.value [as .coffee] (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:153485)
    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.58.0/resources/app/static/<embedded>:1:802772)
    at requireModule (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:14:1195622)
    at Package.requireMainModule (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:3520513)
    at Package.activateConfig (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:3509801)
    at PackageManager.packageHasSettings (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:908520)
    at PackageCard.hasSettings (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:14:2729736)
    at PackageCard.updateSettingsState (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:14:2720004)
    at PackageCard.updateInterfaceState (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:14:2719827)
    at new PackageCard (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:14:2711346)
    at PackageDetailView.completeInitialization (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:14:857941)
    at PackageDetailView.loadPackage (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:14:858508)
    at new PackageDetailView (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:14:855094)
    at SettingsView.getOrCreatePanel (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:930599)

Commands

Non-Core Packages

atom-beautify 0.33.4 
dli-atom-beautify 0.33.5 
SilentGlasses commented 1 year ago

If you still need this and are looking for something to fill the spot that Atom left, I am using Pulsar the successor to Atom... This package is working except for one deprecated error listed in #2605

If you don't need this anymore, can you please close this out so it's not just sitting there? Thanks