Unable to load plugins
See original GitHub issueI have installed the n1-unsubscribe
plugin (https://github.com/colinking/n1-unsubscribe) and the application is unable to load it.
Step to reproduce
- Install the application
- Configure email accounts
- Install the plugin
- Wait for dialog confirming installation
Console Log
Failed to load package named 'n1-unsubscribe'
package.coffee:129 ReferenceError: Unknown plugin "transform-async-generator-functions" specified in "base" at 0, attempted to resolve relative to "/Users/fabio/.nylas-mail/packages/n1-unsubscribe/lib"
at /Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/babel-core/lib/transformation/file/options/option-manager.js:176:17
at Array.map (native)
at OptionManager.mergeOptions (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/babel-core/lib/transformation/file/options/option-manager.js:229:36)
at OptionManager.init (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/babel-core/lib/transformation/file/options/option-manager.js:374:12)
at File.initOptions (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/babel-core/lib/transformation/file/index.js:216:65)
at new File (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/babel-core/lib/transformation/file/index.js:139:24)
at Pipeline.transform (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/babel-core/lib/transformation/pipeline.js:46:16)
at Object.exports.compile (/Applications/Nylas Mail.app/Contents/Resources/app.asar/src/compile-support/babel.js:50:16)
at compileFileAtPath (/Applications/Nylas Mail.app/Contents/Resources/app.asar/src/compile-cache.js:56:44)
at Object.value [as .jsx] (/Applications/Nylas Mail.app/Contents/Resources/app.asar/src/compile-cache.js:146:20)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at require (internal/module.js:20:19)
at Package.module.exports.Package.requireMainModule (/src/package.coffee:311:21)
at /src/package.coffee:122:23
at Package.module.exports.Package.measure (/src/package.coffee:107:13)
at Package.module.exports.Package.load (/src/package.coffee:116:6)
at PackageManager.module.exports.PackageManager.loadPackage (/src/package-manager.coffee:524:14)
at PackageManager.module.exports.PackageManager.loadPackages (/src/package-manager.coffee:503:6)
at NylasEnvConstructor.module.exports.NylasEnvConstructor.startWindow (/src/nylas-env.coffee:661:15)
at /src/nylas-env.coffee:679:16
package.coffee:130 Unknown plugin "transform-async-generator-functions" specified in "base" at 0, attempted to resolve relative to "/Users/fabio/.nylas-mail/packages/n1-unsubscribe/lib" ReferenceError: Unknown plugin "transform-async-generator-functions" specified in "base" at 0, attempted to resolve relative to "/Users/fabio/.nylas-mail/packages/n1-unsubscribe/lib"(…)(anonymous function) @ package.coffee:130module.exports.Package.measure @ package.coffee:107module.exports.Package.load @ package.coffee:116module.exports.PackageManager.loadPackage @ package-manager.coffee:524module.exports.PackageManager.loadPackages @ package-manager.coffee:503module.exports.NylasEnvConstructor.startWindow @ nylas-env.coffee:661(anonymous function) @ nylas-env.coffee:679
package.coffee:169 Unknown plugin "transform-async-generator-functions" specified in "base" at 0, attempted to resolve relative to "/Users/fabio/.nylas-mail/packages/n1-unsubscribe/lib"module.exports.Package.activateNow @ package.coffee:169(anonymous function) @ package.coffee:156module.exports.Package.measure @ package.coffee:107module.exports.Package.activate @ package.coffee:154module.exports.PackageManager.activatePackage @ package-manager.coffee:599(anonymous function) @ package-manager.coffee:577module.exports.Config.transact @ config.coffee:480module.exports.PackageManager.activatePackages @ package-manager.coffee:570module.exports.PackageManager.activate @ package-manager.coffee:558module.exports.NylasEnvConstructor.startWindow @ nylas-env.coffee:664(anonymous function) @ nylas-env.coffee:679
package.coffee:170 ReferenceError: Unknown plugin "transform-async-generator-functions" specified in "base" at 0, attempted to resolve relative to "/Users/fabio/.nylas-mail/packages/n1-unsubscribe/lib"
at /Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/babel-core/lib/transformation/file/options/option-manager.js:176:17
at Array.map (native)
at OptionManager.mergeOptions (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/babel-core/lib/transformation/file/options/option-manager.js:229:36)
at OptionManager.init (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/babel-core/lib/transformation/file/options/option-manager.js:374:12)
at File.initOptions (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/babel-core/lib/transformation/file/index.js:216:65)
at new File (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/babel-core/lib/transformation/file/index.js:139:24)
at Pipeline.transform (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/babel-core/lib/transformation/pipeline.js:46:16)
at Object.exports.compile (/Applications/Nylas Mail.app/Contents/Resources/app.asar/src/compile-support/babel.js:50:16)
at compileFileAtPath (/Applications/Nylas Mail.app/Contents/Resources/app.asar/src/compile-cache.js:56:44)
at Object.value [as .jsx] (/Applications/Nylas Mail.app/Contents/Resources/app.asar/src/compile-cache.js:146:20)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at require (internal/module.js:20:19)
at Package.module.exports.Package.requireMainModule (/src/package.coffee:311:21)
at Package.module.exports.Package.activateConfig (/src/package.coffee:178:6)
at Package.module.exports.Package.activateNow (/src/package.coffee:162:8)
at /src/package.coffee:156:10
at Package.module.exports.Package.measure (/src/package.coffee:107:13)
at Package.module.exports.Package.activate (/src/package.coffee:154:8)
at PackageManager.module.exports.PackageManager.activatePackage (/src/package-manager.coffee:599:12)
at /src/package-manager.coffee:577:20
at Config.module.exports.Config.transact (/src/config.coffee:480:7)
at PackageManager.module.exports.PackageManager.activatePackages (/src/package-manager.coffee:570:21)
at PackageManager.module.exports.PackageManager.activate (/src/package-manager.coffee:558:44)
at NylasEnvConstructor.module.exports.NylasEnvConstructor.startWindow (/src/nylas-env.coffee:664:15)
at /src/nylas-env.coffee:679:16module.exports.Package.activateNow @ package.coffee:170(anonymous function) @ package.coffee:156module.exports.Package.measure @ package.coffee:107module.exports.Package.activate @ package.coffee:154module.exports.PackageManager.activatePackage @ package-manager.coffee:599(anonymous function) @ package-manager.coffee:577module.exports.Config.transact @ config.coffee:480module.exports.PackageManager.activatePackages @ package-manager.coffee:570module.exports.PackageManager.activate @ package-manager.coffee:558module.exports.NylasEnvConstructor.startWindow @ nylas-env.coffee:664(anonymous function) @ nylas-env.coffee:679
package.coffee:171 Failed to activate package named 'n1-unsubscribe' ReferenceError: Unknown plugin "transform-async-generator-functions" specified in "base" at 0, attempted to resolve relative to "/Users/fabio/.nylas-mail/packages/n1-unsubscribe/lib"
at /Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/babel-core/lib/transformation/file/options/option-manager.js:176:17
at Array.map (native)
at OptionManager.mergeOptions (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/babel-core/lib/transformation/file/options/option-manager.js:229:36)
at OptionManager.init (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/babel-core/lib/transformation/file/options/option-manager.js:374:12)
at File.initOptions (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/babel-core/lib/transformation/file/index.js:216:65)
at new File (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/babel-core/lib/transformation/file/index.js:139:24)
at Pipeline.transform (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/babel-core/lib/transformation/pipeline.js:46:16)
at Object.exports.compile (/Applications/Nylas Mail.app/Contents/Resources/app.asar/src/compile-support/babel.js:50:16)
at compileFileAtPath (/Applications/Nylas Mail.app/Contents/Resources/app.asar/src/compile-cache.js:56:44)
at Object.value [as .jsx] (/Applications/Nylas Mail.app/Contents/Resources/app.asar/src/compile-cache.js:146:20)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at require (internal/module.js:20:19)
at Package.module.exports.Package.requireMainModule (/src/package.coffee:311:21)
at Package.module.exports.Package.activateConfig (/src/package.coffee:178:6)
at Package.module.exports.Package.activateNow (/src/package.coffee:162:8)
at /src/package.coffee:156:10
at Package.module.exports.Package.measure (/src/package.coffee:107:13)
at Package.module.exports.Package.activate (/src/package.coffee:154:8)
at PackageManager.module.exports.PackageManager.activatePackage (/src/package-manager.coffee:599:12)
at /src/package-manager.coffee:577:20
at Config.module.exports.Config.transact (/src/config.coffee:480:7)
at PackageManager.module.exports.PackageManager.activatePackages (/src/package-manager.coffee:570:21)
at PackageManager.module.exports.PackageManager.activate (/src/package-manager.coffee:558:44)
at NylasEnvConstructor.module.exports.NylasEnvConstructor.startWindow (/src/nylas-env.coffee:664:15)
at /src/nylas-env.coffee:679:16
Are there any related issues?
A quick research in this repo and in the babel repo didn’t reveal any.
What operating system are you using?
OS X 10.12.2 (16C67)
What version of N1 are you using?
Version 1.0.8 (1.0.8)
–
Bug?
Do you have any third-party plugins installed? If so, which ones?
Unsubscribe
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How to Fix the "Couldn't load plugin" Error on Chrome?
Sometimes this "Couldn't load plugin" error can appear because of the corrupted system files, and to fix this issue, you need to run...
Read more >Chrome error couldn't load plugin - Error Solutions
“Chrome error couldn't load plugin” may occur due to a bad Google Chrome cache, which may interfere with plugins. Clearing the cache may...
Read more >Couldn't load the plugin on Chrome: 2 quick ways to fix this error
Go to the Enhanced Mitigation Toolkit directory and run the EMT application. · When the EMT app opens, click the Configure apps button....
Read more >Failed to load plugin from - how to solve related issues - Opster
Managing permission issues during and after plugin installation is the most common problem. · In the case of DEB or RPM package installation,...
Read more >How To Fix Chrome “Couldn't Load Plugin” Error [2022]
What causes the Chrome “Couldn't load plugin” error · The installed version of Google Chrome is not the most recent. · The plugins...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
hi everyone, thanks for your patience! this has been fixed in https://github.com/nylas/N1/commit/bbc54ab26d98708cfe7f3f8192a14a99496fe417 and you will be able to install plugins again in our next release!
Same here on 1.0.8