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

when we run "npm run dev" its shows Can't resolve '~/store' #330

Open
shahrukh-planet01 opened this issue Dec 6, 2021 · 0 comments
Open

Comments

@shahrukh-planet01
Copy link

shahrukh-planet01 commented Dec 6, 2021

I'm deploying my project on AWS EC2 instance ubuntu 18.8 where I'm getting this error when I run the command to create production build.

npm run dev

ERROR in ./resources/js/Components/App.vue?vue&type=script&lang=js& (./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/Components/App.vue?vue&type=script&lang=js&) 25:21-68
Module not found: Error: Can't resolve '~/layouts' in '/var/www/html/rapid-remit-laravel/resources/js/Components'

ERROR in ./resources/js/Middleware/admin.js 1:0-28
Module not found: Error: Can't resolve '~/store' in '/var/www/html/rapid-remit-laravel/resources/js/Middleware'

ERROR in ./resources/js/Middleware/auth.js 7:0-28
Module not found: Error: Can't resolve '~/store' in '/var/www/html/rapid-remit-laravel/resources/js/Middleware'

ERROR in ./resources/js/Middleware/check-auth.js 7:0-28
Module not found: Error: Can't resolve '~/store' in '/var/www/html/rapid-remit-laravel/resources/js/Middleware'

ERROR in ./resources/js/Middleware/guest.js 1:0-28
Module not found: Error: Can't resolve '~/store' in '/var/www/html/rapid-remit-laravel/resources/js/Middleware'

ERROR in ./resources/js/Middleware/locale.js 7:0-28
Module not found: Error: Can't resolve '~/store' in '/var/www/html/rapid-remit-laravel/resources/js/Middleware'

ERROR in ./resources/js/Middleware/role.js 1:0-28
Module not found: Error: Can't resolve '~/store' in '/var/www/html/rapid-remit-laravel/resources/js/Middleware'

webpack compiled with 7 errors

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