Unable to add %userprofile%\.node-gyp to cache

Maximiliano Korp's Avatar

Maximiliano Korp

Nov 09, 2015 @ 05:58 PM

In my appveyor yml file, I have added

cache:
  - %USERPROFILE%.node-gyp
This errors, yielding
Error parsing appveyor.yml: (Line: 24, Col: 5, Idx: 355) - (Line: 24, Col: 6, Idx: 356): While scanning for the next token, find character that cannot start any token.

However, this is almost exactly how the cache is formatted here on line 97.

  1. Support Staff 1 Posted by Feodor Fitsner on Nov 09, 2015 @ 06:01 PM

    Feodor Fitsner's Avatar

    It should be quoted:

    cache:
      '- %USERPROFILE%.node-gyp'
    
  2. Ilya Finkelshteyn closed this discussion on Aug 25, 2018 @ 02:01 AM.

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