You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 7, 2019. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 7, 2019. It is now read-only.
I noticed your bug about installing through jam.json, but I can't get it to work with jam install demojam.
I get the error :
installing from repositories demojam
Building version tree...
repositories checking "demojam"
Error: No package for 'demojam'
at Object.dependencyError (/usr/local/lib/node_modules/jamjs/lib/tree.js:216:16)
at Object.updateDep (/usr/local/lib/node_modules/jamjs/lib/tree.js:181:33)
at Object.addDependency (/usr/local/lib/node_modules/jamjs/lib/tree.js:128:28)
at /usr/local/lib/node_modules/jamjs/lib/tree.js:134:32
at /usr/local/lib/node_modules/jamjs/lib/tree.js:177:20
at /usr/local/lib/node_modules/jamjs/lib/repository.js:445:9
at /usr/local/lib/node_modules/jamjs/node_modules/async/lib/async.js:94:25
at /usr/local/lib/node_modules/jamjs/lib/repository.js:441:13
at /usr/local/lib/node_modules/jamjs/lib/repository.js:203:9
at IncomingMessage. (/usr/local/lib/node_modules/jamjs/lib/couchdb.js:248:25)
Failed
In the github repository, the structure looks like:
demo_jam
> jam
> demojam
main.js
package.json
demojam.tar.gz
Where demojam.tar.gz is a jam packed version of the demojam folder within it. Further, demojam > package.json looks like this:
{
"name": "demojam",
"version": "1.0.0",
"description": "It's a demo of Jam",
"homepage": "https://github.[company].net/[username]/demo_jam",
"main": "main.js"
}
I presume having both the tar and the directory (demojam with package.json and main.js) is one too many approaches. But either way, should this work?
You can use github's downloads to install a tagged version of your package "jam install URL" where URL is pointing at a .tar.gz file with a package.json file. You can also install from a local directory "jam install /path/to/my-package". You can also run a private package repository using CouchDB. Just update ~/.jamrc to point to your company's private db.
Activity
newtonianb commentedon Nov 11, 2012
I am also interested in this, no feedback?
caolan commentedon Nov 13, 2012
You can use github's downloads to install a tagged version of your package "jam install URL" where URL is pointing at a .tar.gz file with a package.json file. You can also install from a local directory "jam install /path/to/my-package". You can also run a private package repository using CouchDB. Just update ~/.jamrc to point to your company's private db.