Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to load the atom-jscad package #15

Open
RHPrice2 opened this issue Jun 20, 2020 · 6 comments
Open

Failed to load the atom-jscad package #15

RHPrice2 opened this issue Jun 20, 2020 · 6 comments

Comments

@RHPrice2
Copy link

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.48.0 x64
Electron: 5.0.13
OS: Mac OS X 10.15.5
Thrown From: atom-jscad package 1.2.1

Stack Trace

Failed to load the atom-jscad package

At webFrame.registerURLSchemeAsBypassingCSP is not a function

TypeError: webFrame.registerURLSchemeAsBypassingCSP is not a function
    at /packages/atom-jscad/lib/atom-scad-preview-view.js:28:10)
    at /packages/atom-jscad/lib/atom-scad-preview-view.js:295:3)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147503)
    at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:151051)
    at Module.load (internal/modules/cjs/loader.js:701:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:633:12)
    at Function.Module._load (internal/modules/cjs/loader.js:625:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:146819)
    at /packages/atom-jscad/lib/atom-scad-preview.js:16:27)
    at /packages/atom-jscad/lib/atom-scad-preview.js:304:3)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147503)
    at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:151051)
    at Module.load (internal/modules/cjs/loader.js:701:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:633:12)
    at Function.Module._load (internal/modules/cjs/loader.js:625:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:14:16)
    at customRequire (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:695414)
    at Package.requireMainModule (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3204187)
    at /Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3190727
    at Package.measure (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3189559)
    at Package.load (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:3190300)
    at PackageManager.loadAvailablePackage (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:381522)
    at /Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:379945
    at Config.transact (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:332010)
    at PackageManager.loadPackages (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:379883)
    at /Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:716025
    at async Promise.all (index 0)
    at AtomEnvironment.startEditorWindow (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:718064)

Commands

Non-Core Packages

atom-jscad 1.2.1 
@RHPrice2
Copy link
Author

Something in my configuration is not quite right and I could use a pointer. Seems like this is an unsupported program... and it is a shame because I an looking forward to jscad on Atom.

@JWD-Vektor
Copy link

Did you ever get the install resolved? I have same problem.

@RHPrice2
Copy link
Author

RHPrice2 commented Sep 14, 2020 via email

@JWD-Vektor
Copy link

JWD-Vektor commented Sep 14, 2020 via email

@apla
Copy link
Owner

apla commented Sep 14, 2020

One day Atom authors changed html security and now it's not possible to use atom-jscad.

Digging deeper, seems CSP now not allowing to create blob: with Function object. So, only possible way to launch it is by modifying Atom itself. What a waste of my time… Fuck Atom, then.

If I choose to touch this project again, it will support VS Code, because everyone now using VS Code and Atom is dead.

@tuggerfub
Copy link

tuggerfub commented Nov 22, 2020

Man, this is disappointing. Atom's authors just making java more wonky.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants