Navigation Menu

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

Error in NPM-Prompt #678

Closed
cee-kay opened this issue Oct 23, 2015 · 5 comments
Closed

Error in NPM-Prompt #678

cee-kay opened this issue Oct 23, 2015 · 5 comments
Labels
👆 clink-completions Upstream issue in clink-completions.

Comments

@cee-kay
Copy link

cee-kay commented Oct 23, 2015

Hi Guys,

I guess i found a problem with the npm-prompt in cmder version 1.29
If the package.json file is missing the name and/or version property, the prompt will crash with
cmder/vendor/clink-completions/npm_prompt.lua:11: attempt to concatenate local 'package) nil value
and leaving current folder line like this:
C:\current\folder {git}{hg}

Unfortunately I don't know LUA at the moment, so can someone reproduce this issue?

side note: you get this kind of package.json if you use the yeoman generator 'webapp' in the version 1.1.0. Yeoman Webapp

@Stanzilla Stanzilla added the 👆 clink-completions Upstream issue in clink-completions. label Oct 23, 2015
@Stanzilla Stanzilla assigned Stanzilla and unassigned Stanzilla Oct 23, 2015
@vladimir-kotikov
Copy link
Contributor

@Stanzilla
Copy link
Member

Thanks!

@cee-kay
Copy link
Author

cee-kay commented Oct 25, 2015

Wow that was quick. Thx

@vladinator1000
Copy link

This pops up when I try to acces my npm project:
conemu64_2016-11-16_17-39-41

@dany-on-demand
Copy link

@savovs this happened to me when I had a merge conflict resulting in a non-valid package.json

a better error message would suffice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👆 clink-completions Upstream issue in clink-completions.
Projects
None yet
Development

No branches or pull requests

5 participants