Unspecified dependencies in package.json
See original GitHub issueWhile switching from yarn
to npm
due to performance issues with Docker I ran into some dependency problems:
Module not found: Error: Can't resolve 'react-fast-compare' in '/home/node/admin/node_modules/@camberi/firecms/dist'
Module not found: Error: Can't resolve '@uiw/react-markdown-preview' in '/home/node/admin/node_modules/@camberi/firecms/dist'
Module not found: Error: Can't resolve '@firebase/auth' in '/home/node/admin/node_modules/@camberi/firecms/dist'
Module not found: Error: Can't resolve '@mui/base' in '/home/node/admin/node_modules/@camberi/firecms/dist'
It seems that those packages are not installed but imported/used by firecms. For example here or here. Does anyone know why this problem appeared while switching from yarn
to npm
? And why are the dependencies are not specified in the package.json
file in the first place?
Issue Analytics
- State:
- Created a year ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
'lerna add' creates dependency on '^undefined' tag if package ...
Start w/a simple lerna repro · Remove "version" filed from one package's package.json · Add a new dependency via 'npx lerna add foo...
Read more >depcheck - npm
The dependency underscore is declared in the package.json file, but not used by any code. The devDependency jasmine is declared in the package....
Read more >Local dependency in package.json - Stack Overflow
The downside of installing local packages with "npm link" is that you get a lot of module duplication. When you list your dependencies...
Read more >Are you sure what packages you're using are in package.json?
Phantom dependencies are packages that are not defined in package.json. using-undefined-package. Let's see the example, there is one dependency ...
Read more >Cannot install dependencies in package.json Heroku & Github ...
My log for deployment: -----> Node.js app detected -----> Creating runtime environment NPM_CONFIG_LOGLEVEL=error NODE_ENV=debug…
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for looking into this so quickly🙏 Everything works now as expected for me.
Feel free to close this.
Hi guys, we have made a bunch of dependency fixes in the latest
2.0.0-alpha.28
version. I have done some testing and it seems to work fine with npm and yarn 3. Let me know if you are still facing issues, also keep in mind you should now remove@mui/styles
from your dependencies