Open
Description
โ Prerequisites
- [yes] Did you perform a cursory search of open issues? Is this bug already reported elsewhere?
- [yes] Are you running the latest SDK version?
- [yes] Are you reporting to the correct repository (
magic-sdk
)?
๐ Description
The following fails during compile:
import { HarmonyExtension } from "@magic-ext/harmony";
๐งฉ Steps to Reproduce
- Create a regular webpack project
- Use yarn 3 in pnp strict mode
- Install @magic-ext/[email protected]
- Attempt to import it with
import { HarmonyExtension } from "@magic-ext/harmony";
๐ค Expected behavior
The project should compile and import the harmony extension properly.
๐ฎ Actual behavior
Error:
"Module not found: Error: Can't resolve '@magic-ext/harmony' in ..."
or
"Package path ./dist/es/index.js is not exported from package /.yarn/cache/@magic-ext-harmony-npm-3.1.0-7d7316d909-47169ad610.zip/node_modules/@magic-ext/harmony/ (see exports field in..."
๐ป Code Sample
N/A
๐ Environment
Software | Version(s) |
---|---|
@magic-ext/harmony |
3.1.0 |
magic-sdk |
8.0.1 |
Browser | Brave |
yarn |
3.1.1 |
Operating System | Mac |