LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-17-2017, 04:18 PM   #1
Panicked
LQ Newbie
 
Registered: Jun 2017
Posts: 21

Rep: Reputation: Disabled
Dependency not found: opts


This is a problem managing npm package dependencies?

> node app.js
Error: Dependency not found: opts
at Injector.resolve (bogart-injector/lib/injector.js)

> npm list
opts@1.2.6 extraneous
npm ERR! extraneous opts@1.2.6 home/_/node_modules/opts

Apparently an extraneous error means surplus to requirements. Not sure why being a surplus should be an error and not a warning? The reason the dependency is surplus to requirements is because the authors of bogart have not added 'opts' to their project dependencies - and checking their source, they do not make any calls to 'opts'!

One confusion is: how and why is Node unable to find the package it claims is installed? Another confusion is: why is Node making a dependency of something that is not called?

Edit: Executed the bogart tests from github and encountered the same error, so maybe bogart only works with old versions of Node?

Last edited by Panicked; 06-18-2017 at 07:26 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installed dependency not found - scons related Jongi Linux - Software 2 02-28-2007 02:38 PM
kernel opts ravi.xolve Linux - General 1 07-26-2006 12:41 PM
wireless.opts? fictos Debian 3 08-24-2005 07:38 AM
config.opts and/or wireless.opts for RH7.3 using LinkSys (orinoco_cs) to Apple AirPor zeus_sd Linux - Laptop and Netbook 4 08-04-2003 11:35 PM
configuring wireless.opts tommylkc Linux - Hardware 1 06-28-2002 12:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration