Cannot find package '@babel/types' when using pnpm
jtsang4 opened this issue · comments
When use untyped of latest version(0.4.2) with pnpm, because @babel/types
is devDependencies
, it won't be installed, but it is used in the dist file: link, then this error occurs:
Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@babel/types' imported from workspace/node_modules/.pnpm/untyped@0.4.2/node_modules/untyped/dist/babel.mjs