-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Describe the bug
I ran via the instructions to analyze a react app, which failed with the error: "Error: Cannot find module 'core-js'"
To Reproduce
Steps to reproduce the behavior:
yarn global add @code-dependency/[email protected]- `code-dependency --source src
- fails with an error (see stack below)
Expected behavior
No error
Environment
node 14.18.0
macos
Additional context
I didn't dig into the details, but globally installing core-js did it for me.
Perhaps it should be a peer dependency?
Stack:
Error: Cannot find module 'core-js'
Require stack:
- /Users/<>/.config/yarn/global/node_modules/@code-dependency/view/lib/application.lib.js
- /Users/<>/.config/yarn/global/node_modules/@code-dependency/cli/dist/index.js
- /Users/<>/.config/yarn/global/node_modules/@code-dependency/cli/bin/code-dependency.js
yuki-seike, junseinagao, macinjoke, bmkmanoj, nkgrnkgr and 4 more
Metadata
Metadata
Assignees
Labels
No labels