Nativescript vue webpack configaration missing - nativescript-vue

I;m beginner to nativescript-vue. When i initiate my project with following command tns run android it will occur below error
The webpack configuration file /home/camilus/laravel/vue-native/drawer/webpack.config.js does not exist. Ensure you have such file or set correct path in nsconfig.json
So could you please solve this issue.

Related

vscode testing with pytest for dockerized Django project

i want to debug my tests in vscode for my Django project witch is set up in a docker container but the problem is it always says pytest discovery error,
sometimes it seems to not be able to import modules(for example models) inside the test file and after some configuration it seems to not find the test file itself. all the folders of my project have an init.py file so everything is treated as a package, by the way there is no problem importing modules in my Django project.
the odd thing is when I run pytest inside of my docker container it works fine but I want to debug the tests.
i am fairly new to this so any help would be welcomeenter image description here
I enabled pytest in the .vscode/settings.jsonenter image description here file as some other settings
I tried also creating a .env file with PYTHONPATH in it to my root folder cause every tutorial I found work with a virtual environment and not a docker container

How to fix this error in geonode

when we run this command :
:/usr/local/lib/python2.7/dist-packages/geonode/locale/si/LC_MESSAGES# geonode makemessages --all
Get this error message :
CommandError: This script should be run from the Django Git tree or
your project or app tree. If you did indeed run it from the Git
checkout or your project or application, maybe you are just missing
the conf/locale (in the django tree) or locale (for project and
application) directory? It is not created automatically, you have to
create it by hand if you want to enable i18n for your project or
application.
could you please help for me to solve this problem...

Hosting Ember-CLI app on Parse.com

This is a follow-up question to Ember.js app, Parse throws 404 for any path but root:
I have built an Ember-CLI app that I now want to host on Parse.com.
I can't figure out how to actually run the app server on Parse. I confess I don't understand how to serve an Ember-CLI in production from any server.
Do I run "ember server" on Parse somehow or do I need to make my own Express server for this to work?
Run parse new in some temp folder to create the correct config files for your existing parse app
Edit .ember-cli file and add "output-path" : "dist/public" to deploy your code to dist/public
Copy the folders code and config from your temp folder in step 1 to dist/code and dist/config
In a terminal window cd dist and parse deploy
Edit environment.js in your ember config folder and change locationType to hash

Running the dummy app in an Ember addon project can't find app/styles/app.less

I'm trying to test an Ember addon project by running ember server inside an addon project. This runs the dummy app. However I am not getting my less files automatically being build with the ember-cli-less functionality (expecting /app/styles/app.less):
Some files I have:
/addon-project
/app
/styles
/less
app.less
/dist
/assets
dummy.js
dummy.css
/tests
/dummy
However I am getting an error when I run ember server:
version: 0.1.15
Could not find watchman, falling back to NodeWatcher for file system events
Livereload server on port 35730
Serving on http://0.0.0.0:4201/
File not found: /app/styles/app.less
in any of the following include paths:
/Users/me/github/ember-addons/header/tmp/tree_merger-tmp_dest_dir-qEC1hODR.tmp
Error: File not found: /app/styles/app.less
You should try moving the "app.less" file up one level (out of your less folder so that it is in the "styles" folder).

Pycharm runserver error with custom settings.py files

just started using pycharm on a existing project, and having difficulty using the run/debug configurations in order to run the test server. The issue stems from their being no settings.py module as standard in django projects. Instead there is settings_base.py and then two different settings modules (settings_live.py and settings_test.py) that extend it by using 'from settings_base import *'. This causes manage.py to fail when running runserver because it can't find settings.py.
In the Django Support settings I have set the project root, and set Settings to settings_test.py however this has not helped. In the Django server run configuration I have setup I also have...
DJANGO_SETTINGS_MODULE=settings_test
... in the Environment Variables section. However when I use runserver it still says
Error: Can't find the file 'settings.py' in the directory containing '/home/pete/Projects/the_project/manage.py'. It appears you've customized things.
You'll have to run django-admin.py, passing it your settings module.
(If the file settings.py does indeed exist, it's causing an ImportError somehow.)
I tried wrapping the entire settings_test.py module in a try/except to see if it really was an import error, however it did not seem to work. Is there something I am missing?
Maybe you should try adding --settings=settings_test to the "Additional options" in your PyCharm Run configuration and make sure that "Working directory" points to correct path.