Comments (11)
in the log output above the first time you ran npm install it only installed csv and couchapp. the most recent version of package.json has more modules than that: https://github.com/maxogden/datacouch/blob/node_server/package.json
are you sure it was a complete fresh clone of the HEAD of the node_server branch?
from datacouch.
that is a good point. i thought that is what i was doing when i ran
git checkout -b node_server_dev upstream/node_server
but i think it only did csv because npm was smart enough to see that I already had some of the other modules installed before hand. let me run npm install from a brand new clone and see what happens.
from datacouch.
brand new clone install output
Coles-MacBook-Air:datacouch cole$ npm install
npm WARN [email protected] dependencies field should be hash of : pairs
npm http GET https://registry.npmjs.org/couchapp/0.8.1
npm http GET https://registry.npmjs.org/csv/0.0.10
npm http 304 https://registry.npmjs.org/csv/0.0.10
npm http 304 https://registry.npmjs.org/couchapp/0.8.1
[email protected] ./node_modules/couchapp
[email protected] ./node_modules/csv
Coles-MacBook-Air:datacouch cole$ node run
The "sys" module is now called "util". It should have a similar interface.
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module 'jsonparse'
at Function._resolveFilename (module.js:334:11)
at Function._load (module.js:279:25)
at Module.require (module.js:357:17)
at require (module.js:368:17)
at Object. (/Users/cole/Public/datacouch/node_modules/JSONStream/index.js:2:14)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Module.require (module.js:357:17)
from datacouch.
that does not seem right...
from datacouch.
can you paste in npm ls
after the install?
hmm, it appears that this my be related to JSONStream, which seems odd. does it work if you install JSONStream directly?
from datacouch.
@dominictarr the issue was that you checked in your .gitignore
with JSONStream and then when I checked in JSONStream it didn't include the node_modules
inside, so when @colegillespie did npm install
his npm
saw that he already had JSONStream in node_modules
and skipped installation, but npm
didn't realize that JSONStream was missing a dependency.
from datacouch.
okay, but I want the .gitignore in my repo because I don't want node_modules in my reusable lib's repo.
but you want it in your deployable app here, so feels like a catch 22.
I could use a global .gitignore, but that would mess up my apps.
so what is the solution here?
an .npmignore that ignores .gitignore?
from datacouch.
You could always just add your node_modules later once you delete the node_modules dir and your .gitignore and leave them untracked by git ya know. Just do not "git add" them.
from datacouch.
oh, all I need to do is republish JSONStream
https://github.com/isaacs/npm/issues/1862
npm now automatically uses .gitignore as npm ignore.
from datacouch.
okay, just published JSONStream 1.1.3
try that.
from datacouch.
jsonstream 0.1.3 successfully installs jsonparse
from datacouch.
Related Issues (16)
- use github login HOT 1
- select points by region on map and edit data
- Add home link to the header on user profile pages HOT 1
- Edit details link doesn't show up on data view
- Upload fails on certain biggish data HOT 1
- Implement common data enhancements as transformations HOT 1
- editing column titles causes deletion of data HOT 2
- Does this require middle layer stuff for authentication? HOT 1
- Deleting dataset results in "Server error: Fatal XHR Error" HOT 2
- Delete all documents only deletes some documents HOT 3
- Taco de pulpo
- Unauthorized token HOT 2
- node_server branch user testing HOT 2
- rewrite roadmap? HOT 2
- polymapper loads eternally HOT 2
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 datacouch.