Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

npm mithril + ospec binary conflict #2794

Open
Assignees
dead-claudia
Labels
Area: CoreFor anything dealing with Mithril core itselfArea: WorkflowFor anything dealing with Mithril's internal tooling, including the mocks and bundler, but not ospecType: BugFor bugs and any other unexpected breakage
@barneycarroll

Description

@barneycarroll

Following on from the discussionstarting here in the chat.

Mithril's internal ospec is deprecated andconsole.warns to this effect on execution, recommending the canonical npm install ofospec. However, installing this as directed doesn't override Mithril's binary path binding for its internal ospec. From my tests, whichever is installed first, installing bothmithril &ospec always results in the Mithril's ospec binding taking precedence;@orbitbot says he is able to get ospec to take precedence based on installation sequence, but I couldn't replicate.

The issue of conflicting binary path registrations in npm package dependencies has been raised at least a couple of times (npm#7130 &npm#9040) but the trail has run cold seemingly without resolution.

I've raised a discussion on the npm Github org feedback site – but maybe I ought to revive one of the issues above or file a new one?

In the meantime we might be able to advise a hack to account for the current deprecation warning's failure. 🤔

Metadata

Metadata

Assignees

Labels

Area: CoreFor anything dealing with Mithril core itselfArea: WorkflowFor anything dealing with Mithril's internal tooling, including the mocks and bundler, but not ospecType: BugFor bugs and any other unexpected breakage

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2026 Movatter.jp