Open rlaveycal opened 5 years ago
Same issue on v2.1.76. Is there any workaround?
I am having a similar issue; I dont have the runtime options, but the project does have them in the proj like this ;
<RuntimeIdentifiers>win-x64;linux-x64</RuntimeIdentifiers>
I get this error; pretty consistently
libman.json : error LIB003: highstock.src.js could not be written to disk. Make sure the file name is correct
on version 2.1.161, but had it on earlier versions too.
We are experiencing this sporadically as well. Is there any update?
I would also like to tack onto this issue. I am seeing it while restoring a net6.0 asp.net web app in a docker container.
It's important to note that while the web app doesn't have multiple runtimes, and I wasn't using the CLI options to specify one, the app did use some legacy packages in .Net Framework. I had been using the dotnet core docker image as my build, so I tried using a framework image instead to see if that helped - and it did! So for anyone stuck on this, I might recommend trying a Framework container and see if it helps, especially if you have legacy/old Nuget packages that run in Framework (even if your web app is dotnet core)
I still have the same error, I have tried a few ways to fix it but it's still unclear, when I open the project it crashes I did clean a few times and it disappeared.
@Hoai-Phong can you share the libman.json snippet for that library so I can try to reproduce the issue?
@jimmylewis Send you { "version": "1.0", "defaultProvider": "cdnjs", "libraries": [ { "library": "jquery@3.7.1", "destination": "wwwroot/lib/jquery/", "files": [ "jquery.min.js", "jquery.js" ] }, { "provider": "cdnjs", "library": "bootstrap@5.3.1", "destination": "wwwroot/lib/bootstrap/", "files": [ "js/bootstrap.min.js", "js/bootstrap.js" ] }, { "provider": "unpkg", "library": "datatables.net-bs5@1.13.6", "destination": "wwwroot/lib/datatables.net-bs5/", "files": [ "css/dataTables.bootstrap5.css", "css/dataTables.bootstrap5.min.css", "js/dataTables.bootstrap5.js", "js/dataTables.bootstrap5.min.js" ] },
{
"provider": "unpkg",
"library": "datatables.net-buttons-bs5@2.4.1",
"destination": "wwwroot/lib/datatables.net-buttons-bs5/",
"files": [
"css/buttons.bootstrap5.css",
"css/buttons.bootstrap5.min.css",
"js/buttons.bootstrap5.js",
"js/buttons.bootstrap5.min.js",
"js/buttons.bootstrap5.mjs"
]
},
{
"provider": "unpkg",
"library": "datatables.net-responsive-bs5@2.5.0",
"destination": "wwwroot/lib/datatables.net-responsive-bs5/",
"files": [
"css/responsive.bootstrap5.css",
"css/responsive.bootstrap5.min.css",
"js/responsive.bootstrap5.js",
"js/responsive.bootstrap5.min.js",
"js/responsive.bootstrap5.mjs"
]
},
{
"library": "datatables-responsive@2.5.0",
"destination": "wwwroot/lib/datatables-responsive/"
},
{
"library": "datatables.net-select@1.7.0",
"destination": "wwwroot/lib/datatables.net-select/",
"files": [
"dataTables.select.js"
]
},
{
"library": "jquery-timepicker@1.14.1",
"destination": "wwwroot/lib/jquery-timepicker/"
},
{
"library": "moment.js@2.29.4",
"destination": "wwwroot/lib/moment.js/"
},
{
"provider": "cdnjs",
"library": "i18next@23.4.6",
"destination": "wwwroot/lib/i18next/",
"files": [
"i18next.min.js",
"i18next.js"
]
},
{
"provider": "cdnjs",
"library": "select2@4.0.13",
"destination": "wwwroot/lib/select2/",
"files": [
"js/select2.min.js",
"js/select2.js"
]
},
{
"provider": "unpkg",
"library": "jquery-datatables-checkboxes@1.2.14",
"destination": "wwwroot/lib/jquery-datatables-checkboxes/",
"files": [
"css/dataTables.checkboxes.css",
"js/dataTables.checkboxes.js",
"js/dataTables.checkboxes.min.js"
]
},
{
"provider": "cdnjs",
"library": "select2@4.0.13",
"destination": "wwwroot/lib/select2/"
},
{
"provider": "cdnjs",
"library": "flatpickr@4.6.13",
"destination": "wwwroot/lib/flatpickr/"
},
{
"provider": "unpkg",
"library": "datatables.net@1.13.6",
"destination": "wwwroot/lib/datatables.net/",
"files": [
"js/jquery.dataTables.js",
"js/jquery.dataTables.min.js"
]
},
{
"provider": "cdnjs",
"library": "datatables-buttons@2.4.2",
"destination": "wwwroot/lib/datatables-buttons/",
"files": [
"js/dataTables.buttons.min.js",
"js/dataTables.buttons.js",
"js/buttons.print.mjs",
"js/buttons.print.min.mjs",
"js/buttons.print.min.js",
"js/buttons.print.js",
"js/buttons.html5.mjs",
"js/buttons.html5.min.mjs",
"js/buttons.html5.min.js",
"js/buttons.html5.js"
]
},
{
"provider": "cdnjs",
"library": "sweetalert2@11.7.27",
"destination": "wwwroot/lib/sweetalert2/"
},
{
"provider": "cdnjs",
"library": "datatables.net-scroller-bs5@2.2.0",
"destination": "wwwroot/lib/datatables.net-scroller-bs5/",
"files": [
"scroller.bootstrap5.min.js",
"scroller.bootstrap5.css",
"scroller.bootstrap5.js",
"scroller.bootstrap5.min.css"
]
},
{
"provider": "unpkg",
"library": "@ckeditor/ckeditor5-alignment@39.0.1",
"destination": "wwwroot/lib/ckeditor/ckeditor5-alignment/",
"files": [
"src/alignment.js",
"build/alignment.js",
"build/translations/ja.js"
]
},
{
"provider": "unpkg",
"library": "@ckeditor/ckeditor5-alignment@39.0.1",
"destination": "wwwroot/lib/ckeditor/ckeditor5-alignment/",
"files": [
"src/alignment.js",
"build/alignment.js",
"build/translations/ja.js"
]
},
{
"provider": "unpkg",
"library": "@ckeditor/ckeditor5-basic-styles@39.0.1",
"destination": "wwwroot/lib/ckeditor/ckeditor5-basic-styles/",
"files": [
"build/basic-styles.js",
"build/translations/ja.js"
]
},
{
"provider": "unpkg",
"library": "@ckeditor/ckeditor5-editor-classic@39.0.1",
"destination": "wwwroot/lib/ckeditor/ckeditor5-editor-classic/",
"files": [
"build/editor-classic.js"
]
},
{
"provider": "unpkg",
"library": "ckeditor5@39.0.1",
"destination": "wwwroot/lib/ckeditor5/",
"files": [
"build/ckeditor5-dll.js",
"build/translations/ja.js"
]
},
{
"provider": "unpkg",
"library": "@ckeditor/ckeditor5-font@39.0.1",
"destination": "wwwroot/lib/ckeditor/ckeditor5-font/",
"files": [
"build/font.js",
"build/translations/ja.js"
]
},
{
"provider": "unpkg",
"library": "@ckeditor/ckeditor5-link@39.0.1",
"destination": "wwwroot/lib/ckeditor/ckeditor5-link/",
"files": [
"build/link.js",
"build/translations/ja.js"
]
},
{
"provider": "unpkg",
"library": "@ckeditor/ckeditor5-style@39.0.1",
"destination": "wwwroot/lib/ckeditor/ckeditor5-style/",
"files": [
"build/style.js",
"build/translations/ja.js"
]
}
, { "provider": "unpkg", "library": "@ckeditor/ckeditor5-build-classic@39.0.1", "destination": "wwwroot/lib/ckeditor/ckeditor5-build-classic/", "files": [ "build/ckeditor.js", "build/translations/ja.js" ] } , { "provider": "unpkg", "library": "@ckeditor/ckeditor5-heading@39.0.1", "destination": "wwwroot/lib/ckeditor/ckeditor5-heading/", "files": [ "build/heading.js", "build/translations/ja.js" ] } , { "provider": "unpkg", "library": "@ckeditor/ckeditor5-block-quote@39.0.2", "destination": "wwwroot/lib/ckeditor/ckeditor5-block-quote/", "files": [ "build/block-quote.js", "build/translations/ja.js" ] } ] }
Functional impact
Build fails in CI server
Minimal repro steps
I have a build pipeline that runs each step in the nano sdk container on Windows 2019 (microsoft/dotnet:2.2.103-sdk-nanoserver-1809). The source code folder is mapped into the container as a volume.
My solution contains a web project, a couple of support projects and a couple of test projects that depend on the web project
Step 2 fails with multiple instances of error LIB003, each for a different file. The files in question are present
Expected result
The build would work
Further technical details
--runtime win-x64
option works.My guess is that there's a race condition between concurrent downloads of the packages caused by builds of the test projects. When
--runtime
is specified the output shows 2 instances ofwhereas without it only 1 restore is done.