Skip to content

Change to pnpm from yarn - #115

Open
sehilyi wants to merge 5 commits into
mainfrom
sehilyi/deps
Open

Change to pnpm from yarn#115
sehilyi wants to merge 5 commits into
mainfrom
sehilyi/deps

Conversation

@sehilyi

@sehilyi sehilyi commented Jun 12, 2025

Copy link
Copy Markdown
Member
  • change to pnpm from yarn
  • update README and Workflow

@sehilyi

sehilyi commented Jun 12, 2025

Copy link
Copy Markdown
Member Author

Hmm, an error occurs when importing gosling.js.

Code:

const { validateGoslingSpec, GoslingComponent } = require("gosling.js");

Error Message:

Module not found: Error: Package path . is not exported from package /Users/sehilyi/Documents/hms-dbmi/gosling/gosling-website/node_modules/gosling.js (see exports field in /Users/sehilyi/Documents/hms-dbmi/gosling/gosling-website/node_modules/gosling.js/package.json)

Package.json:

"exports": {
  ".": {
    "types": "./dist/src/index.d.ts",
    "import": "./dist/gosling.js"
  },
  "./utils": {
    "types": "./dist/src/exported-utils.d.ts",
    "import": "./dist/utils.js"
  },
  "./compiler": {
    "types": "./dist/src/exported-compiler.d.ts",
    "import": "./dist/compiler.js"
  }
},

I can confirm that all files exist as specified in the package.json.

@sehilyi sehilyi changed the title Change to PNPM from Yarn Change to pnpm from yarn Jun 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant