SkygearIO / skygear-SDK-JS

Skygear SDK for JavaScript
https://docs.skygear.io/guides/quickstart/js/
Other
23 stars 33 forks source link

Allow user to install nightly version #264

Open cheungpat opened 7 years ago

cheungpat commented 7 years ago
$ npm install https://github.com/SkygearIO/skygear-SDK-JS.git
npm WARN enoent ENOENT: no such file or directory, open '/private/tmp/boo/package.json'
npm WARN boo No description
npm WARN boo No repository field.
npm WARN boo No README data
npm WARN boo No license field.
npm ERR! Darwin 16.7.0
npm ERR! argv "/Users/cheungpat/.nvm/versions/node/v6.9.1/bin/node" "/Users/cheungpat/.nvm/versions/node/v6.9.1/bin/npm" "install" "https://github.com/SkygearIO/skygear-SDK-JS.git"
npm ERR! node v6.9.1
npm ERR! npm  v3.10.8
npm ERR! path /private/tmp/boo/node_modules/skygear-build/bin.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod

npm ERR! enoent ENOENT: no such file or directory, chmod '/private/tmp/boo/node_modules/skygear-build/bin.js'
npm ERR! enoent ENOENT: no such file or directory, chmod '/private/tmp/boo/node_modules/skygear-build/bin.js'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! Please include the following file with any support request:
npm ERR!     /private/tmp/boo/npm-debug.log
cheungpat commented 6 years ago

@rickmak @carmenlau I would like to work on this issue.

cheungpat commented 6 years ago

not as simple as i have thought:

also looked at:

When installing from github link, npm will run the prepare script, so we can make use of this script to build the files in dist directory, so the problem is not related to checking dist directory in source control.

will check again later

yipsang commented 6 years ago

I want this!!!!!!