-
Notifications
You must be signed in to change notification settings - Fork 2
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
Installation Issues #6
Comments
The problem seems to be this one: https://stackoverflow.com/questions/51078974/how-to-have-npm-install-a-typescript-dependency-from-a-github-url Some solutions: If it works, I would prefer solution (a). |
I think solution a) is already implemented in the repo (there's a |
Could you try if the |
Also, could you check if npm's |
I've now created a non-root user for my docker image and let it run the commands. The same issue occurs when using I'll try the suggestions later this week and correspondingly update this issue |
I'd also be curious if |
Docker using non-root user
Docker using root user
ConclusionsIt seems to only depend on the root / non-root docker user. @juliand665 I did not observe any problems using different URL schemes, even I've found out that vscode needs root access to install an extension for testing. Therefore, I run |
Having
"vs-verification-toolbox": "github:viperproject/vs-verification-toolbox#master"
as a devDependency works on my local machine (macOS; node v14.10.1; npm 6.14.8). This means, that vs-verification-toolbox is compiled as part ofnpm install
resp.npm ci
(i.e. the prepare step is triggered).However, I observed a (consistently) different behavior in my docker container (
gobraverifier/gobra-ide-base:v1
) running Ubuntu 20.04 (node v10.19.0; npm 6.14.4). This repo's content is downloaded but compilation is not triggered. In particular, the out folder is missing. As a quick fix, I perform nowcd node_modules/vs-verification-toolbox; npm install; npm run compile;
to manually compile this library after downloading it.I first thought it might be related to the missing
files
property in package.json, but adding the out folder seemed to make things worse.The text was updated successfully, but these errors were encountered: