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

Cannot read property 'environment' of undefined with latest commit. #1

Closed
ryanpcmcquen opened this issue Jan 23, 2018 · 10 comments
Closed

Comments

@ryanpcmcquen
Copy link
Contributor

I'm using the latest commit in my Org mode extension and getting the following error:
https://cdn.rawgit.com/sn-extensions/components-api/b4d88cec7642266ddba8e7e9477ab21f9bd6d23b/dist/dist.js

Uncaught TypeError: Cannot read property 'environment' of undefined
    at ComponentManager.onReady (dist.js:88)
    at ComponentManager.handleMessage (dist.js:35)
    at ComponentManager.<anonymous> (dist.js:25)
@moughxyz
Copy link
Member

Sorry..I would use an earlier version. The latest commits are made for use in app version 2.1, which is still under development.

@ryanpcmcquen
Copy link
Contributor Author

@mobitar, which is the right 'version'? I tried some earlier commits but they were having the same issue.

@moughxyz
Copy link
Member

Try 1.0.18

@ryanpcmcquen
Copy link
Contributor Author

ryanpcmcquen pushed a commit to ryanpcmcquen/standardnotes_org_mode_editor that referenced this issue Jan 23, 2018
@ryanpcmcquen
Copy link
Contributor Author

That is working, would you mind updating this issue when I can upgrade to the latest commit?

@moughxyz
Copy link
Member

moughxyz commented Jan 23, 2018 via email

@ryanpcmcquen
Copy link
Contributor Author

@mobitar, is this stable again?

@moughxyz
Copy link
Member

Yup, with SN >= 2.1

@ryanpcmcquen
Copy link
Contributor Author

Do you think following master would be OK?

@moughxyz
Copy link
Member

Yup should be ok

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

2 participants