How to setup a Node.js project.
I'm trying to create a appveyor.yml file for a Node.js project, but so far all builds stop before doing any work or even getting to install. Is there any consideration I need to have when creating the appveyor.yml file for nodejs projects?
Like how to setup Matrix?
How do I specify language?
Is it possible to specify a version of node-js to use?
Any help will be greatly appreciated.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 04 Apr, 2014 06:30 PM
Hi Edgar,
Thanks for your interest in AppVeyor!
Right now we are working with Grunt project to make AppVeyor running their tests on Windows platform. It's almost finished and we got pretty amazing results. Please see Grunt appveyor.yml and also you can follow pull request.
I hope the structure of appveyor.yml is self-descriptive, but let me know if you have any questions/suggestions.
Upon getting final results (and your feedback of course) we'll create a guide for running Node.js projects on AppVeyor.
2 Posted by Tom Fulton on 01 May, 2014 10:20 PM
Hi Feodor,
I'm wondering about this also. I see the pull request was merged - do you have any update on the current status of using AppVeyor to build a Node.js project?
Thanks!
Tom
Support Staff 3 Posted by Feodor Fitsner on 02 May, 2014 12:19 AM
Hi guys,
While we are working on Node.js guide this is a good place to start: https://github.com/gruntjs/grunt/blob/master/appveyor.yml
Matrix, line endings, node versions and other things can be seen there.
4 Posted by erik_schierboom on 27 May, 2014 09:38 AM
Can't wait for the Node.js guide to appear! I love appveyor and adding node.js support would make it even better.
5 Posted by Brian Reavis on 19 Jun, 2014 02:25 AM
Also would really appreciate the guide! I have no idea how to pin to a specific Node.js version (e.g. 0.8.26, not just "0.8"). Related: https://github.com/joyent/node/issues/7805
Changing nodejs_version to "0.8.26" leads to an error:
6 Posted by dane on 20 Jun, 2014 04:56 PM
Since the proble Brian posted (that I am also hitting) is not getting a response I've created a new issue that explains the problem in more detail: http://help.appveyor.com/discussions/problems/464-be-able-to-contro...
7 Posted by m.goleb on 23 Jun, 2014 11:53 AM
Current AppVeyor Node.js setup is far from idea. testing on Node 0.11 requires updating Node on each run which is extremely slow. AppVeyor should have a couple of Node versions preloaded and available without manual installation, like Travis does.
8 Posted by m.goleb on 23 Jun, 2014 04:28 PM
I moved the preloading issue to a separate thread: http://help.appveyor.com/discussions/suggestions/266-nodejs-version...
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:46 AM.