Build and deploying an ANGULAR js app

mark.garcia's Avatar

mark.garcia

10 Jul, 2019 07:58 AM

Hi, do you have a sample of an appveyor.yml file that works in building and deploying. I keep getting errors when I try to build mine. I have not even reached the deploy step yet.

https://ci.appveyor.com/project/BuchananGroup/hometesterclub-onvua

  1. Support Staff 1 Posted by Ilya Finkelshte... on 10 Jul, 2019 08:28 PM

    Ilya Finkelshteyn's Avatar

    Hi Mark,

    appveyor.yml is specific for a project. You can probably find tens of thousands of appveyor.yml on GitHub and most of them are working :). But better to investigate your specific scenario and your specific error. I opened your latest build and very first error indicates that build scenario is trying to install NPM package which I believe is not supposed to be installed on Windows:

    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"ia32"})
    

    You are running this build on default Visual Studio 2015 image which runs on Windows Server 2012R2.

    I found related GitHub discussion: https://github.com/angular/angular/issues/13935. Maybe you need to try later version in fsevents?

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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