Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

[ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in package.json #4138

@Schwartz10

Description

@Schwartz10
  • Version:

0.63.3

  • Platform:

Darwin MacBook-Pro.local 20.6.0 Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:21 PDT 2021; root:xnu-7195.141.6~3/RELEASE_X86_64 x86_64

Severity:

High - The main functionality of the application does not work, API breakage, repo format breakage, etc.

Description:

I've been trying to get a simple typescript nodejs project to import dependencies from ipfs on npm, but always results in

[ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in package.json

This sounds related to #4135 and https://discuss.ipfs.io/t/ts-ipfs-core-example-v0-15-0-causes-error-opposed-to-v0-14-0/14460

Steps to reproduce the error:

Clone this repo, npm i, and npm start

Metadata

Metadata

Assignees

No one assigned

    Labels

    need/triageNeeds initial labeling and prioritization

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions