Failed to activate the flow-diagram package
Opened this issue · 0 comments
musiccity365 commented
EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'".
at new Pointer (/Users/musiccity365/.atom/packages/flow-diagram/node_modules/restructure/src/Pointer.js:29:33)
at Object.<anonymous> (/Users/musiccity365/.atom/packages/flow-diagram/node_modules/fontkit/index.js:504:11)
at Module._compile (/Applications/Learn IDE 3.app/Contents/Resources/app.asar/src/native-compile-cache.js:109:30)
at Object.value [as .js] (/Applications/Learn IDE 3.app/Contents/Resources/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 (/Applications/Learn IDE 3.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
at Object.<anonymous> (/Users/musiccity365/.atom/packages/flow-diagram/node_modules/pdfkit/js/pdfkit.js:7:15)
at Module._compile (/Applications/Learn IDE 3.app/Contents/Resources/app.asar/src/native-compile-cache.js:109:30)
at Object.value [as .js] (/Applications/Learn IDE 3.app/Contents/Resources/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 (/Applications/Learn IDE 3.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
at Object.<anonymous> (/Users/musiccity365/.atom/packages/flow-diagram/lib/flow-diagram.js:8:34)
at Module._compile (/Applications/Learn IDE 3.app/Contents/Resources/app.asar/src/native-compile-cache.js:109:30)
at Object.value [as .js] (/Applications/Learn IDE 3.app/Contents/Resources/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 (/Applications/Learn IDE 3.app/Contents/Resources/app.asar/src/native-compile-cache.js:50:27)
at Package.module.exports.Package.requireMainModule (/Applications/Learn IDE 3.app/Contents/Resources/app.asar/src/package.js:796:27)
at Package.module.exports.Package.activateNow (/Applications/Learn IDE 3.app/Contents/Resources/app.asar/src/package.js:207:16)
at /Applications/Learn IDE 3.app/Contents/Resources/app.asar/src/package.js:922:28
at Function.module.exports.Emitter.simpleDispatch (/Applications/Learn IDE 3.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
at Emitter.module.exports.Emitter.emit (/Applications/Learn IDE 3.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:141:28)
at PackageManager.module.exports.PackageManager.triggerActivationHook (/Applications/Learn IDE 3.app/Contents/Resources/app.asar/src/package-manager.js:594:43)
at /Applications/Learn IDE 3.app/Contents/Resources/app.asar/src/atom-environment.js:762:33
[Before submitting, please enter steps to reproduce:]
- ...
- ...
Learn IDE Package: 3.0.0
Learn IDE Core: 3.0.0 x64
Electron: 1.3.13
OS: Mac OS X 10.15.5
Thrown From: flow-diagram package 0.4.0
Stack Trace
Failed to activate the flow-diagram package
At Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'".
EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'".
at /packages/flow-diagram/node_modules/restructure/src/Pointer.js:29:33)
at /packages/flow-diagram/node_modules/fontkit/index.js:504:11)
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/flow-diagram/node_modules/pdfkit/js/pdfkit.js:7:15)
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/flow-diagram/lib/flow-diagram.js:8:34)
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 Package.module.exports.Package.activateNow (/app.asar/src/package.js:207:16)
at /app.asar/src/package.js:922:28
at Function.module.exports.Emitter.simpleDispatch (/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
at Emitter.module.exports.Emitter.emit (/app.asar/node_modules/event-kit/lib/emitter.js:141:28)
at PackageManager.module.exports.PackageManager.triggerActivationHook (/app.asar/src/package-manager.js:594:43)
at /app.asar/src/atom-environment.js:762:33
Commands
-3:22.6.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-when-scrolling.compact-tab-bar.no-tab-min-width.panel-shadows.panel-contrast.use-animations.compact-tree-view.paint-cursor.theme-atom-material-syntax.theme-learn-ide-material-ui)
-3:14.3.0 learn-ide:focus (atom-workspace.workspace.scrollbars-visible-when-scrolling.compact-tab-bar.no-tab-min-width.panel-shadows.panel-contrast.use-animations.compact-tree-view.paint-cursor.theme-atom-material-syntax.theme-learn-ide-material-ui)
3x -1:31.1.0 core:copy (atom-notification.fatal.icon.icon-bug.native-key-bindings.has-detail.has-close.has-stack)
Non-Core Packages
aligner-ruby 1.7.0
atom-drawio 1.15.0
atom-mac-terminal 1.0.4
atom-terminus 1.1.3
auto-encoding-for-ruby 1.0.4
busy-signal 2.0.1
close-tags 0.6.0
diagrams 0.30.0
flow-diagram 0.4.0
git-plus 8.7.1
intentions 1.1.5
language-eno 0.5.0
levels-language-ruby 0.5.9
ruby-block-converter 4.1.1
ruby-bundler 0.3.0
ruby-define-method 0.2.2
ruby-snippets 0.2.1
ruby-solargraph 0.6.1
ruby-syntax-replacer 0.5.1
ruby-test 1.0.2
sequence-diagram 0.0.2
terminus 4.0.5
zentabs 0.6.1