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

expected object, got undefined #256

Closed
krsnaa opened this issue Oct 25, 2017 · 7 comments · Fixed by #260
Closed

expected object, got undefined #256

krsnaa opened this issue Oct 25, 2017 · 7 comments · Fixed by #260

Comments

@krsnaa
Copy link

krsnaa commented Oct 25, 2017

Running the codesandbox sample from the project home page (https://codesandbox.io/s/Wp5OlNMn) throws the error:

index.js:40 Uncaught Error: expected object, got undefined
at extend (index.js:40)
at url (index.js:14)
at webpack_exports.a.pluginNames.map.plugin (index.js:52)
at Array.map ()
at webpack_exports.a (index.js:30)
at Object. (index.js:10)
at webpack_require (bootstrap 4a309f7e895042ee6c5d:657)
at fn (bootstrap 4a309f7e895042ee6c5d:85)
at Object. (index.js:14)
at webpack_require (bootstrap 4a309f7e895042ee6c5d:657)
at module.exports.ctor.super_ (bootstrap 4a309f7e895042ee6c5d:706)
at bundle.js:710

Why?

@tzh2014
Copy link

tzh2014 commented Oct 31, 2017

E.g for url() plugin, instead of url(), using like url({}) solved the problem for me.

@ritz078
Copy link
Owner

ritz078 commented Nov 29, 2017

This is due to angus-c/just#83 . I will fix this by some other way if it isn't solved in that repo. :)

@ritz078
Copy link
Owner

ritz078 commented Nov 30, 2017

I have published all the packages as v5.0.3-0 . Can you guys test and let me know ?
cc @Kikobeats

ritz078 added a commit that referenced this issue Dec 1, 2017
* fix(core): threw error if option was not passed

fix #256

* v5.0.3-0
@Kikobeats
Copy link

Not sure wait but codesandbox is not loading 5.0.3-0 version, Also I'm not seeing the version at https://www.npmjs.com/package/embed-js

@ritz078
Copy link
Owner

ritz078 commented Dec 1, 2017

You can check the demo now. The latest version won't show on npm until you try to install it.

@Kikobeats
Copy link

not working 😢

@ritz078
Copy link
Owner

ritz078 commented Dec 5, 2017

There was a problem with codesandbox cache. It is fixed now.

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

Successfully merging a pull request may close this issue.

4 participants