weifund / weifund-contracts Goto Github PK
View Code? Open in Web Editor NEWA repo for the WeiFund contracts.
License: Other
A repo for the WeiFund contracts.
License: Other
package.json
prevents building of this package./src/lib
directory.npm install
that will return linter errors of the format:/Users/primary/Projects/weifund-project/weifund-contracts/internals/scripts/testContributionEthjs.js
4:27 error Unable to resolve path to module '../../src/lib/contracts.json' import/no-unresolved
I was able to partially resolve the issue with this change: maurelian@3ada2fd, which moves linting and (most) testing to after the build steps.
After the previous fix above:
npm install
Error: while writting output JSON file ./src/lib/contracts.json: Error: ENOENT: no such file or directory, open '/Users/primary/temp/weifund-contracts/src/lib/contracts.json'
Error: while writting output JSON file ./src/lib/contracts.json: Error: ENOENT: no such file or directory, open '/Users/primary/temp/weifund-contracts/src/lib/contracts.json'
at fs.writeFile (/Users/primary/temp/weifund-contracts/node_modules/wafr/bin/wafr.js:54:13)
at fs.js:1305:7
at FSReqWrap.oncomplete (fs.js:123:15)
I can get past this just by running mkdir lib
. but then I run into an issue with this import:
https://github.com/weifund/weifund-contracts/blob/master/src/index.js#L2
Possible solution: Maybe everyone already working on this has some files in /src/lib/ that haven't been checked in since updates were made to the gitignore file?
On OS X 10.12.2, without the full xcode installed I get:
> node-gyp rebuild
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.