aam229 / local-dependencies Goto Github PK
View Code? Open in Web Editor NEWInstall and watch local npm dependencies
Install and watch local npm dependencies
When running the command configure-dependencies, I do get the following errors:
I am using npm version 5.0.3
BigBox:checklist ed$ npm run configure-dependencies
[email protected] configure-dependencies /Users/ed/Develop/Projecten/CodeRepo/Bydehand/bdh-checklist/bdh-checklist-front/checklist
configure-local-dependencies
? Enter the path to your project (checklist) (node:89756) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'then' of undefined
(node:89756) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
? Enter the path to your project (checklist) /Users/ed/Develop/Projecten/CodeRepo/Bydehand/bdh-checklist/bdh-checklist-front/checklist
readline.js:982
throw err;
^
TypeError: cb is not a function
at module.exports (/Users/ed/Develop/Projecten/CodeRepo/Bydehand/bdh-checklist/bdh-checklist-front/checklist/node_modules/run-async/index.js:23:5)
at PathPrompt.Prompt.filter (/Users/ed/Develop/Projecten/CodeRepo/Bydehand/bdh-checklist/bdh-checklist-front/checklist/node_modules/inquirer-path/node_modules/inquirer/lib/prompts/base.js:128:3)
at PathPrompt. (/Users/ed/Develop/Projecten/CodeRepo/Bydehand/bdh-checklist/bdh-checklist-front/checklist/node_modules/inquirer-path/node_modules/inquirer/lib/prompts/base.js:56:10)
at PathPrompt.onFinish (/Users/ed/Develop/Projecten/CodeRepo/Bydehand/bdh-checklist/bdh-checklist-front/checklist/node_modules/inquirer-path/lib/PathPrompt.js:328:12)
at /Users/ed/Develop/Projecten/CodeRepo/Bydehand/bdh-checklist/bdh-checklist-front/checklist/node_modules/inquirer-path/lib/PathPrompt.js:314:18
at module.exports (/Users/ed/Develop/Projecten/CodeRepo/Bydehand/bdh-checklist/bdh-checklist-front/checklist/node_modules/run-async/index.js:23:5)
at PathPrompt.Prompt.filter (/Users/ed/Develop/Projecten/CodeRepo/Bydehand/bdh-checklist/bdh-checklist-front/checklist/node_modules/inquirer-path/node_modules/inquirer/lib/prompts/base.js:128:3)
at PathPrompt.onSuccess (/Users/ed/Develop/Projecten/CodeRepo/Bydehand/bdh-checklist/bdh-checklist-front/checklist/node_modules/inquirer-path/lib/PathPrompt.js:290:12)
at /Users/ed/Develop/Projecten/CodeRepo/Bydehand/bdh-checklist/bdh-checklist-front/checklist/node_modules/inquirer-path/lib/PathPrompt.js:222:18
at module.exports (/Users/ed/Develop/Projecten/CodeRepo/Bydehand/bdh-checklist/bdh-checklist-front/checklist/node_modules/run-async/index.js:23:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] configure-dependencies: configure-local-dependencies
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] configure-dependencies script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/ed/.npm/_logs/2017-06-15T15_40_08_176Z-debug.log
B
Hi
I really appreciate this plugin, because npm link
is crap.
Unfortunately, local-dependencies
stopped working after two days. The linked local package was suddenly not linked any more. So I deleted the .ldrc
file and re-run configure-local-dependencies
. After specifying the project path and the local dependency path of my linked package, the list where I can choose which package should be installed and watched was empty. I tried absolute path and relative path, both not working. So I decided to create the .ldrc
file manually and run install-local-dependencies
, but with no success. The local package seems to be linked, but the dependencies are not installed. Every time I run my code, errors about missing required modules of my linked package are thrown.
My installed version is 1.0.0-beta3
, I'm running on Mac OS X 10.11.6 with Node.js 8.11.1 and npm 5.6.0.
The Readme file talks about local-children instead of local-dependencies.
Shouldn't it be local-dependencies?
Also the script commands are different then the ones used in the text.
Every time I use the configure-local-dependencies the generated .ldrc file is being generated as a blank file.
Can you give us an example of a manual configuration of this file?
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.