Closed Nowalon closed 9 years ago
I'm working on it now. Thx for the report.
On Thu, Oct 23, 2014 at 5:00 AM, Nowalon notifications@github.com wrote:
Hi! Help please with this issue: on Windows (7 x64) I've got in console:
Failed to activate package named 'live-archive' TypeError: Cannot read property 'path' of null at Object.module.exports.activate (c:\Users\Nowalon.atom\packages\live-archive\lib\live-archive.coffee:7:50) at Package.module.exports.Package.activateNow (c:\ProgramData\chocolatey\lib\Atom.0.139.0\tools\Atom\resources\app\src\package.js:225:27) at c:\ProgramData\chocolatey\lib\Atom.0.139.0\tools\Atom\resources\app\src\package.js:211:28 at Package.module.exports.Package.measure (c:\ProgramData\chocolatey\lib\Atom.0.139.0\tools\Atom\resources\app\src\package.js:157:15) at Package.module.exports.Package.activate (c:\ProgramData\chocolatey\lib\Atom.0.139.0\tools\Atom\resources\app\src\package.js:205:14) at PackageManager.module.exports.PackageManager.activatePackage (c:\ProgramData\chocolatey\lib\Atom.0.139.0\tools\Atom\resources\app\src\package-manager.js:404:21) at PackageManager.module.exports.PackageManager.activatePackages (c:\ProgramData\chocolatey\lib\Atom.0.139.0\tools\Atom\resources\app\src\package-manager.js:393:14) at PackageManager.module.exports.PackageManager.activate (c:\ProgramData\chocolatey\lib\Atom.0.139.0\tools\Atom\resources\app\src\package-manager.js:379:19) at Atom.module.exports.Atom.startEditorWindow (c:\ProgramData\chocolatey\lib\Atom.0.139.0\tools\Atom\resources\app\src\atom.js:526:21) at Object. (c:\ProgramData\chocolatey\lib\Atom.0.139.0\tools\Atom\resources\app\src\window-bootstrap.js:12:8) at Object. (c:\ProgramData\chocolatey\lib\Atom.0.139.0\tools\Atom\resources\app\src\window-bootstrap.js:23:4) at Module._compile (module.js:468:26) at Object.Module._extensions..js (module.js:486:10) at Module.load (c:\ProgramData\chocolatey\lib\Atom.0.139.0\tools\Atom\resources\app\node_modules\coffee-script\lib\coffee-script\register.js:45:36) at Function.Module._load (module.js:318:12) at Module.require (module.js:373:17) at require (module.js:392:17) at window.onload (file:///C:/ProgramData/chocolatey/lib/Atom.0.139.0/tools/Atom/resources/app/static/index.js:34:25)
c:\ProgramData\chocolatey\lib\Atom.0.139.0\tools\Atom\resources\app\src\package.js:230
after "Disable / Enable" Live Archive in settings - it works again, but after restart i always have this error.
Thank you!
— Reply to this email directly or view it on GitHub https://github.com/mark-hahn/live-archive/issues/2.
What version of Atom are you on? atom.project.getRootDirectory()
is a standard Atom call that is not working for you.
Never mind. I've reproduced it. It happens when there is no project folder. I've never opened Atom that way. I'll fix it now.
fixed in 0.1.7
Thank you! What you mean for " It happens when there is no project folder. I've never opened Atom that way." it is somehow different from "Open folder"? I tried to find something like "Create project" or "New project" in Atom, but there are no such options like in most of IDEs. This would be helpful for me.
I always type "atom ." in the command line. On Oct 24, 2014 12:25 AM, "Nowalon" notifications@github.com wrote:
Thank you! What you mean for " It happens when there is no project folder. I've never opened Atom that way." it is somehow different from "Open folder"? I tried to find something like "Create project" or "New project" in Atom, but there are no such options like in most of IDEs. Еhis would be helpful for me.
— Reply to this email directly or view it on GitHub https://github.com/mark-hahn/live-archive/issues/2#issuecomment-60353249 .
Hi! Help please with this issue: on Windows (7 x64) I've got in console:
Failed to activate package named 'live-archive' TypeError: Cannot read property 'path' of null at Object.module.exports.activate (c:\Users\Nowalon.atom\packages\live-archive\lib\live-archive.coffee:7:50) at Package.module.exports.Package.activateNow (c:\ProgramData\chocolatey\lib\Atom.0.139.0\tools\Atom\resources\app\src\package.js:225:27) at c:\ProgramData\chocolatey\lib\Atom.0.139.0\tools\Atom\resources\app\src\package.js:211:28 at Package.module.exports.Package.measure (c:\ProgramData\chocolatey\lib\Atom.0.139.0\tools\Atom\resources\app\src\package.js:157:15) at Package.module.exports.Package.activate (c:\ProgramData\chocolatey\lib\Atom.0.139.0\tools\Atom\resources\app\src\package.js:205:14) at PackageManager.module.exports.PackageManager.activatePackage (c:\ProgramData\chocolatey\lib\Atom.0.139.0\tools\Atom\resources\app\src\package-manager.js:404:21) at PackageManager.module.exports.PackageManager.activatePackages (c:\ProgramData\chocolatey\lib\Atom.0.139.0\tools\Atom\resources\app\src\package-manager.js:393:14) at PackageManager.module.exports.PackageManager.activate (c:\ProgramData\chocolatey\lib\Atom.0.139.0\tools\Atom\resources\app\src\package-manager.js:379:19) at Atom.module.exports.Atom.startEditorWindow (c:\ProgramData\chocolatey\lib\Atom.0.139.0\tools\Atom\resources\app\src\atom.js:526:21) at Object. (c:\ProgramData\chocolatey\lib\Atom.0.139.0\tools\Atom\resources\app\src\window-bootstrap.js:12:8)
at Object. (c:\ProgramData\chocolatey\lib\Atom.0.139.0\tools\Atom\resources\app\src\window-bootstrap.js:23:4)
at Module._compile (module.js:468:26)
at Object.Module._extensions..js (module.js:486:10)
at Module.load (c:\ProgramData\chocolatey\lib\Atom.0.139.0\tools\Atom\resources\app\node_modules\coffee-script\lib\coffee-script\register.js:45:36)
at Function.Module._load (module.js:318:12)
at Module.require (module.js:373:17)
at require (module.js:392:17)
at window.onload (file:///C:/ProgramData/chocolatey/lib/Atom.0.139.0/tools/Atom/resources/app/static/index.js:34:25)
c:\ProgramData\chocolatey\lib\Atom.0.139.0\tools\Atom\resources\app\src\package.js:230
after "Disable / Enable" Live Archive in settings - it works again, but after restart i always have this error.
Thank you!