Skip to content

OSX issue with node 0.12.0 #268

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

Closed
emazv72 opened this issue Mar 4, 2015 · 2 comments
Closed

OSX issue with node 0.12.0 #268

emazv72 opened this issue Mar 4, 2015 · 2 comments
Assignees
Labels
Milestone

Comments

@emazv72
Copy link

emazv72 commented Mar 4, 2015

I'm getting the following error when creating a new app:

tns create TestApp

Error: "name" and "value" are required for setHeader().
at ClientRequest.OutgoingMessage.setHeader (_http_outgoing.js:333:11)
at new ClientRequest (_http_client.js:101:14)
at Object.exports.request (http.js:49:10)
at Object.exports.request (https.js:136:15)
at Request.start (/usr/local/lib/node_modules/nativescript/node_modules/npm/node_modules/request/request.js:583:30)
at Request.end (/usr/local/lib/node_modules/nativescript/node_modules/npm/node_modules/request/request.js:1237:28)
at /usr/local/lib/node_modules/nativescript/node_modules/npm/node_modules/request/request.js:413:12
at process._tickCallback (node.js:355:11)

@rosen-vladimirov rosen-vladimirov self-assigned this Mar 4, 2015
rosen-vladimirov added a commit that referenced this issue Mar 4, 2015
Update npm to 2.6.1 and change two calls according to latest npm.cache changes. If we do not update npm, we cannot work with node 0.12
Update ios-sim-portable to 1.0.4

Fixes #268
@rosen-vladimirov
Copy link
Contributor

Hi @emazv72 ,
Thank you for reporting this problem. It is related to old npm version that we are using in our code. I've prepared a fix, but until it's published, you have to use node 0.10.x (0.10.36 for example). Please excuse us for the caused inconvenience.

@dtopuzov
Copy link
Contributor

dtopuzov commented Mar 5, 2015

Available in 0.9.1

@dtopuzov dtopuzov closed this as completed Mar 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants