nd-roy / loopback-mixin-complexity Goto Github PK
View Code? Open in Web Editor NEWLoopback string validation
Home Page: https://www.npmjs.com/package/loopback-mixin-complexity
Loopback string validation
Home Page: https://www.npmjs.com/package/loopback-mixin-complexity
Hello,
I'm getting the below error:
ReferenceError: [BABEL] src/index.js: Unknown option: foreign.define. Check out http://babeljs.io/docs/usage/options/
During the installation process
When trying to install the project, I am getting this error. My node version is v6.10.2
npm ERR! Darwin 16.7.0
npm ERR! argv "/Users/shahwarcoder/.nvm/versions/node/v6.10.2/bin/node" "/Users/shahwarcoder/.nvm/versions/node/v6.10.2/bin/npm" "run" "build"
npm ERR! node v6.10.2
npm ERR! npm v3.10.10
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] build: `babel src --source-maps --out-dir dist`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] build script 'babel src --source-maps --out-dir dist'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the string-complexity package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! babel src --source-maps --out-dir dist
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs string-complexity
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls string-complexity
npm ERR! There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
Do I need to download babel locally to install this package?
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.