ericclemmons / click-to-component

Option+Click React components in your browser to instantly open the source in VS Code
MIT License
1.94k stars 75 forks source link

1.1.2 It will generate an error message. Going back to 1.1.0 is necessary to resolve it #95

Open gaoobin opened 5 days ago

gaoobin commented 5 days ago

Describe the bug 我的antdpro项目重新安装后启动报错:fatal - Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in /Users/xxx/dev/workspace/xxxx/xxxx/node_modules/click-to-react-component/package.json at exportsNotFound (node:internal/modules/esm/resolve:304:10) at packageExportsResolve (node:internal/modules/esm/resolve:594:13) at resolveExports (node:internal/modules/cjs/loader:634:36) at Module._findPath (node:internal/modules/cjs/loader:724:31) at Module._resolveFilename (node:internal/modules/cjs/loader:1211:27)

nullCode666 commented 3 days ago

image add this