-
Notifications
You must be signed in to change notification settings - Fork 1.9k
ERR_PACKAGE_PATH_NOT_EXPORTED with @modelcontextprotocol/express #1858
Copy link
Copy link
Open
Labels
P2Moderate issues affecting some users, edge cases, potentially valuable featureModerate issues affecting some users, edge cases, potentially valuable featurebugSomething isn't workingSomething isn't workingpotentially closeBot recommends closing — needs maintainer reviewBot recommends closing — needs maintainer reviewready for workEnough information for someone to start working onEnough information for someone to start working on
Metadata
Metadata
Assignees
Labels
P2Moderate issues affecting some users, edge cases, potentially valuable featureModerate issues affecting some users, edge cases, potentially valuable featurebugSomething isn't workingSomething isn't workingpotentially closeBot recommends closing — needs maintainer reviewBot recommends closing — needs maintainer reviewready for workEnough information for someone to start working onEnough information for someone to start working on
Type
Fields
Give feedbackNo fields configured for issues without a type.
Describe the bug
I am getting a
ERR_PACKAGE_PATH_NOT_EXPORTEDwith messageNo "exports" main defined in C:\Users\myusersmyproject\node_modules\@modelcontextprotocol\express\package.jsonwhen running the@modelcontextprotocol/expressexample as per the usage guide hereThis looks similar to #726 , #427
To Reproduce
Node version 24.14.1 LTS on Windows 11.
Project initialized with
verbatimModuleSyntaxcommented out in tsconfigExpected behavior
Having no error
Additional context
Dependencies: