I need the source code of the NPM modules inside the artifactory installation #jfrog folder artifactory-oss-7.7.3/app/frontend/bin/server/dist/node_modules/#jfrog. Checking the package.json files I see the following
,"_resolved": "https://entplus.jfrog.io/artifactory/api/npm/npm-virtual/#jfrog/nodejs-commons/-/#jfrog/nodejs-commons-2.0.2.tgz"
However, when I try to follow the link I get a Forbidden error. I also see references to a git repository:
git.jfrog.info/~odedb/jfrog-artifactory-nodejs-client.git
However, I get a timeout error for accessing. Any clue on how to download these files?
The latest version of Artifactory OSS source code can be downloaded from https://jfrog.com/open-source/.
The direct download link: https://releases.jfrog.io/artifactory/bintray-artifactory/org/artifactory/oss/jfrog-artifactory-oss/[RELEASE]/jfrog-artifactory-oss-[RELEASE]-linux.tar.gz
[RELEASE] is replaced automatically to latest, if you need specific version, pls replace with version number.
Related
Total Linux noob here. I am trying to configure a Pleroma development environment on DO droplet. Installed LEMP, installed SSL, installed PostgreSQL, installed Pleroma, so far so good.
Then I installed Node, NPM, cloned Pleroma-FE (apparently it installs in /user/pleroma-fe folder). I am following the very brief build instructions here:
https://git.pleroma.social/pleroma/pleroma-fe
When I get to the command in those build instructions: npm run build
I am getting error: Error: Cannot find module '/user/build/build.js'
It's because actual path to the build file is /user/pleroma-fe/build/build.js
Apologies if this is a duplicate. I see other questions about this.
Fixing npm path in Windows 8 and 10
and the reply seems to set the PATH. This answer might apply to my situation. But my question is: it is clearly already looking in a well defined path (which is different from all the other questions, which don't seem to have well defined path in the error message). But it is the wrong path. How do I make it look in the correct path?
I tried the npm command and specified the complete path, and every variation. and none worked. So it seems fixing the path won't fix this problem.
Sorry I do not currently know enough Linux to be able to fix this. I tried to tag this with Pleroma but I don't have enough reputation to create a new tag. Any help is much appreciated. Thanks in advance.
I continued to work on this with some help of a Linux admin on Fiverr and the Pleroma developers chat with success, thanks to all.
The solution did not involve changing the path. There were several different things going on. First, I needed to change directory into the development project source folder:
cd pleroma-fe
Once I did that, npm found the build module. Next issue was Node was very old and I needed to get the latest version. I used the instruction here for NodeJS (10):
https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions
Next issue was npm was missing some modules. This was fixed with:
npm install
After that the build completed with no errors.
npm run build
After a successful build, you will see a list of files that have changed as a result of the build.
Next issue is that simple changes in HTML text were not live, ie. not reflected in the refreshed web page. This is fixed by copying all the resulting build files to the production folder using rsync. In my case the command was:
rsync -av /user/pleroma-fe/dist/ /home/pleroma/pleroma/priv/static/
Pleroma is a neat Twitter-like user interface to ActivityPub fediverse, it includes a Mastodon UI as well, and thanks to the developers for making it free and open source.
What I do :
1.I used the opencv-plugin-sample(from the link https://github.com/Kurento/kms-opencv-plugin-sample) and start the kuretoMediaServer
2.In the client side I used js and java,Both works well
3.For js I used the command
cmake .. -DGENERATE_JS_CLIENT_PROJECT=TRUE
npm install grunt grunt-browserify grunt-contrib-clean grunt-jsdoc grunt-npm2bower-sync minifyify
grunt
to generate the js folder and the dist folder
4.For java I used the command
cmake .. -DGENERATE_JAVA_CLIENT_PROJECT=TRUE
make java_install
What I have to do:
1.Now I need to run kurento with android,So I have used the following link https://github.com/apeunit/AppRTC-Kurento-Example
2.In the client side they have used node-js to communicate with KMS
3.Now I am trying to add the opencv sample in the existing code,With reference to the link http://doc-kurento.readthedocs.org/en/stable/mastering/develop_kurento_modules.html#examples ,I changed the package.json file but it shows the error
'kurento-module-opencvpluginsample' is not in the npm registry.
4.When I checked the crowd-detector sample(https://github.com/Kurento/kurento-tutorial-node/tree/master/kurento-crowddetector ) ,module(kurento-module-crowddetector) is present in the node_module folder,For the opencv-sample
Whether I need to add the module(kurento-module-opencvpluginsample) maually?or
Is there any default steps to generate files in the module(kurento-module-opencvpluginsample) folder as done in java and js above?
npm resolves packages by name and version by checking with the npm registry (see this link for more info) What this line
kurento-module-opencvpluginsample' is not in the npm registry.
is telling you, is that it cannot find your module in the npm registry. That's no surprise, as it is only located in your local machine. Please have a look at this SO answer about how to specify local modules as npm deps.
I try to connect to SQL server in golang, I searched in internet and through this address: https://github.com/denisenkom/go-mssqldb I understood that first I need to install a package for the purpose, but when I want to install this package through git terminal by entering this command:
$ go get github.com/denisenkom/go-mssqldb
I receive this error :
can't load package: package github.com/denisenkom/go-mssqldb: no buildable go source files in C:\Go\src\github.com\dnisenkom\go-mssqldb
my $GOPATH is already set.I don't know how to fix this problem ...
According to the golang website:
Get downloads and installs the packages named by the import paths, along with their dependencies.
It sounds like the download isn't working, which is causing the folder to be empty. One alternative is to download the driver as a zip file and run go install on the folder.
In launching bazar explorer in macosx, a common error arises when i try to view the repository, it say "too many files", a solution has been posted by using a patch over at bazars website (https://bugs.launchpad.net/bzr-explorer/+bug/926439)
.... My question is how do you exactly patch them? I typed "bzr patch " but errors occured, am i missing something here?
The patch applies to the source code of bzr-explorer. You would have to download the source, apply the patch to that and then install it from the patched source.
In detail:
Download bzr-explorer and the patch.
Extract bzr-explorer into a directory which you can access easily from Terminal.
Copy the downloaded patch file into the same directory.
Open Terminal and change to that directory.
Execute the following commands:
patch < workaround-926439.patch
python setup.py install
I want to download this project: http://trac.sitecore.net/AdvancedDatabaseCrawler/browser/Branches/v2/
How should I download the whole project?
If you go up a couple levels (I just removed parts from the URL until it worked), you get this:
The project code and documentation has been moved to the following location:
​https://github.com/sitecorian/SitecoreSearchContrib
The codebase will not be maintained here any longer.
So, go to the new URL on GitHub and grab the git URL (git://github.com/sitecorian/SitecoreSearchContrib.git), then either use git:
git clone git://github.com/sitecorian/SitecoreSearchContrib.git
Or paste the URL into a git tool.