You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering an issue while trying to import a 3rd-party package using the following import statement:
import{xxx}from'xxx:xxxx';
which results in the following error:
馃巵 error '@gnohj/custom-package' 'xxx:xxxx' is imported by "src/index.ts" but the package is not specified in dependencies or peerDependencies
This 3rd-party package is correctly listed as a dependency in the package.json file of my shared package.
I've tried configuring tsconfig.json paths and using the imports field in package.json, but I haven't been able to resolve this issue successfully. I have a workaround to ignore the error, but a native solution would be better! Any guidance or insights would be greatly appreciated!
The text was updated successfully, but these errors were encountered:
I'm encountering an issue while trying to import a 3rd-party package using the following import statement:
which results in the following error:
This 3rd-party package is correctly listed as a dependency in the
package.json
file of my shared package.I've tried configuring
tsconfig.json
paths and using the imports field inpackage.json
, but I haven't been able to resolve this issue successfully. I have a workaround to ignore the error, but a native solution would be better! Any guidance or insights would be greatly appreciated!The text was updated successfully, but these errors were encountered: