Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot resolve dependency 'react' #117

Open
wikipurse opened this issue Jun 14, 2020 · 0 comments
Open

Cannot resolve dependency 'react' #117

wikipurse opened this issue Jun 14, 2020 · 0 comments

Comments

@wikipurse
Copy link

root@ubuntu:/home/work/scylla# make assets-build
make assets-clean
make[1]: Entering directory '/home/work/scylla'
rm -rf scylla/assets
rm -rf build/lib/scylla/assets
rm -rf dist/scylla/scylla/assets
make[1]: Leaving directory '/home/work/scylla'
NODE_ENV=production parcel build --public-url='/assets' -d scylla/assets frontend/src/index.html
🚨 /home/work/scylla/frontend/src/index.tsx:13:33: Cannot resolve dependency 'react'
at Resolver.resolve (/usr/local/lib/node_modules/parcel-bundler/src/Resolver.js:71:17)
at
Makefile:15: recipe for target 'assets-build' failed
make: *** [assets-build] Error 1

react 已经安装 为何还报错

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant