Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

npm:<package> should skip failed optional dependency #657

Open
2 tasks done
unional opened this issue Aug 9, 2016 · 1 comment
Open
2 tasks done

npm:<package> should skip failed optional dependency #657

unional opened this issue Aug 9, 2016 · 1 comment

Comments

@unional
Copy link
Member

unional commented Aug 9, 2016

Prerequisites

Please first check README. There are breaking changes from 0.x to 1.0

  • Did you check the FAQ?
  • Did you search open and closed issues to see if your issue has already been reported?

Description

For example, like in npm:

npm WARN optional Skipping failed optional dependency /chokidar/fsevents:                                                           
npm WARN notsup Not compatible with your operating system or architecture: [email protected]                                          
npm WARN optional Skipping failed optional dependency /onchange/chokidar/fsevents:                                                  
npm WARN notsup Not compatible with your operating system or architecture: [email protected] 

When I run:

npm i ava

# to solve resolution issue in "classic" mode
typings i npm:ava

# error:
typings ERR! message Unable to resolve "npm:fsevents" from "fsevents" 
@unional
Copy link
Member Author

unional commented Nov 11, 2016

UPDATE: in 2.0 the error is:

npm i ava
typings i npm:ava

typings ERR! message Circular dependency detected using ".../node_modules/babel-register/package.json"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant