I created a new template yesterday (15 Aug 2017) and after installing all the frontend dependencies using npm install when I run npm start I get a lot of errors such as:
Module not found: Error: Can't resolve '#shared/session/app-session.service'
Module not found: Error: Can't resolve '#shared/app-component-base'
Module not found: Error: Can't resolve '#shared/service-proxies/service-proxies'
Module not found: Error: Can't resolve '#abp/multi-tenancy/abp-multi-tenancy.service'
Module not found: Error: Can't resolve '#abp/settings/setting.service'
Module not found: Error: Can't resolve '#abp/notify/notify.service'
Module not found: Error: Can't resolve '#abp/features/feature-checker.service'
Module not found: Error: Can't resolve '#abp/localization/localization.service'
If I look in node_modules I see I do have the abp-ng2-module and abp-web-resources folders.
I think there's one or more dependencies missing from the template.
delete node_modules folder and install with yarn
Related
When running flutter build IPA, this error occurs:
Parse Issue (Xcode): Module 'survey-kit' not found
~/ios/Runner/GeneratedPluginRegistratant.m:47:8
Encountered error while archiving for device.
Where the error is located there is an #import survey-kit command:
Where the error is
For some reason, it is having a problem finding survey_kit, yet the rest of the imports it can find. Here is survey_kit next to all of the other modules:
survey_kit
What could be the reason for the import command not being able to find survey_kit specifically?
I'm trying to build gcc 7.2.0. I get this error:
fatal error: gnu/stubs-32.h: No such file or directory
I don't have root access or sudo access on this machine so I cannot use apt. What source package can I install that will resolve this?
Try installing glibc-devel, see https://www.question-defense.com/2010/03/09/usrincludegnustubs-h727-error-gnustubs-32-h-no-such-file-or-directory and https://stackoverflow.com/a/7412698/6723250.
When I run npm run dev in the terminal I get the following message:
ERROR in ./resources/js/components/ExampleComponent.vue
Module build failed (from ./node_modules/vue-loader/lib/index.js):
Error: [vue-loader] vue-template-compiler must be installed as a peer dependency, or a compatible compiler implementation must be passed via options.
at loadTemplateCompiler (/portal/node_modules/vue-loader/lib/index.js:21:11)
at Object.module.exports (
(/portal/node_modules/vue-loader/lib/index.js:65:35)
# ./resources/js/app.js 19:35-79
# multi ./resources/js/app.js ./resources/sass/app.scss
Can anyone tell me what this error means and how do I fix it?
I tried to run this command in the terminal, but I am still getting the error.
The command: npm i -D vue-template-compiler
I have also tried to reinstall all of my dependencies, but that didnt work either.
I am facing issue while using the following command
npm run production
after execute following command i see following error
ERROR Failed to compile with 5 errors
error in ./resources/assets/sass/app.scss
Module build failed: ModuleBuildError: Module build failed: TypeError: Cannot read property 'map' of undefined
at preparePluginsArray (E:\wamp\www\smm.yasmalik.com\node_modules\svgo\lib\svgo\config.js:64:20)
at module.exports (E:\wamp\www\smm.yasmalik.com\node_modules\svgo\lib\svgo\config.js:32:28)
at new module.exports (E:\wamp\www\smm.yasmalik.com\node_modules\svgo\lib\svgo.js:21:19)
at E:\wamp\www\smm.yasmalik.com\node_modules\postcss-svgo\dist\index.js:95:16
at Object.creator [as postcssSvgo] (E:\wamp\www\smm.yasmalik.com\node_modules\postcss-svgo\node_modules\postcss\lib\postcss.js:150:35)
at E:\wamp\www\smm.yasmalik.com\node_modules\cssnano\dist\index.js:295:40
at Array.forEach (<anonymous>)
at E:\wamp\www\smm.yasmalik.com\node_modules\cssnano\dist\index.js:282:29
at creator (E:\wamp\www\smm.yasmalik.com\node_modules\cssnano\node_modules\postcss\lib\postcss.js:150:35)
at processCss (E:\wamp\www\smm.yasmalik.com\node_modules\css-loader\lib\processCss.js:199:16)
It was issue with my node_modules folder. there were some extra useless packages so simply i just deleted node_modules and install it again with following commands
Step 1
Delete node_modules manually
Step 2
Install the node_modules folder again:
npm i
Step 3
Update existing packages
npm update
That's it!
Probably you have some conflicts with versions of some npm packages.
Try to reinstall npm:
rm -rf node_modules
npm install
I have tried to installed django-crispy-forms ;however, i got this error: ImportError: No module named 'crispy_forms'
Ps. i needed to install with -sudo..
thank you