Closed huanzhang closed 8 years ago
this is still happening with newest version?
Yes...
Cannot find module 'lodash.throttle'
Hide Stack Trace
Error: Cannot find module 'lodash.throttle'
at Module._resolveFilename (module.js:338:15)
at Function.Module._resolveFilename (C:\Users\jose.borges\AppData\Local\atom\app-1.7.3\resources\app.asar\src\module-cache.js:383:52)
at Function.Module._load (module.js:289:25)
at Module.require (module.js:366:17)
at require (C:\Users\jose.borges\AppData\Local\atom\app-1.7.3\resources\app.asar\src\native-compile-cache.js:50:27)
at Object.
@josealgardataborges how did you install the package?
the same as above... installed by the package download from https://github.com/JoelBesada/activate-power-mode.git 0.5.2 version windows10 atom1.8.0
Failed to load the activate-power-mode package
Cannot find module 'lodash.throttle'
Hide Stack Trace
Error: Cannot find module 'lodash.throttle'
at Module._resolveFilename (module.js:338:15)
at Function.Module._resolveFilename (C:\Users\samsungpc\AppData\Local\atom\app-1.8.0\resources\app.asar\src\module-cache.js:383:52)
at Function.Module._load (module.js:289:25)
at Module.require (module.js:366:17)
at require (C:\Users\samsungpc\AppData\Local\atom\app-1.8.0\resources\app.asar\src\native-compile-cache.js:50:27)
at Object.
@dyphoenix why not installing by the atom package manager?
yep, i've get it down, like it very much, tks~
@lexcast I encountered the same problem with @dyphoenix,I already try to use atom package manager install but install error.Then I try to install by console command but install error too;
Closing issues on old versions of this package.
Open again if the problem persists with the latest release.
Hi @luffy9412 what says the error?
please help me!
[Enter steps to reproduce below:]
Atom Version: 1.9.6 System: Unknown Windows Version Thrown From: activate-power-mode package, v0.7.3
Failed to load the activate-power-mode package
At Cannot find module 'lodash.throttle'
Error: Cannot find module 'lodash.throttle'
at Module._resolveFilename (module.js:339:15)
at Function.Module._resolveFilename (C:\Users\Snow\AppData\Local\atom\app-1.9.6\resources\app.asar\src\module-cache.js:383:52)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (C:\Users\Snow\AppData\Local\atom\app-1.9.6\resources\app.asar\src\native-compile-cache.js:50:27)
at Object.<anonymous> (file:///C:/Users/Snow/.atom/packages/activate-power-mode-master/lib/power-editor.coffee:1:12)
at Object.<anonymous> (file:///C:/Users/Snow/.atom/packages/activate-power-mode-master/lib/power-editor.coffee:1:1)
at Module._compile (C:\Users\Snow\AppData\Local\atom\app-1.9.6\resources\app.asar\src\native-compile-cache.js:103:30)
at Object.defineProperty.value [as .coffee] (C:\Users\Snow\AppData\Local\atom\app-1.9.6\resources\app.asar\src\compile-cache.js:208:21)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Module.require (module.js:367:17)
at require (C:\Users\Snow\AppData\Local\atom\app-1.9.6\resources\app.asar\src\native-compile-cache.js:50:27)
at Object.<anonymous> (file:///C:/Users/Snow/.atom/packages/activate-power-mode-master/lib/activate-power-mode.coffee:3:15)
at Object.<anonymous> (file:///C:/Users/Snow/.atom/packages/activate-power-mode-master/lib/activate-power-mode.coffee:1:1)
at Module._compile (C:\Users\Snow\AppData\Local\atom\app-1.9.6\resources\app.asar\src\native-compile-cache.js:103:30)
at Object.defineProperty.value [as .coffee] (C:\Users\Snow\AppData\Local\atom\app-1.9.6\resources\app.asar\src\compile-cache.js:208:21)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Module.require (module.js:367:17)
at require (C:\Users\Snow\AppData\Local\atom\app-1.9.6\resources\app.asar\src\native-compile-cache.js:50:27)
at Package.module.exports.Package.requireMainModule (C:\Users\Snow\AppData\Local\atom\app-1.9.6\resources\app.asar\src\package.js:715:27)
at C:\Users\Snow\AppData\Local\atom\app-1.9.6\resources\app.asar\src\package.js:117:28
at Package.module.exports.Package.measure (C:\Users\Snow\AppData\Local\atom\app-1.9.6\resources\app.asar\src\package.js:92:15)
at Package.module.exports.Package.load (C:\Users\Snow\AppData\Local\atom\app-1.9.6\resources\app.asar\src\package.js:106:12)
at PackageManager.module.exports.PackageManager.loadPackage (C:\Users\Snow\AppData\Local\atom\app-1.9.6\resources\app.asar\src\package-manager.js:457:14)
at C:\Users\Snow\AppData\Local\atom\app-1.9.6\resources\app.asar\src\package-manager.js:402:19
at Config.module.exports.Config.transact (C:\Users\Snow\AppData\Local\atom\app-1.9.6\resources\app.asar\src\config.js:312:16)
at PackageManager.module.exports.PackageManager.loadPackages (C:\Users\Snow\AppData\Local\atom\app-1.9.6\resources\app.asar\src\package-manager.js:397:19)
at C:\Users\Snow\AppData\Local\atom\app-1.9.6\resources\app.asar\src\atom-environment.js:749:28
{
"core": {}
}
# User
activate-power-mode, v0.7.3 (inactive)
atom-dark-syntax, v0.27.0 (inactive)
atom-dark-ui, v0.51.0 (inactive)
atom-light-syntax, v0.28.0 (inactive)
atom-light-ui, v0.43.0 (inactive)
base16-tomorrow-dark-theme, v1.1.0 (inactive)
base16-tomorrow-light-theme, v1.1.1 (inactive)
one-dark-ui, v1.3.2 (inactive)
one-light-ui, v1.3.2 (inactive)
one-dark-syntax, v1.2.0 (inactive)
one-light-syntax, v1.2.0 (inactive)
solarized-dark-syntax, v1.0.2 (inactive)
solarized-light-syntax, v1.0.2 (inactive)
about, v1.5.2 (inactive)
archive-view, v0.61.1 (inactive)
autocomplete-atom-api, v0.10.0 (inactive)
autocomplete-css, v0.11.1 (inactive)
autocomplete-html, v0.7.2 (inactive)
autocomplete-plus, v2.31.0 (inactive)
autocomplete-snippets, v1.11.0 (inactive)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (inactive)
background-tips, v0.26.0 (inactive)
bookmarks, v0.41.0 (inactive)
bracket-matcher, v0.82.1 (inactive)
command-palette, v0.38.0 (inactive)
deprecation-cop, v0.54.1 (inactive)
dev-live-reload, v0.47.0 (inactive)
encoding-selector, v0.22.0 (inactive)
exception-reporting, v0.38.3 (inactive)
fuzzy-finder, v1.3.0 (inactive)
git-diff, v1.1.0 (inactive)
find-and-replace, v0.198.0 (inactive)
go-to-line, v0.31.0 (inactive)
grammar-selector, v0.48.1 (inactive)
image-view, v0.58.0 (inactive)
incompatible-packages, v0.26.1 (inactive)
keybinding-resolver, v0.35.0 (inactive)
line-ending-selector, v0.5.0 (inactive)
link, v0.31.1 (inactive)
markdown-preview, v0.158.0 (inactive)
metrics, v0.53.1 (inactive)
notifications, v0.64.1 (inactive)
open-on-github, v1.2.0 (inactive)
package-generator, v1.0.0 (inactive)
settings-view, v0.238.0 (inactive)
snippets, v1.0.2 (inactive)
spell-check, v0.67.1 (inactive)
status-bar, v1.4.1 (inactive)
styleguide, v0.46.0 (inactive)
symbols-view, v0.113.0 (inactive)
tabs, v0.98.0 (inactive)
timecop, v0.33.1 (inactive)
tree-view, v0.208.0 (inactive)
update-package-dependencies, v0.10.0 (inactive)
welcome, v0.34.0 (inactive)
whitespace, v0.32.2 (inactive)
wrap-guide, v0.38.1 (inactive)
language-c, v0.52.1 (inactive)
language-clojure, v0.21.0 (inactive)
language-coffee-script, v0.47.0 (inactive)
language-csharp, v0.12.1 (inactive)
language-css, v0.36.2 (inactive)
language-gfm, v0.86.0 (inactive)
language-git, v0.13.0 (inactive)
language-go, v0.42.0 (inactive)
language-html, v0.44.1 (inactive)
language-hyperlink, v0.16.0 (inactive)
language-java, v0.22.0 (inactive)
language-javascript, v0.119.0 (inactive)
language-json, v0.18.0 (inactive)
language-less, v0.29.3 (inactive)
language-make, v0.22.2 (inactive)
language-mustache, v0.13.0 (inactive)
language-objective-c, v0.15.1 (inactive)
language-perl, v0.35.0 (inactive)
language-php, v0.37.0 (inactive)
language-property-list, v0.8.0 (inactive)
language-python, v0.45.0 (inactive)
language-ruby, v0.68.5 (inactive)
language-ruby-on-rails, v0.25.0 (inactive)
language-sass, v0.52.0 (inactive)
language-shellscript, v0.22.3 (inactive)
language-source, v0.9.0 (inactive)
language-sql, v0.21.1 (inactive)
language-text, v0.7.1 (inactive)
language-todo, v0.28.0 (inactive)
language-toml, v0.18.0 (inactive)
language-xml, v0.34.8 (inactive)
language-yaml, v0.26.0 (inactive)
# Dev
No dev packages
@snowluliang how did you install the package?
Hello, I am from China, I downloaded your compressed package, installed on the useless, why, the situation is similar to the above, I am a Windows7 system.
Is there a version of it, give me a link to download, I think it will be useful.
All right. I tried a version of the next version, and no use, how to do
Also, atom support for what font ah.
@liuchangxing try using the terminal running apm install activate-power-mode
and show me the output.
Cannot find module 'lodash.throttle'
Hide Stack Trace
Error: Cannot find module 'lodash.throttle'
at Module._resolveFilename (module.js:339:15)
at Function.Module._resolveFilename (D:\Atom\resources\app.asar\src\module-cache.js:383:52)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (D:\Atom\resources\app.asar\src\native-compile-cache.js:50:27)
at Object.
Is this one?
mm no, but that problem is fixed by running
cd ~/.atom/packages/activate-power-mode
npm install
But,apm,can't be in my "Windos PowerShell"function
找不到路径 (path not found)
What's next?Oh! I'm so stupid.
Don't worry from where you are in the terminal run:
cd activate-power-mode
npm install
And what?This seems to be right.
No no no, it can't be used.
Sorry. I just put the folder name wrong.
thank you very much! It has been good.Really thank you so much!
Oh! This feature I love it!
@liuchangxing great :tada:
thank you for your help.
why
@zhpass try installing with apm install activate-power-mode
its ok thank you;
+1 after update to 1.1.0
@JetCrusherTorpedo if the issue was just after the upgrade, try reopening atom.
@lexcast Still occurs, tried relaunching twice. Here's the Stack Trace:
@JetCrusherTorpedo this doesn't seem related to this issue, can you open a new one? and please copy/paste the stack trace as text, would be more useful.
@lexcast Atom says the error has already been reported and links to this issue
Stack Trace text:
SyntaxError: Unexpected token ILLEGAL at Module._compile (C:\Users\USERNAME\AppData\Local\atom\app-1.11.2\resources\app.asar\src\native-compile-cache.js:77:42) at Object.defineProperty.value [as .coffee] (C:\Users\USERNAME\AppData\Local\atom\app-1.11.2\resources\app.asar\src\compile-cache.js:208:21) at Module.load (module.js:357:32) at Function.Module._load (module.js:314:12) at Module.require (module.js:367:17) at require (C:\Users\USERNAME\AppData\Local\atom\app-1.11.2\resources\app.asar\src\native-compile-cache.js:50:27) at Package.module.exports.Package.requireMainModule (C:\Users\USERNAME\AppData\Local\atom\app-1.11.2\resources\app.asar\src\package.js:721:27) at C:\Users\USERNAME\AppData\Local\atom\app-1.11.2\resources\app.asar\src\package.js:117:28 at Package.module.exports.Package.measure (C:\Users\USERNAME\AppData\Local\atom\app-1.11.2\resources\app.asar\src\package.js:92:15) at Package.module.exports.Package.load (C:\Users\USERNAME\AppData\Local\atom\app-1.11.2\resources\app.asar\src\package.js:106:12) at PackageManager.module.exports.PackageManager.loadPackage (C:\Users\USERNAME\AppData\Local\atom\app-1.11.2\resources\app.asar\src\package-manager.js:457:14) at C:\Users\USERNAME\AppData\Local\atom\app-1.11.2\resources\app.asar\src\package-manager.js:402:19 at Config.module.exports.Config.transact (C:\Users\USERNAME\AppData\Local\atom\app-1.11.2\resources\app.asar\src\config.js:312:16) at PackageManager.module.exports.PackageManager.loadPackages (C:\Users\USERNAME\AppData\Local\atom\app-1.11.2\resources\app.asar\src\package-manager.js:397:19) at C:\Users\USERNAME\AppData\Local\atom\app-1.11.2\resources\app.asar\src\atom-environment.js:759:28
@JetCrusherTorpedo I know, but if you read this issue you will see is total different, I don't know how atom match existing issues but it fails sometimes.
@lexcast alright, thanks
sorry to bother,it installed error in my computer.Ubuntu 16.04 Atom is newly installed without other plugins(In fact other plugins fail to install) I try first apm install activate-power-mode it is stucked with 'Installing activate-power-mode to /home/uncrepter/.atom/packages' so i try other way, git clone --depth=1 https://github.com/JoelBesada/activate-power-mode.git and cd ~/.atom/pack/ac,apm install,it failed(stucked). then npm install,It just fail to isntall. loadDep:lodash.throttle → ▀ ╢██████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟ that's what i got in screen.
@acoret if you try to install from the atom UI on Settings > Install?
@lexcast amzing,it work now.
[Enter steps to reproduce:]
Atom: 1.15.0 ia32 Electron: 1.3.13 OS: Unknown Windows version Thrown From: activate-power-mode package 1.4.0
Failed to load the activate-power-mode package
At Cannot find module 'lodash.throttle'
Error: Cannot find module 'lodash.throttle'
at Module._resolveFilename (module.js:455:15)
at Module._resolveFilename (~/AppData/Local/atom/app-1.15.0/resources/electron.asar/common/reset-search-paths.js:35:12)
at Function.Module._resolveFilename (/app.asar/src/module-cache.js:383:52)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (/app.asar/src/native-compile-cache.js:50:27)
at /packages/activate-power-mode/lib/power-editor.coffee:1:12)
at /packages/activate-power-mode/lib/power-editor.coffee:1:1)
at Module._compile (/app.asar/src/native-compile-cache.js:109:30)
at /app.asar/src/compile-cache.js:216:21)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (/app.asar/src/native-compile-cache.js:50:27)
at /packages/activate-power-mode/lib/activate-power-mode.coffee:4:15)
at /packages/activate-power-mode/lib/activate-power-mode.coffee:1:1)
at Module._compile (/app.asar/src/native-compile-cache.js:109:30)
at /app.asar/src/compile-cache.js:216:21)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (/app.asar/src/native-compile-cache.js:50:27)
at Package.module.exports.Package.requireMainModule (/app.asar/src/package.js:796:27)
at /app.asar/src/package.js:123:28
at Package.module.exports.Package.measure (/app.asar/src/package.js:96:15)
at Package.module.exports.Package.load (/app.asar/src/package.js:110:12)
at PackageManager.module.exports.PackageManager.loadPackage (/app.asar/src/package-manager.js:468:14)
at /app.asar/src/package-manager.js:412:19
activate-power-mode 1.4.0
atom-chs-menu 1.0.0
Atom Version: 1.2.4 System: Mac OS X 10.11.1 Thrown From: Atom Core
Stack Trace
Failed to load the activate-power-mode package
Commands
Config
Installed Packages