-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Something went all wrong while downloading the schema files! #10
Comments
Hey, what does
say? BR |
Getting the same error, running in cmd, with the following statement:
Why is it concatenating the path like that? Trying this out with:
When running the command with the debug flag: npx: installed 1 in 2.449s
The "path" argument must be of type string
C:\project\npm-config\npm\node_modules\ui5-schemas\bin\index.js
ui5-schemas info Preparing 'sapui5' schemas in version 'latest'...
ui5-schemas debug [download] Downloading all libraries metafile from 'https://sa
pui5.hana.ondemand.com/discovery/all_libs'
ui5-schemas error Damn... Something went all wrong while downloading the schema
files!
ui5-schemas error Are you sure the version '' is still available on 'sapui5' dow
nload pages?
ui5-schemas error { Error: C:\Users\<username>\AppData\Roaming\C:\Users\<username>\App
Data\Roaming\UI5Experts\ui5-schemas contains invalid WIN32 path characters.
at Object.mkdirsSync (C:\project\npm-config\npm\node_modules\ui5-schemas\node_m
odules\fs-extra\lib\mkdirs\mkdirs-sync.js:18:22)
at Object.emptyDirSync (C:\project\npm-config\npm\node_modules\ui5-schemas\node
_modules\fs-extra\lib\empty\index.js:34:18)
at Object.schemas (C:\project\npm-config\npm\node_modules\ui5-schemas\lib\downl
oad.js:46:6)
at download.allLibsFile.then (C:\project\npm-config\npm\node_modules\ui5-schema
s\bin\index.js:62:18)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:160:7) code: 'EINVAL
' } |
@cschuff fs.emptyDirSync(path.join(process.cwd(), options.outputDir, options.version)); When I remove fs.emptyDirSync(path.join(options.outputDir, options.version)); Why is that needed (something *nix OS needed)?
And we need to create some real test in the near future ;). @michal-majer and @mmachauerjs |
@xtreemrage Thanks for the investigation work. I will fix this as soon as possible. If you want to speed up things feel free to open a pull request. @xtreemrage What is the problem with the semver version resp. package.json? I don't want to have fixed dependencies in there. That's what the package-lock.json is for (in npm5). Or did I miss something here? I'm in the middle of a bigger refactoring towards a 1.0 anyways that will surely contain tests. But I don't have a release date yet :) |
@cschuff @cschuff Nice, I'm looking forward to v1.0. If you need some help, regarding reviews or some, let me know. |
Hey folks, finally published 0.3.1 including @xtreemrage bugfix. Thanks again. HF |
Hi,
I have the error during installation of ui5-schemas.
I also tried to perform the installation with parameter -v 1.44.24 but error is still the same.
Could You help? :)
The text was updated successfully, but these errors were encountered: