-
Notifications
You must be signed in to change notification settings - Fork 9
Save artifact skipped after npm install #34
Comments
This typically happens if the contents of the If that's not the issue, can you share your full build script and email me verbose build logs (etdenn at microsoft com)? |
@ethanis I have tried all the suggestions mentioned in #16 but still Post-job: Cache npm is getting skipped. I am following the NX recommended distributed CI in my project. Your help and support is greatly appreciated. Environment : install-node-modules.yml
This is the error i have found from logs :-
|
haev the same issue -Ignoring --cache-directory because the cache is not yet supported on OS "Linux 5.3.0-1032-azure #33~18.04.1-Ubuntu |
Same:
|
Any update on this issue? I'm encountering the identical error. |
My pipeline runs on a hosted agent and it's not a forked repository. But after the npm install step or npm build step (tried both) the save artifact is always skipped. (Same if I use the combined restore and save task)
Step yaml:
I enabled system diagnostics see more in the log this is what it's saying at the end: (log is to long to post fully here)
2020-02-19T13:21:40.6619967Z ##[debug]121098 results
2020-02-19T13:21:40.6620193Z ##[debug]found 121098 paths
2020-02-19T13:21:40.6620368Z ##[debug]applying include pattern
2020-02-19T13:21:41.7090069Z ##[debug]306 matches
2020-02-19T13:21:41.7095332Z ##[debug]pattern: '!\node_modules**\node_modules'
2020-02-19T13:21:41.7095502Z ##[debug]trimmed leading '!'. pattern: '\node_modules*\node_modules'
2020-02-19T13:21:41.7095696Z ##[debug]after ensurePatternRooted, pattern: 'd:\a\1\s*\node_modules**\node_modules'
2020-02-19T13:21:41.7095810Z ##[debug]applying exclude pattern
2020-02-19T13:21:41.7146928Z ##[debug]305 matches
2020-02-19T13:21:41.7151200Z ##[debug]1 final results
2020-02-19T13:21:41.7156704Z ##[debug]
2020-02-19T13:21:41.7156947Z ##[debug]Found target folder: src\clients\workspace\node_modules
2020-02-19T13:21:41.7157360Z ##[debug]-----------------------------
2020-02-19T13:21:41.7184265Z ##[debug]Absolute path for pathSegments: d:\a\1\s\src\clients\workspace\libs\ngx-app-settings\package-lock.json = d:\a\1\s\src\clients\workspace\libs\ngx-app-settings\package-lock.json
2020-02-19T13:21:41.7184611Z ##[debug]Absolute path for pathSegments: d:\a\1\s\src\clients\workspace\package-lock.json = d:\a\1\s\src\clients\workspace\package-lock.json
2020-02-19T13:21:41.7269669Z ##[debug]platformIndependent=false
2020-02-19T13:21:41.8275658Z ##[debug]win32-0a4407a3b3b2b8eda3115a3700c0aa1c2d3e09263cfaf8d2e7d2770566e809fe=undefined
2020-02-19T13:21:41.8276529Z ##[debug]task result: Skipped
2020-02-19T13:21:41.8304250Z ##[debug]Processed: ##vso[task.complete result=Skipped;]Not caching artifact produced during build: win32-0a4407a3b3b2b8eda3115a3700c0aa1c2d3e09263cfaf8d2e7d2770566e809fe
2020-02-19T13:21:42.6530188Z ##[section]Finishing: Save artifact based on: /package-lock.json, !/node_modules//package-lock.json, !/.*/**/package-lock.json
Any idea what the problem is here? I just can't figure it out what I'm doing wrong.
The text was updated successfully, but these errors were encountered: