Comments (10)
Ok the first running requires two commands:
npm install
cake build
Did you run them?
Another question what is you version of Node.js?
from cozy-data-system.
node -v
v0.8.16
Yes I ran sudo[with/wo] npm start after sudo npm install and cake build.Samer error.
from cozy-data-system.
We don't support node 0.8.x anymore, only 0.10.x. Can you try with a more recent version of Node please?
from cozy-data-system.
//Although I got cozy-dev dev:start/init workingon my machine now.
Upgraded node to 0.10,told nvm to use this version, npm installed puchdb,leveldb,cozy-light.
cozy-light start threw this error:
Error: /usr/local/lib/node_modules/cozy-light/node_modules/pouchdb/node_modules/leveldown/build/Release/leveldown.node: undefined symbol: _ZN4node6Buffer3NewEPcj
PS:
[cf : https://github.com/cozy/cozy-dev/blob/master/src/main.coffee#L81]
Another issue is with the main.js that your npm package places in my node_modules.
It tries to return the github password prompt (like any other ssh),probably without defining/linking a password method to the command object or telling commad object to read 'password' otherwise.
[All dependencies are met]
cozy-dev new testapp --github carnotweat
/usr/local/lib/node_modules/cozy-dev/lib/main.js:91
return program.password("Github password:", (function(_this) {
^
TypeError: Object #<Command> has no method 'password'
from cozy-data-system.
@jsilvestre I saw you used inquirer in your PR. Do you have more information about that issue?
from cozy-data-system.
Yes, I haven't finished my work and it hasn't been published (because not working properly yet). So this error corresponds exactly to this issue: cozy/cozy-dev#39
It'll be fixed by the use of inquirer.
from cozy-data-system.
@carnotweat we have published a new version of cozy-dev
(1.0.11). It should be working now, let us know if anything goes wrong.
If you still have trouble with cozy-light, I suggest you open an issue on the dedicated repository: https://github.com/cozy-labs/cozy-light/issues
Thank you very much for your patience and time, that help us a lot improving the project!
from cozy-data-system.
cd /'path to'/cozy-dev
git pull
chmod +x bin/cozy
./bin/cozy
module.js:340
throw err;
^
Error: Cannot find module '/'path to'/cozy-dev/lib/main'
In fact the repo has no folder named lib.
from cozy-data-system.
If you want to use cozy-dev
, you should install it from npm: sudo npm install -g cozy-dev
if you want to run it from a clone, you must build the sources with cake build
.
You could also run the coffee version directly: coffee src/main.coffee [yourcommand]
(I'm not a 100% sure it's working, but it should).
from cozy-data-system.
@jsilvestre , Can I close this issue ?
from cozy-data-system.
Related Issues (20)
- Creation of a sharing controller HOT 4
- Fine-grained permission control through id
- TypeError: Cannot read property 'targetDocType' of null HOT 1
- 30G of cozy.couch - any chance of reducing it ? HOT 5
- “Application not authorized” should be less verbose
- cozy update crash on data-system update HOT 7
- Don't crash when index is not available HOT 2
- Convert binaries error
- TypeError: error:0606506D:digital envelope routines:EVP_DecryptFinal_ex:wrong final block length HOT 1
- Improve "Error: Application is not authorized" error handling
- TypeError: Cannot read property 'docType' of undefined HOT 1
- Diacritics in file name makes data-system crash HOT 4
- Add file checksum automatically HOT 1
- Error trying to download a large folder HOT 3
- Extract EXIF data when adding pictures HOT 1
- Allow to disable the inner indexer
- Files doesn't (always) generate previews of pictures HOT 1
- Error creating thumbnails: TypeError: Cannot read property 'id' of undefined
- Allow replication to access /replication/_all_docs URLs HOT 1
- Server error: Forbidden operation | Buffer isn't a JSON valid
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cozy-data-system.