Questions tagged [sinopia]

`sinopia` is an open source web application providing a private npm repository server.

sinopia is an open source web application written in node.js that provides to node.js developper teams a private npm repository server.

Developpers can set the server FQDN as their default npm registry to publish or install npm packages.

sinopia is even capable to cache each version of each package from npmjs.org when they are requested the first time.

29 questions
13
votes
4 answers

What exactly does 'npm install -g ' do?

I want to set up a private npm registry using sinopia and I executed npm install -g sinopia, but some error message occurred: > crypt3@0.1.8 install /usr/local/lib/node_modules/sinopia/node_modules/crypt3 > node-gyp rebuild gyp WARN EACCES user…
liam xu
  • 2,892
  • 10
  • 42
  • 65
11
votes
6 answers

NPM pulls corrupted packages from Verdaccio instance

When I perform a basic npm install in an application I am attempting to set up a dev. environment for corrupted packages end up being pulled from my Verdaccio proxy instance. To Reproduce Steps to reproduce the behavior: Set up package.json for my…
Chris K.
  • 467
  • 2
  • 5
  • 19
8
votes
3 answers

How to setup angular project as a dependency in package.json of another angular project

I have three different Angular cli projects (X, Y, Z). I want to make [X] as a parent project while I want to add Y and Z as npm package dependencies to X. That means [X] package.json will contain the dependencies of [Y] and [Z] as follows.…
Partha Sarathi Ghosh
  • 10,936
  • 20
  • 59
  • 84
6
votes
1 answer

How to set registry for namespaced package with yarn?

I am giving yarn a try as a replacement for npm. For npm, we use both a private sinopia registry and for some namespaced package the official repoistory as well, as sinopia doesn't handle the namespace. Since my .npmrc has these registries…
k0pernikus
  • 60,309
  • 67
  • 216
  • 347
5
votes
1 answer

How set up remote npm authentication with Artifactory

I have a downstream Sinopia repository, that requires authentication, that I want to set up as a remote npm repo in Artifactory. How do I provide Artifactory the credentials for the remote?
Brandt
  • 341
  • 2
  • 10
3
votes
2 answers

"npm publish" not working in Team City

I am trying to use Team City CI to run tests and publish the NPM package to local sinopia repository. I had setup sinopia repository on a server and i can successfully publish npm packages to that repository with npm publish command from my local…
Venkata Dorisala
  • 4,783
  • 7
  • 49
  • 90
3
votes
2 answers

after installing sinopia npm is not working

Before installing sinopia everything working fine but after that npm fails. plz help me rolling back to original settings. it got error whenever it try to install new npm package. for example. when i ran this npm install -g mocha grunt-cli bower…
owais
  • 4,752
  • 5
  • 31
  • 41
2
votes
0 answers

How to connect to a remote sinopia?

Problem Sinopia cannot be accessed remotely, while it is possible to access it from the same box. Attempts to solve the issue /vagrant/sinopia/config.yaml # path to a directory with all packages listen: 0.0.0.0:10000 sinopia is…
030
  • 10,842
  • 12
  • 78
  • 123
2
votes
1 answer

How can I get Sinopia to mirror all npm packages from registry.npmjs.org?

I'm working on setting up a complete npm repository in an offline environment, and I'm looking into using Sinopia as the repository. Apparantly this has been done before. This thread on the Sinopia github page describes a similar scenario, where you…
tiasg
  • 23
  • 5
2
votes
2 answers

what's the destination does 'npm install -g xxx' install to?

For instance, npm install -g sinopia On windows7, I will install the sinopia command and related modules inside C:\Users\xxxx\AppData\Roaming\npm. On Redhat5, my node and npm command are in /usr/local/clo/ven/node-v4.2.3-linux-x64/bin. When I run…
liam xu
  • 2,892
  • 10
  • 42
  • 65
2
votes
1 answer

How to resolve this sinopia installation error?

I am using redhat5.9. I found the 'make' related exception. I am wondering what are they making? I think they are just javascript relatd stuff. [root@xxxx bin]# npm install -g sinopia --python=/usr/local/clo/ven/python-2.7.11/bin/python >…
liam xu
  • 2,892
  • 10
  • 42
  • 65
2
votes
2 answers

Node registry path with electron-updater and Sinopia

I am currently working on an application running on Electron (former atom-shell), and trying to design a way to alert the user when a new update is available. To do this, I am using electron-updater in the way described in electron-updater-sample. I…
Yann Lelong
  • 433
  • 1
  • 4
  • 16
1
vote
1 answer

Unpublish packages from sinopia Local NPM registry

How to unpublish/remove already published packages in to Sinopia (Local NPM repository) ? Let's say I have published a package called @test/test-package. How to unpublish it from local repository ?
user3292311
  • 43
  • 1
  • 7
1
vote
1 answer

How to launch verdaccio (forked version of sinopia) at boot on mac OS X?

I tried to create .plist at /Library/LaunchDaemons but it doesn't run. It follows below:
1
vote
1 answer

Publishing all dependencies to local npm registry

I would like to create local npm registry with sinopia and then publish there all packages from my projects node_modules directory. Effectively I want to be able to run npm install --registry="http://localhost:4873" in my project offline and get all…
Konrad C
  • 67
  • 3
1
2