Closed qilovehua closed 7 years ago
Looks like an APM install issue
apm uninstall intentions
apm install intentions
thanks
Experienced this with busy-signal, linter, linter-ui-default too. It was after I've restored my dotfiles after an OS reinstall.
Got similar behaviour after upgrade intentions to version 2.1.0 Remove and reinstall within the atom settings interface did not help
Atom: 1.52.0 x64 Electron: 6.1.12 OS: Ubuntu 20.04.2 Thrown From: intentions package 2.1.0
Failed to load the intentions package
At Unexpected token .
/home/hareldvd/.atom/packages/intentions/dist/index.js:1
(function (exports, require, module, __filename, __dirname, process, global, Buffer) { return function (exports, require, module, __filename, __dirname) { var e,t=require("atom").Disposable,n=require("assert"),i=(e=require("disposable-event"))&&e.__esModule?e.default:e;function s(e,t,n,i){Object.defineProperty(e,t,{get:n,set:i,enumerable:!0,configurable:!0})}s(module.exports,"consumeHighlightIntentions",(()=>Re)),s(module.exports,"activate",(()=>je)),s(module.exports,"deactivate",(()=>Fe)),s(module.exports,"consumeListIntentions",(()=>Ve));var o={};Object.defineProperty(o,"__esModule",{value:!0}),o.CompositeDisposable=o.Disposable=o.Emitter=void 0;var r={};Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i
SyntaxError: Unexpected token .
at new Script (vm.js:83:7)
at NativeCompileCache.runInThisContext (/usr/share/atom/resources/app/static/<embedded>:11:146391)
at Module.get_Module._compile (/usr/share/atom/resources/app/static/<embedded>:11:147275)
at Object.value [as .js] (/usr/share/atom/resources/app/static/<embedded>:11:151046)
at Module.load (internal/modules/cjs/loader.js:645:32)
at Function.Module._load (internal/modules/cjs/loader.js:560:12)
at Module.require (/app.asar/static/index.js:72:46)
at require (internal/modules/cjs/helpers.js:16:16)
at customRequire (/usr/share/atom/resources/app/static/<embedded>:1:695477)
at Package.requireMainModule (/usr/share/atom/resources/app/static/<embedded>:11:3196655)
at /usr/share/atom/resources/app/static/<embedded>:11:3183195
at Package.measure (/usr/share/atom/resources/app/static/<embedded>:11:3181995)
at Package.load (/usr/share/atom/resources/app/static/<embedded>:11:3182768)
at PackageManager.loadAvailablePackage (/usr/share/atom/resources/app/static/<embedded>:11:381794)
at PackageManager.loadPackage (/usr/share/atom/resources/app/static/<embedded>:11:380522)
at PackageManager.atom.packages.loadPackage (/packages/atom-ide-ui/modules/nuclide-commons-atom/FeatureLoader.js:527:32)
at PackageManager.activatePackage (/usr/share/atom/resources/app/static/<embedded>:11:383094)
at /usr/share/atom/resources/app/static/<embedded>:11:915835
at r (/usr/share/atom/resources/app/static/<embedded>:11:910441)
at n (/usr/share/atom/resources/app/static/<embedded>:14:1088976)
at /usr/share/atom/resources/app/static/<embedded>:14:1089064
at Socket.<anonymous> (/usr/share/atom/resources/app/static/<embedded>:14:1087732)
at Socket.emit (events.js:205:15)
at Pipe.<anonymous> (net.js:586:12)
atom-ide-ui 0.13.0
atom-material-ui 2.1.3
atom-typescript 14.3.1
auto-highlight 0.14.0
busy-signal 2.0.1
compare-files 0.8.1
cursor-history 0.14.0
goto-definition 1.3.4
highlight-column 0.5.4
ide-html 0.7.0
ide-php 0.7.18
intentions 2.1.0
js-refactor 0.8.1
language-pgsql 0.2.3
linter 3.3.1
linter-eslint 8.6.6
linter-ui-default 3.3.1
local-history 4.3.1
plsql-linter 2.3.2
pretty-json 2.1.2
refactor 0.11.5
scroll-marker 0.3.5
Sublime-Style-Column-Selection 1.7.5
todo-show 2.3.2
tool-bar 1.4.4
tool-bar-almighty 0.9.0
Same here
since this ticket was closed I cut a new issue https://github.com/steelbrain/intentions/issues/91
apm install intentions
Uninstall/install did not help on Atom v1.54.0 x64.
@igorpupkinable Update your Atom to the latest version: https://atom.io/
@igorpupkinable Update your Atom to the latest version: https://atom.io/
Upgrading atom to 1.57.0 did the trick for me. It eventually had me rebuild some packages but we are all ironed out now. Thanks!
[Enter steps to reproduce:]
Atom: 1.17.2 x64 Electron: 1.3.15 OS: Mac OS X 10.12.5 Thrown From: intentions package 1.1.2
Stack Trace
Failed to load the intentions package
Commands
Non-Core Packages