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

Object [object Object] has no method 'startWith' #11

Closed
dalemanthei opened this issue Jan 12, 2015 · 8 comments · Fixed by #13
Assignees
Labels
bug
Milestone

Comments

@dalemanthei
Copy link

@dalemanthei dalemanthei commented Jan 12, 2015

We're getting an error attempting to use the startsWith validation. The code in github has the method but the version of code@1.2.1 installed on our system via npm install does not.

I've uninstalled code, cleaned the npm cache, reinstalled. I'm getting a 1.2.1 version of code but it still comes up with the missing function.

Is this an npm related issue or did the code package miss bumping a version number along the way?

@gergoerdosi

This comment has been minimized.

Copy link
Contributor

@gergoerdosi gergoerdosi commented Jan 12, 2015

1.2.1 has been released before startWith was added. Currently it is available only on master.

@dalemanthei

This comment has been minimized.

Copy link
Author

@dalemanthei dalemanthei commented Jan 13, 2015

I'm not aware of a way to install from master other than git cloning the project. If there is a way to do that using package.json, that would be cool. If not, is there an outlook for when 1.2.2 would be bumped and released?

@gergoerdosi

This comment has been minimized.

Copy link
Contributor

@gergoerdosi gergoerdosi commented Jan 13, 2015

You can specify the GitHub repository in package.json:

"code": "hapijs/code"
@hueniverse

This comment has been minimized.

Copy link
Member

@hueniverse hueniverse commented Jan 21, 2015

Isn't @cjihrig maintaining this now?

@cjihrig

This comment has been minimized.

Copy link
Contributor

@cjihrig cjihrig commented Jan 21, 2015

I am starting now :-)

@cjihrig cjihrig assigned cjihrig and unassigned hueniverse Jan 21, 2015
@lloydbenson

This comment has been minimized.

Copy link

@lloydbenson lloydbenson commented Jan 21, 2015

thx @cjihrig!

This was referenced Jan 21, 2015
@cjihrig cjihrig added the bug label Jan 21, 2015
@cjihrig cjihrig added this to the 1.3.0 milestone Jan 21, 2015
@cjihrig cjihrig closed this in #13 Jan 21, 2015
@cjihrig

This comment has been minimized.

Copy link
Contributor

@cjihrig cjihrig commented Jan 21, 2015

This is ready to go, I just need npm publish rights.

@cjihrig

This comment has been minimized.

Copy link
Contributor

@cjihrig cjihrig commented Jan 22, 2015

1.3.0 is published

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.