Recently I exploring jitsi meet with the latest version, and I try to build the application.
But, after compiling makefile using make on Windows 10, I got an error '.' is not recognized as an internal or external command,operable program or batch file.
Here is error message while compiling:
> jitsi-meet-load-test#0.0.0 build
> webpack -p
[BABEL] Note: The code generator has deoptimised the styling of G:\Project\Digi46Meet\jitsi-meet-master\node_modules\lodash\lodash.js as it exceeds the max of 500KB.
Hash: e8ebfddcdcd744634d50
Version: webpack 4.43.0
Child
Hash: e8ebfddcdcd744634d50
Time: 29243ms
Built at: 02/22/2022 15:25:25
Asset Size Chunks Chunk Names
load-test-participant.min.js 221 KiB 0 [emitted] load-test-participant
load-test-participant.min.map 1.1 MiB 0 [emitted] [dev] load-test-participant
Entrypoint load-test-participant = load-test-participant.min.js load-test-participant.min.map
[4] G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/logging/LogTransport.web.js 0 bytes {0} [built]
[5] (webpack)/buildin/global.js 475 bytes {0} [built]
[12] (webpack)/buildin/amd-options.js 80 bytes {0} [built]
[13] (webpack)/buildin/module.js 546 bytes {0} [built]
[15] G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/lib-jitsi-meet/_.web.js 27 bytes {0} [built]
[16] ./load-test-participant.js + 28 modules 83.2 KiB {0} [built]
| ./load-test-participant.js 11.3 KiB [built]
| G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/util/parseURLParams.js 1.68 KiB [built]
| G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/util/uri.js 16.7 KiB [built]
| G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/config/functions.web.js 2.21 KiB [built]
| G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/lastn/functions.js 2.78 KiB [built]
| G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/config/constants.js 1.21 KiB [built]
| G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/util/helpers.js 5.59 KiB [built]
| G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/util/strings.web.js 631 bytes [built]
| G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/config/functions.any.js 8.73 KiB [built]
| G:/Project/Digi46Meet/jitsi-meet-master/react/features/video-quality/constants.js 755 bytes [built]
| G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/util/index.js 178 bytes [built]
| G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/config/configWhitelist.js 5.69 KiB [built]
| G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/config/interfaceConfigWhitelist.js 1.42 KiB [built]
| G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/config/logger.js 99 bytes [built]
| G:/Project/Digi46Meet/jitsi-meet-master/react/features/base/config/getRoomName.js 389 bytes [built]
| + 14 hidden modules
+ 11 hidden modules
./node_modules/.bin/webpack
'.' is not recognized as an internal or external command,
operable program or batch file.
make: *** [Makefile:23: compile] Error 1
Looks like your makefile is invoking cmd.exe as the shell, and it's not able to parse the POSIX-style paths like ./... that use forward slashes instead of backslashes as directory separators.
You'll either have to write your make recipes to use cmd.exe syntax, or else install a POSIX shell on your system somewhere that make can find it (or set the make SHELL variable to the path).
Related
I've been using Anaconda as my package manager but was unaware that it is recommended to install additional packages within virtual environments rather than globally. As a result, I've been installing all packages in my base environment by simply opening a terminal window and running commands such as:
pip3 install requests_html
conda install sklearn
This seemed to work fine for a while until I recently decided to try updating my packages. I tried running
conda update --all
which then provided a list of all the packages that will be updated. However, it also said that some packages will be downgraded instead, which after some googling seems to be due to version conflicts which is why environments are recommended.
Sample output:
Collecting package metadata (current_repodata.json): done
Solving environment: done
## Package Plan ##
environment location: /Users/mahuja/opt/anaconda3
The following packages will be downloaded:
package | build
---------------------------|-----------------
_anaconda_depends-2020.07 | py38_0 6 KB
anaconda-custom | py38_1 35 KB
anaconda-navigator-1.10.0 | py38_0 6.2 MB
anaconda-project-0.9.1 | pyhd3eb1b0_1 215 KB
appdirs-1.4.4 | py_0 13 KB
appnope-0.1.2 |py38hecd8cb5_1001 10 KB
argon2-cffi-20.1.0 | py38haf1e3a3_1 44 KB
asn1crypto-1.4.0 | py_0 80 KB
backports-1.0 | pyhd3eb1b0_2 210 KB
backports.functools_lru_cache-1.6.1| pyhd3eb1b0_0 12 KB
backports.shutil_get_terminal_size-1.0.0| pyhd3eb1b0_3 10 KB
backports.tempfile-1.0 | pyhd3eb1b0_1 11 KB
beautifulsoup4-4.9.3 | pyha847dfd_0 86 KB
bitarray-1.6.3 | py38h9ed2024_1 92 KB
black-19.10b0 | py_0 86 KB
bleach-3.2.2 | pyhd3eb1b0_0 113 KB
blosc-1.20.1 | hab81aa3_0 56 KB
bokeh-2.2.3 | py38_0 5.3 MB
brotli-1.0.9 | hb1e8313_2 398 KB
brotlipy-0.7.0 |py38h9ed2024_1003 331 KB
gevent-21.1.1 | py38h9ed2024_1 1.5 MB
giflib-5.1.4 | h1de35cc_1 59 KB
glib-2.66.1 | h9bbe63b_0 2.7 MB
glob2-0.7 | pyhd3eb1b0_0 12 KB
greenlet-0.4.17 | py38haf1e3a3_0 20 KB
idna-2.10 | pyhd3eb1b0_0 52 KB
imagecodecs-2021.1.11 | py38h2ea9c00_1 5.4 MB
importlib-metadata-2.0.0 | py_1 35 KB
importlib_metadata-2.0.0 | 1 11 KB
iniconfig-1.1.1 | pyhd3eb1b0_0 8 KB
intervaltree-3.1.0 | py_0 26 KB
ipykernel-5.3.4 | py38h5ca1d4c_0 180 KB
ipython-7.19.0 | py38h01d92e1_1 991 KB
ipython_genutils-0.2.0 | pyhd3eb1b0_1 27 KB
ipywidgets-7.6.3 | pyhd3eb1b0_1 105 KB
isort-5.6.4 | py_0 78 KB
jedi-0.17.2 | py38hecd8cb5_1 923 KB
jinja2-2.11.2 | pyhd3eb1b0_0 93 KB
joblib-1.0.0 | pyhd3eb1b0_0 208 KB
jsonschema-3.2.0 | py_2 47 KB
jupyter_client-6.1.7 | py_0 77 KB
jupyter_console-6.2.0 | py_0 26 KB
jupyter_core-4.7.0 | py38hecd8cb5_0 68 KB
jupyterlab-2.2.6 | py_0 3.4 MB
jupyterlab_pygments-0.1.2 | py_0 8 KB
jupyterlab_widgets-1.0.0 | pyhd3eb1b0_1 109 KB
jxrlib-1.1 | haf1e3a3_2 206 KB
matplotlib-base-3.3.2 | py38h181983e_0 5.1 MB
mkl_fft-1.2.0 | py38hc64f4ea_0 143 KB
mock-4.0.3 | pyhd3eb1b0_0 29 KB
more-itertools-8.6.0 | pyhd3eb1b0_0 40 KB
msgpack-python-1.0.1 | py38hf7b0b51_0 75 KB
mypy_extensions-0.4.3 | py38_0 9 KB
nbclient-0.5.1 | py_0 58 KB
nbconvert-6.0.7 | py38_0 483 KB
nbformat-5.1.2 | pyhd3eb1b0_1 68 KB
nest-asyncio-1.4.3 | pyhd3eb1b0_0 11 KB
networkx-2.5 | py_0 1.1 MB
nose-1.3.7 | pyhd3eb1b0_1006 128 KB
notebook-6.2.0 | py38hecd8cb5_0 4.1 MB
numba-0.51.2 | py38h6440ff4_1 3.1 MB
numexpr-2.7.2 | py38h16bde0e_0 120 KB
numpy-1.19.2 | py38h456fd55_0 21 KB
numpy-base-1.19.2 | py38hcfb5961_0 4.0 MB
numpydoc-1.1.0 | pyhd3eb1b0_1 42 KB
openjpeg-2.3.0 | hb95cd4c_1 281 KB
openpyxl-3.0.6 | pyhd3eb1b0_0 159 KB
openssl-1.1.1i | h9ed2024_0 2.2 MB
packaging-20.8 | pyhd3eb1b0_0 36 KB
pandas-1.2.1 | py38hb2f4e1b_0 8.3 MB
pandoc-2.11 | h0dc7051_0 10.8 MB
pandocfilters-1.4.3 | py38hecd8cb5_1 14 KB
path-15.0.1 | py38hecd8cb5_0 37 KB
path.py-12.5.0 | 0 4 KB
pathlib2-2.3.5 | py38hecd8cb5_2 38 KB
pathspec-0.7.0 | py_0 26 KB
pexpect-4.8.0 | pyhd3eb1b0_3 53 KB
pickleshare-0.7.5 | pyhd3eb1b0_1003 13 KB
pillow-8.1.0 | py38h5270095_0 590 KB
pip-20.3.3 | py38hecd8cb5_0 1.8 MB
pkginfo-1.7.0 | py38hecd8cb5_0 43 KB
prometheus_client-0.9.0 | pyhd3eb1b0_0 45 KB
prompt-toolkit-3.0.8 | py_0 248 KB
prompt_toolkit-3.0.8 | 0 12 KB
psutil-5.7.2 | py38haf1e3a3_0 341 KB
ptyprocess-0.7.0 | pyhd3eb1b0_2 17 KB
py-1.10.0 | pyhd3eb1b0_0 76 KB
pycurl-7.43.0.6 | py38hddc9c9b_0 66 KB
pydocstyle-5.1.1 | py_0 38 KB
pyerfa-1.7.1.1 | py38h9ed2024_1 296 KB
pygments-2.7.4 | pyhd3eb1b0_0 676 KB
pylint-2.6.0 | py38_0 438 KB
pyls-black-0.4.6 | hd3eb1b0_0 9 KB
pyls-spyder-0.3.0 | pyhd3eb1b0_0 10 KB
pyopenssl-20.0.1 | pyhd3eb1b0_1 49 KB
pyparsing-2.4.7 | pyhd3eb1b0_0 59 KB
pyrsistent-0.17.3 | py38haf1e3a3_0 89 KB
pytest-6.2.1 | py38hecd8cb5_0 427 KB
python-3.8.5 | h26836e1_1 20.6 MB
python-jsonrpc-server-0.4.0| py_0 12 KB
python-language-server-0.36.2| pyhd3eb1b0_0 41 KB
python-libarchive-c-2.9 | pyhd3eb1b0_0 46 KB
python.app-3 | py38h9ed2024_0 20 KB
pytz-2020.5 | pyhd3eb1b0_0 182 KB
pywavelets-1.1.1 | py38haf1e3a3_2 3.4 MB
pyyaml-5.4.1 | py38h9ed2024_1 165 KB
pyzmq-20.0.0 | py38h23ab428_1 405 KB
qtawesome-1.0.1 | py_0 757 KB
qtconsole-4.7.7 | py_0 96 KB
regex-2020.11.13 | py38h9ed2024_0 310 KB
requests-2.25.1 | pyhd3eb1b0_0 52 KB
ripgrep-12.1.1 | 0 1.3 MB
rope-0.18.0 | py_0 126 KB
scikit-image-0.17.2 | py38h81aa140_0 8.9 MB
scikit-learn-0.23.2 | py38h959d312_0 4.7 MB
scipy-1.5.2 | py38h2515648_0 13.3 MB
seaborn-0.11.1 | pyhd3eb1b0_0 212 KB
send2trash-1.5.0 | pyhd3eb1b0_1 14 KB
setuptools-51.3.3 | py38hecd8cb5_4 727 KB
singledispatch-3.4.0.3 | py_1001 12 KB
six-1.15.0 | py38hecd8cb5_0 27 KB
snowballstemmer-2.1.0 | pyhd3eb1b0_0 62 KB
sortedcollections-2.1.0 | pyhd3eb1b0_0 12 KB
sortedcontainers-2.3.0 | pyhd3eb1b0_0 26 KB
soupsieve-2.1 | pyhd3eb1b0_0 31 KB
sphinx-3.4.3 | pyhd3eb1b0_0 1.1 MB
sphinxcontrib-websupport-1.2.4| py_0 34 KB
spyder-4.2.0 | py38hecd8cb5_0 5.7 MB
spyder-kernels-1.10.1 | py38hecd8cb5_0 101 KB
sqlalchemy-1.3.21 | py38h9ed2024_0 1.5 MB
sqlite-3.33.0 | hffcf06c_0 1.3 MB
statsmodels-0.12.1 | py38h9ed2024_0 8.2 MB
sympy-1.7.1 | py38hecd8cb5_0 8.8 MB
tbb-2020.3 | h879752b_0 147 KB
tblib-1.7.0 | py_0 16 KB
terminado-0.9.2 | py38hecd8cb5_0 25 KB
three-merge-0.1.1 | pyhd3eb1b0_0 10 KB
tifffile-2021.1.14 | pyhd3eb1b0_1 126 KB
toolz-0.11.1 | pyhd3eb1b0_0 46 KB
tornado-6.1 | py38h9ed2024_0 585 KB
tqdm-4.55.1 | pyhd3eb1b0_0 77 KB
traitlets-5.0.5 | py_0 83 KB
typed-ast-1.4.2 | py38h9ed2024_1 183 KB
typing_extensions-3.7.4.3 | py_0 28 KB
ujson-4.0.2 | py38h23ab428_0 46 KB
unixodbc-2.3.9 | haf1e3a3_0 251 KB
urllib3-1.26.2 | pyhd3eb1b0_0 105 KB
watchdog-0.10.4 | py38h9ed2024_0 96 KB
wheel-0.36.2 | pyhd3eb1b0_0 33 KB
wrapt-1.11.2 | py38h9ed2024_0 45 KB
xlrd-2.0.1 | pyhd3eb1b0_0 90 KB
xlsxwriter-1.3.7 | py_0 108 KB
xlwings-0.21.4 | py38hecd8cb5_0 446 KB
zeromq-4.3.3 | hb1e8313_3 414 KB
zfp-0.5.5 | h23ab428_4 147 KB
zipp-3.4.0 | pyhd3eb1b0_0 15 KB
zope.event-4.5.0 | py38_0 209 KB
zope.interface-5.2.0 | py38h9ed2024_0 281 KB
------------------------------------------------------------
Total: 201.5 MB
The following NEW packages will be INSTALLED:
_anaconda_depends pkgs/main/osx-64::_anaconda_depends-2020.07-py38_0
appdirs pkgs/main/noarch::appdirs-1.4.4-py_0
argon2-cffi pkgs/main/osx-64::argon2-cffi-20.1.0-py38haf1e3a3_1
async_generator pkgs/main/noarch::async_generator-1.10-py_0
black pkgs/main/noarch::black-19.10b0-py_0
brotli pkgs/main/osx-64::brotli-1.0.9-hb1e8313_2
brunsli pkgs/main/osx-64::brunsli-0.1-h23ab428_0
charls pkgs/main/osx-64::charls-2.1.0-hb1e8313_2
giflib pkgs/main/osx-64::giflib-5.1.4-h1de35cc_1
imagecodecs pkgs/main/osx-64::imagecodecs-2021.1.11-py38h2ea9c00_1
iniconfig pkgs/main/noarch::iniconfig-1.1.1-pyhd3eb1b0_0
jupyterlab_pygmen~ pkgs/main/noarch::jupyterlab_pygments-0.1.2-py_0
jupyterlab_widgets pkgs/main/noarch::jupyterlab_widgets-1.0.0-pyhd3eb1b0_1
jxrlib pkgs/main/osx-64::jxrlib-1.1-haf1e3a3_2
lerc pkgs/main/osx-64::lerc-2.2.1-h23ab428_0
libaec pkgs/main/osx-64::libaec-1.0.4-hb1e8313_1
libdeflate pkgs/main/osx-64::libdeflate-1.7-h9ed2024_5
libllvm10 pkgs/main/osx-64::libllvm10-10.0.1-h76017ad_5
libwebp pkgs/main/osx-64::libwebp-1.0.1-hd73b212_0
libzopfli pkgs/main/osx-64::libzopfli-1.0.3-hb1e8313_0
mypy_extensions pkgs/main/osx-64::mypy_extensions-0.4.3-py38_0
nbclient pkgs/main/noarch::nbclient-0.5.1-py_0
nest-asyncio pkgs/main/noarch::nest-asyncio-1.4.3-pyhd3eb1b0_0
openjpeg pkgs/main/osx-64::openjpeg-2.3.0-hb95cd4c_1
pathspec pkgs/main/noarch::pathspec-0.7.0-py_0
pyerfa pkgs/main/osx-64::pyerfa-1.7.1.1-py38h9ed2024_1
pyls-black pkgs/main/noarch::pyls-black-0.4.6-hd3eb1b0_0
pyls-spyder pkgs/main/noarch::pyls-spyder-0.3.0-pyhd3eb1b0_0
three-merge pkgs/main/noarch::three-merge-0.1.1-pyhd3eb1b0_0
tifffile pkgs/main/noarch::tifffile-2021.1.14-pyhd3eb1b0_1
typed-ast pkgs/main/osx-64::typed-ast-1.4.2-py38h9ed2024_1
zfp pkgs/main/osx-64::zfp-0.5.5-h23ab428_4
The following packages will be UPDATED:
anaconda-navigator 1.9.12-py38_0 --> 1.10.0-py38_0
anaconda-project 0.8.4-py_0 --> 0.9.1-pyhd3eb1b0_1
appnope 0.1.0-py38_1001 --> 0.1.2-py38hecd8cb5_1001
asn1crypto pkgs/main/osx-64::asn1crypto-1.3.0-py~ --> pkgs/main/noarch::asn1crypto-1.4.0-py_0
astropy 4.0.1.post1-py38h01d97ff_1 --> 4.2-py38h9ed2024_0
attrs 19.3.0-py_0 --> 20.3.0-pyhd3eb1b0_0
autopep8 1.5.3-py_0 --> 1.5.4-py_0
babel 2.8.0-py_0 --> 2.9.0-pyhd3eb1b0_0
backports.shutil_~ pkgs/main/osx-64::backports.shutil_ge~ --> pkgs/main/noarch::backports.shutil_get_terminal_size-1.0.0-pyhd3eb1b0_3
beautifulsoup4 pkgs/main/osx-64::beautifulsoup4-4.9.~ --> pkgs/main/noarch::beautifulsoup4-4.9.3-pyha847dfd_0
bitarray 1.4.0-py38haf1e3a3_0 --> 1.6.3-py38h9ed2024_1
bleach 3.1.5-py_0 --> 3.2.2-pyhd3eb1b0_0
blosc 1.19.0-hab81aa3_0 --> 1.20.1-hab81aa3_0
bokeh 2.1.1-py38_0 --> 2.2.3-py38_0
brotlipy 0.7.0-py38haf1e3a3_1000 --> 0.7.0-py38h9ed2024_1003
ca-certificates 2020.6.24-0 --> 2021.1.19-hecd8cb5_0
certifi 2020.6.20-py38_0 --> 2020.12.5-py38hecd8cb5_0
cffi 1.14.0-py38hc512035_1 --> 1.14.4-py38h2125817_0
chardet 3.0.4-py38_1003 --> 4.0.0-py38hecd8cb5_1003
cloudpickle 1.5.0-py_0 --> 1.6.0-py_0
colorama 0.4.3-py_0 --> 0.4.4-pyhd3eb1b0_0
conda-build 3.20.0-py38_0 --> 3.21.4-py38hecd8cb5_0
conda-package-han~ 1.6.1-py38h1de35cc_0 --> 1.7.2-py38h22f3db7_0
cryptography 2.9.2-py38ha12b0ac_0 --> 3.3.1-py38hbcfaee0_0
cytoolz 0.10.1-py38h1de35cc_0 --> 0.11.0-py38haf1e3a3_0
dask 2.20.0-py_0 --> 2020.12.0-pyhd3eb1b0_0
dask-core 2.20.0-py_0 --> 2020.12.0-pyhd3eb1b0_0
dbus 1.13.16-h18a8e69_0 --> 1.13.18-h18a8e69_0
distributed 2.20.0-py38_0 --> 2021.1.0-py38hecd8cb5_0
expat 2.2.9-hb1e8313_2 --> 2.2.10-hb1e8313_2
filelock 3.0.12-py_0 --> 3.0.12-pyhd3eb1b0_1
flake8 3.8.3-py_0 --> 3.8.4-py_0
freetype 2.10.2-ha233b18_0 --> 2.10.4-ha233b18_0
fsspec 0.7.4-py_0 --> 0.8.3-py_0
gevent 20.6.2-py38haf1e3a3_0 --> 21.1.1-py38h9ed2024_1
glib 2.65.0-hc5f4afa_0 --> 2.66.1-h9bbe63b_0
greenlet 0.4.16-py38haf1e3a3_0 --> 0.4.17-py38haf1e3a3_0
importlib-metadata pkgs/main/osx-64::importlib-metadata-~ --> pkgs/main/noarch::importlib-metadata-2.0.0-py_1
importlib_metadata 1.7.0-0 --> 2.0.0-1
intervaltree 3.0.2-py_1 --> 3.1.0-py_0
ipykernel 5.3.2-py38h5ca1d4c_0 --> 5.3.4-py38h5ca1d4c_0
ipython 7.16.1-py38h5ca1d4c_0 --> 7.19.0-py38h01d92e1_1
ipython_genutils pkgs/main/osx-64::ipython_genutils-0.~ --> pkgs/main/noarch::ipython_genutils-0.2.0-pyhd3eb1b0_1
ipywidgets 7.5.1-py_0 --> 7.6.3-pyhd3eb1b0_1
isort pkgs/main/osx-64::isort-4.3.21-py38_0 --> pkgs/main/noarch::isort-5.6.4-py_0
jedi 0.17.1-py38_0 --> 0.17.2-py38hecd8cb5_1
joblib 0.16.0-py_0 --> 1.0.0-pyhd3eb1b0_0
jsonschema pkgs/main/osx-64::jsonschema-3.2.0-py~ --> pkgs/main/noarch::jsonschema-3.2.0-py_2
jupyter_client 6.1.6-py_0 --> 6.1.7-py_0
jupyter_console 6.1.0-py_0 --> 6.2.0-py_0
jupyter_core 4.6.3-py38_0 --> 4.7.0-py38hecd8cb5_0
jupyterlab 2.1.5-py_0 --> 2.2.6-py_0
keyring 21.2.1-py38_0 --> 21.8.0-py38hecd8cb5_0
kiwisolver 1.2.0-py38h04f5b5a_0 --> 1.3.0-py38h23ab428_0
lazy-object-proxy 1.4.3-py38h1de35cc_0 --> 1.4.3-py38h9ed2024_2
libxml2 2.9.10-h3b9e6c8_1 --> 2.9.10-h7cdb67c_3
llvmlite 0.33.0-py38ha11be7d_1 --> 0.34.0-py38h739e7dc_4
locket 0.2.0-py38_1 --> 0.2.1-py38hecd8cb5_1
lxml 4.5.2-py38h63b7cb6_0 --> 4.6.2-py38h26b266a_0
lz4-c 1.9.2-h0a44026_0 --> 1.9.3-h23ab428_0
matplotlib 3.2.2-0 --> 3.3.2-hecd8cb5_0
matplotlib-base 3.2.2-py38h5670ca0_0 --> 3.3.2-py38h181983e_0
mkl_fft 1.1.0-py38hc64f4ea_0 --> 1.2.0-py38hc64f4ea_0
mock 4.0.2-py_0 --> 4.0.3-pyhd3eb1b0_0
more-itertools 8.4.0-py_0 --> 8.6.0-pyhd3eb1b0_0
msgpack-python 1.0.0-py38h04f5b5a_1 --> 1.0.1-py38hf7b0b51_0
nbconvert 5.6.1-py38_1 --> 6.0.7-py38_0
nbformat 5.0.7-py_0 --> 5.1.2-pyhd3eb1b0_1
networkx 2.4-py_1 --> 2.5-py_0
nose pkgs/main/osx-64::nose-1.3.7-py38_1004 --> pkgs/main/noarch::nose-1.3.7-pyhd3eb1b0_1006
notebook 6.0.3-py38_0 --> 6.2.0-py38hecd8cb5_0
numba 0.50.1-py38h959d312_1 --> 0.51.2-py38h6440ff4_1
numexpr 2.7.1-py38hce01a72_0 --> 2.7.2-py38h16bde0e_0
numpy 1.18.5-py38h1da2735_0 --> 1.19.2-py38h456fd55_0
numpy-base 1.18.5-py38h3304bdc_0 --> 1.19.2-py38hcfb5961_0
numpydoc 1.1.0-py_0 --> 1.1.0-pyhd3eb1b0_1
openpyxl 3.0.4-py_0 --> 3.0.6-pyhd3eb1b0_0
openssl 1.1.1g-h1de35cc_0 --> 1.1.1i-h9ed2024_0
packaging 20.4-py_0 --> 20.8-pyhd3eb1b0_0
pandas 1.0.5-py38h959d312_0 --> 1.2.1-py38hb2f4e1b_0
pandoc 2.10-0 --> 2.11-h0dc7051_0
pandocfilters 1.4.2-py38_1 --> 1.4.3-py38hecd8cb5_1
path 13.1.0-py38_0 --> 15.0.1-py38hecd8cb5_0
path.py 12.4.0-0 --> 12.5.0-0
pathlib2 2.3.5-py38_1 --> 2.3.5-py38hecd8cb5_2
pexpect pkgs/main/osx-64::pexpect-4.8.0-py38_1 --> pkgs/main/noarch::pexpect-4.8.0-pyhd3eb1b0_3
pickleshare pkgs/main/osx-64::pickleshare-0.7.5-p~ --> pkgs/main/noarch::pickleshare-0.7.5-pyhd3eb1b0_1003
pillow 7.2.0-py38ha54b6ba_0 --> 8.1.0-py38h5270095_0
pip 20.1.1-py38_1 --> 20.3.3-py38hecd8cb5_0
pkginfo 1.5.0.1-py38_0 --> 1.7.0-py38hecd8cb5_0
prometheus_client 0.8.0-py_0 --> 0.9.0-pyhd3eb1b0_0
prompt-toolkit 3.0.5-py_0 --> 3.0.8-py_0
prompt_toolkit 3.0.5-0 --> 3.0.8-0
psutil 5.7.0-py38h1de35cc_0 --> 5.7.2-py38haf1e3a3_0
ptyprocess pkgs/main/osx-64::ptyprocess-0.6.0-py~ --> pkgs/main/noarch::ptyprocess-0.7.0-pyhd3eb1b0_2
py 1.9.0-py_0 --> 1.10.0-pyhd3eb1b0_0
pycurl 7.43.0.5-py38ha12b0ac_0 --> 7.43.0.6-py38hddc9c9b_0
pydocstyle 5.0.2-py_0 --> 5.1.1-py_0
pygments 2.6.1-py_0 --> 2.7.4-pyhd3eb1b0_0
pylint 2.5.3-py38_0 --> 2.6.0-py38_0
pyopenssl 19.1.0-py_1 --> 20.0.1-pyhd3eb1b0_1
pyrsistent 0.16.0-py38h1de35cc_0 --> 0.17.3-py38haf1e3a3_0
pytest 5.4.3-py38_0 --> 6.2.1-py38hecd8cb5_0
python 3.8.3-h26836e1_2 --> 3.8.5-h26836e1_1
python-jsonrpc-se~ 0.3.4-py_1 --> 0.4.0-py_0
python-language-s~ pkgs/main/osx-64::python-language-ser~ --> pkgs/main/noarch::python-language-server-0.36.2-pyhd3eb1b0_0
python.app 2-py38_10 --> 3-py38h9ed2024_0
pytz 2020.1-py_0 --> 2020.5-pyhd3eb1b0_0
pywavelets 1.1.1-py38h1de35cc_0 --> 1.1.1-py38haf1e3a3_2
pyyaml 5.3.1-py38haf1e3a3_1 --> 5.4.1-py38h9ed2024_1
pyzmq 19.0.1-py38hb1e8313_1 --> 20.0.0-py38h23ab428_1
qtawesome 0.7.2-py_0 --> 1.0.1-py_0
qtconsole 4.7.5-py_0 --> 0.11.1-pyhd3eb1b0_0
send2trash pkgs/main/osx-64::send2trash-1.5.0-py~ --> pkgs/main/noarch::send2trash-1.5.0-pyhd3eb1b0_1
setuptools 49.2.0-py38_0 --> 51.3.3-py38hecd8cb5_4
singledispatch pkgs/main/osx-64::singledispatch-3.4.~ --> pkgs/main/noarch::singledispatch-3.4.0.3-py_1001
snowballstemmer 2.0.0-py_0 --> 2.1.0-pyhd3eb1b0_0
sortedcollections 1.2.1-py_0 --> 2.1.0-pyhd3eb1b0_0
sortedcontainers 2.2.2-py_0 --> 2.3.0-pyhd3eb1b0_0
soupsieve 2.0.1-py_0 --> 2.1-pyhd3eb1b0_0
sphinx 3.1.2-py_0 --> 3.4.3-pyhd3eb1b0_0
sphinxcontrib-web~ 1.2.3-py_0 --> 1.2.4-py_0
spyder 4.1.4-py38_0 --> 4.2.0-py38hecd8cb5_0
spyder-kernels 1.9.2-py38_0 --> 1.10.1-py38hecd8cb5_0
sqlalchemy 1.3.18-py38haf1e3a3_0 --> 1.3.21-py38h9ed2024_0
sqlite 3.32.3-hffcf06c_0 --> 3.33.0-hffcf06c_0
statsmodels 0.11.1-py38haf1e3a3_0 --> 0.12.1-py38h9ed2024_0
sympy 1.6.1-py38_0 --> 1.7.1-py38hecd8cb5_0
tbb 2020.0-h04f5b5a_0 --> 2020.3-h879752b_0
tblib 1.6.0-py_0 --> 1.7.0-py_0
terminado 0.8.3-py38_0 --> 0.9.2-py38hecd8cb5_0
toolz 0.10.0-py_0 --> 0.11.1-pyhd3eb1b0_0
tornado 6.0.4-py38h1de35cc_1 --> 6.1-py38h9ed2024_0
tqdm 4.47.0-py_0 --> 4.55.1-pyhd3eb1b0_0
traitlets pkgs/main/osx-64::traitlets-4.3.3-py3~ --> pkgs/main/noarch::traitlets-5.0.5-py_0
typing_extensions 3.7.4.2-py_0 --> 3.7.4.3-py_0
ujson 1.35-py38h1de35cc_0 --> 4.0.2-py38h23ab428_0
unixodbc 2.3.7-h1de35cc_0 --> 2.3.9-haf1e3a3_0
urllib3 1.25.9-py_0 --> 1.26.2-pyhd3eb1b0_0
watchdog 0.10.3-py38haf1e3a3_0 --> 0.10.4-py38h9ed2024_0
wheel pkgs/main/osx-64::wheel-0.34.2-py38_0 --> pkgs/main/noarch::wheel-0.36.2-pyhd3eb1b0_0
xlrd 1.2.0-py_0 --> 2.0.1-pyhd3eb1b0_0
xlsxwriter 1.2.9-py_0 --> 1.3.7-py_0
xlwings 0.19.5-py38_0 --> 0.21.4-py38hecd8cb5_0
zeromq 4.3.2-hb1e8313_2 --> 4.3.3-hb1e8313_3
zipp 3.1.0-py_0 --> 3.4.0-pyhd3eb1b0_0
zope.event 4.4-py38_0 --> 4.5.0-py38_0
zope.interface 4.7.1-py38h1de35cc_0 --> 5.2.0-py38h9ed2024_0
The following packages will be SUPERSEDED by a higher-priority channel:
six pkgs/main/noarch::six-1.15.0-py_0 --> pkgs/main/osx-64::six-1.15.0-py38hecd8cb5_0
The following packages will be DOWNGRADED:
anaconda 2020.07-py38_0 --> custom-py38_1
backports 1.0-py_2 --> 1.0-pyhd3eb1b0_2
backports.functoo~ 1.6.1-py_0 --> 1.6.1-pyhd3eb1b0_0
backports.tempfile 1.0-py_1 --> 1.0-pyhd3eb1b0_1
click 7.1.2-py_0 --> 7.1.2-pyhd3eb1b0_0
cython 0.29.21-py38hb1e8313_0 --> 0.29.21-py38h23ab428_0
glob2 0.7-py_0 --> 0.7-pyhd3eb1b0_0
idna 2.10-py_0 --> 2.10-pyhd3eb1b0_0
jinja2 2.11.2-py_0 --> 2.11.2-pyhd3eb1b0_0
lzo 2.10-h1de35cc_2 --> 2.10-haf1e3a3_2
mkl-service 2.3.0-py38hfbe908c_0 --> 2.3.0-py38h9ed2024_0
pyparsing 2.4.7-py_0 --> 2.4.7-pyhd3eb1b0_0
python-libarchive~ 2.9-py_0 --> 2.9-pyhd3eb1b0_0
wrapt 1.11.2-py38h1de35cc_0 --> 1.11.2-py38h9ed2024_0
Proceed ([y]/n)?
I was wondering is there any way to easily clean up all the packages I've installed globally so that I can start fresh with virtual environments? Otherwise is there any way I can update everything without the version conflicts?
I’m working on embedded Linux targets (32-bit ARM) and need to determine how much RAM is available for applications once the kernel and core software are launched. Available memory reported by free and /proc/meminfo don’t seem to align with what testing shows is actually usable by applications. Is there a way to correctly calculate how much RAM is truly available without running e.g., stress on each system?
The target system used in my tests below has 256 MB of RAM and does not use swap (CONFIG_SWAP is not set). I’m used the 3.14.79-rt85 kernel in the tests below but have also tried 4.9.39 and see similar results. During boot, the following is reported:
Memory: 183172K/262144K available (5901K kernel code, 377K rwdata, 1876K rodata, 909K init, 453K bss, 78972K reserved)
Once system initialization is complete and the base software is running (e.g., dhcp client, ssh server, etc.), I get the following reported values:
[root#host ~]# vmstat
procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
r b swpd free buff cache si so bi bo in cs us sy id wa st
1 0 0 210016 320 7880 0 0 0 0 186 568 0 2 97 0 0
[root#host ~]# free -k
total used free shared buff/cache available
Mem: 249616 31484 209828 68 8304 172996
Swap: 0 0 0
[root#host ~]# cat /proc/meminfo
MemTotal: 249616 kB
MemFree: 209020 kB
MemAvailable: 172568 kB
Buffers: 712 kB
Cached: 4112 kB
SwapCached: 0 kB
Active: 4684 kB
Inactive: 2252 kB
Active(anon): 2120 kB
Inactive(anon): 68 kB
Active(file): 2564 kB
Inactive(file): 2184 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 2120 kB
Mapped: 3256 kB
Shmem: 68 kB
Slab: 13236 kB
SReclaimable: 4260 kB
SUnreclaim: 8976 kB
KernelStack: 864 kB
PageTables: 296 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 124808 kB
Committed_AS: 47944 kB
VmallocTotal: 1810432 kB
VmallocUsed: 3668 kB
VmallocChunk: 1803712 kB
[root#host ~]# sysctl -a | grep '^vm'
vm.admin_reserve_kbytes = 7119
vm.block_dump = 0
vm.dirty_background_bytes = 0
vm.dirty_background_ratio = 10
vm.dirty_bytes = 0
vm.dirty_expire_centisecs = 3000
vm.dirty_ratio = 20
vm.dirty_writeback_centisecs = 500
vm.drop_caches = 3
vm.extfrag_threshold = 500
vm.laptop_mode = 0
vm.legacy_va_layout = 0
vm.lowmem_reserve_ratio = 32
vm.max_map_count = 65530
vm.min_free_kbytes = 32768
vm.mmap_min_addr = 4096
vm.nr_pdflush_threads = 0
vm.oom_dump_tasks = 1
vm.oom_kill_allocating_task = 0
vm.overcommit_kbytes = 0
vm.overcommit_memory = 0
vm.overcommit_ratio = 50
vm.page-cluster = 3
vm.panic_on_oom = 0
vm.percpu_pagelist_fraction = 0
vm.scan_unevictable_pages = 0
vm.stat_interval = 1
vm.swappiness = 60
vm.user_reserve_kbytes = 7119
vm.vfs_cache_pressure = 100
Based on the numbers above, I expected to have ~160 MiB available for future applications. By tweaking sysctl vm.min_free_kbytes I can boost this to nearly 200 MiB since /proc/meminfo appears to take this reserve into account, but for testing I left it set as it is above.
To test how much RAM was actually available, i used the stress tool as follows:
stress --vm 11 --vm-bytes 10M --vm-keep --timeout 5s
At 110 MiB, the system remains responsive and both free and vmstat reflect the increased RAM usage. The lowest reported free/available values are below:
[root#host ~]# free -k
total used free shared buff/cache available
Mem: 249616 146580 93196 68 9840 57124
Swap: 0 0 0
[root#host ~]# vmstat
procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
r b swpd free buff cache si so bi bo in cs us sy id wa st
11 0 0 93204 1792 8048 0 0 0 0 240 679 50 0 50 0 0
Here is where things start to break down. After increasing stress’ memory usage to 120 MiB - still well shy of the 168 MiB reported as available - the system freezes for the 5 seconds while stress is running. Continuously running vmstat during the test (or as continuously as possible due to the freeze) shows:
[root#host ~]# vmstat 1
procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
r b swpd free buff cache si so bi bo in cs us sy id wa st
0 0 0 209664 724 6336 0 0 0 0 237 666 0 1 99 0 0
3 0 0 121916 1024 6724 0 0 289 0 1088 22437 0 45 54 0 0
1 0 0 208120 1328 7128 0 0 1652 0 4431 43519 28 22 50 0 0
Due to the significant increase in interrupts and IO, I’m guessing the kernel is evicting pages containing executable code and then promptly needing to read them back in from flash. My questions are a) is this a correct assessment? and b) why would the kernel be doing this with RAM still available?
Note that if try to use a single worker with stress and claim 160 MiB of memory, the OOM gets activated and kills the test. OOM does not trigger in the scenarios described above.
tns run android --bundle is giving me following error:
Unable to apply changes on device:*. Error is: cp: cannot create directory '/platforms/android/app/src': No such file or directory.
and then the next line is:
Stopping webpack watch
If I delete platforms folder and then run above command then it does not give any error.
I have deleted node_modules, hooks, platforms folders and then tried to run but didn't work.
I have tried upgrade webpack to the latest version but It didn't work.
Here is my package.json
{
"nativescript": {
"id": "org.nativescript.cloint",
"tns-ios": {
"version": "4.2.0"
},
"tns-android": {
"version": "4.2.0"
}
},
"description": "NativeScript Application",
"license": "SEE LICENSE IN <your-license-filename>",
"repository": "<fill-your-repository-here>",
"scripts": {
"lint": "tslint \"src/**/*.ts\""
},
"dependencies": {
"#angular/animations": "~6.1.0",
"#angular/common": "~6.1.0",
"#angular/compiler": "~6.1.0",
"#angular/core": "~6.1.0",
"#angular/forms": "~6.1.0",
"#angular/http": "~6.1.0",
"#angular/platform-browser": "~6.1.0",
"#angular/platform-browser-dynamic": "~6.1.0",
"#angular/router": "~6.1.0",
"nativescript-angular": "~6.1.0",
"nativescript-camera": "^4.0.3",
"nativescript-iqkeyboardmanager": "^1.3.0",
"nativescript-permissions": "^1.2.3",
"nativescript-secure-storage": "^2.3.0",
"nativescript-snackbar": "^3.2.0",
"nativescript-theme-core": "~1.0.4",
"nativescript-ui-sidedrawer": "~4.3.0",
"nativescript-web-image-cache": "^4.2.6",
"reflect-metadata": "~0.1.10",
"rxjs": "~6.2.0",
"tns-core-modules": "~4.2.0",
"tns-platform-declarations": "^4.2.1",
"zone.js": "~0.8.18"
},
"devDependencies": {
"#angular/compiler-cli": "~6.1.0",
"#nativescript/schematics": "~0.3.0",
"#ngtools/webpack": "~6.2.0",
"codelyzer": "~4.3.0",
"nativescript-dev-sass": "~1.6.0",
"nativescript-dev-typescript": "~0.7.0",
"nativescript-dev-webpack": "^0.16.0",
"tslint": "~5.11.0",
"typescript": "~2.7.2"
},
"readme": "NativeScript Application"
}
The main problem is that every time I need to remove the platform folder in order to run the project.
Here is full console after running tns run android --bundle
~/Projects/production/cloint [requests] $ tns run android --bundle
Skipping node_modules folder! Use the syncAllFiles option to sync files from this folder.
Searching for devices...
Starting Android emulator with image Nexus_5X_API_25
Waiting for emulator device initialization...
Executing before-liveSync hook from /Users/rahulgavande/Projects/production/cloint/hooks/before-liveSync/nativescript-angular-sync.js
Executing before-watchPatterns hook from /Users/rahulgavande/Projects/production/cloint/hooks/before-watchPatterns/nativescript-dev-sass.js
Executing before-watchPatterns hook from /Users/rahulgavande/Projects/production/cloint/hooks/before-watchPatterns/nativescript-dev-typescript.js
Executing before-watchPatterns hook from /Users/rahulgavande/Projects/production/cloint/hooks/before-watchPatterns/nativescript-dev-webpack.js
Executing before-watch hook from /Users/rahulgavande/Projects/production/cloint/hooks/before-watch/nativescript-dev-sass.js
Hook skipped because bundling is in progress.
Executing before-watch hook from /Users/rahulgavande/Projects/production/cloint/hooks/before-watch/nativescript-dev-typescript.js
Hook skipped because bundling is in progress.
Executing before-watch hook from /Users/rahulgavande/Projects/production/cloint/hooks/before-watch/nativescript-dev-webpack.js
Running webpack for Android...
clean-webpack-plugin: /Users/rahulgavande/Projects/production/cloint/platforms/android/app/src/main/assets/app/**/* has been removed.
File change detected. Starting incremental webpack compilation...
Webpack is watching the files…
Hash: 68c900ccb3e606cb9949
Version: webpack 4.6.0
Time: 24946ms
Built at: 2018-10-30 11:47:05
Asset Size Chunks Chunk Names
App_Resources/Android/src/main/res/drawable-xhdpi/baseline_arrow_back_white_18.png 171 bytes [emitted]
bundle.js 62.1 KiB bundle [emitted] bundle
1.js 6.48 KiB 1 [emitted]
2.js 69.6 KiB 2 [emitted]
vendor.js 5.05 MiB vendor [emitted] vendor
App_Resources/Android/app.gradle 549 bytes [emitted]
App_Resources/Android/src/.DS_Store 6 KiB [emitted]
App_Resources/Android/src/main/AndroidManifest.xml 1.36 KiB [emitted]
App_Resources/Android/src/main/res/drawable-hdpi/background.png 3.42 KiB [emitted]
App_Resources/Android/src/main/res/drawable-hdpi/baseline_add_white_18.png 150 bytes [emitted]
App_Resources/Android/src/main/res/drawable-hdpi/baseline_add_white_24.png 138 bytes [emitted]
App_Resources/Android/src/main/res/drawable-hdpi/baseline_add_white_36.png 158 bytes [emitted]
App_Resources/Android/src/main/res/drawable-hdpi/baseline_add_white_48.png 97 bytes [emitted]
App_Resources/Android/src/main/res/drawable-hdpi/baseline_arrow_back_white_18.png 160 bytes [emitted]
App_Resources/Android/src/main/res/drawable-hdpi/baseline_arrow_back_white_24.png 171 bytes [emitted]
App_Resources/Android/src/main/res/drawable-hdpi/baseline_arrow_back_white_36.png 176 bytes [emitted]
App_Resources/Android/src/main/res/drawable-hdpi/baseline_arrow_back_white_48.png 203 bytes [emitted]
App_Resources/Android/src/main/res/drawable-hdpi/icon.png 6.8 KiB [emitted]
App_Resources/Android/src/main/res/drawable-hdpi/logo.png 32.4 KiB [emitted]
App_Resources/Android/src/main/res/drawable-hdpi/menu.png 291 bytes [emitted]
App_Resources/Android/src/main/res/drawable-ldpi/background.png 1.31 KiB [emitted]
App_Resources/Android/src/main/res/drawable-ldpi/icon.png 3.23 KiB [emitted]
App_Resources/Android/src/main/res/drawable-ldpi/logo.png 9.95 KiB [emitted]
App_Resources/Android/src/main/res/drawable-ldpi/menu.png 213 bytes [emitted]
App_Resources/Android/src/main/res/drawable-mdpi/background.png 1.89 KiB [emitted]
App_Resources/Android/src/main/res/drawable-mdpi/baseline_add_white_18.png 102 bytes [emitted]
App_Resources/Android/src/main/res/drawable-mdpi/baseline_add_white_24.png 92 bytes [emitted]
App_Resources/Android/src/main/res/drawable-mdpi/baseline_add_white_36.png 138 bytes [emitted]
App_Resources/Android/src/main/res/drawable-mdpi/baseline_add_white_48.png 97 bytes [emitted]
App_Resources/Android/src/main/res/drawable-mdpi/baseline_arrow_back_white_18.png 128 bytes [emitted]
App_Resources/Android/src/main/res/drawable-mdpi/baseline_arrow_back_white_24.png 132 bytes [emitted]
App_Resources/Android/src/main/res/drawable-mdpi/baseline_arrow_back_white_36.png 171 bytes [emitted]
App_Resources/Android/src/main/res/drawable-mdpi/baseline_arrow_back_white_48.png 170 bytes [emitted]
App_Resources/Android/src/main/res/drawable-mdpi/icon.png 3.42 KiB [emitted]
App_Resources/Android/src/main/res/drawable-mdpi/logo.png 15.8 KiB [emitted]
App_Resources/Android/src/main/res/drawable-mdpi/menu.png 235 bytes [emitted]
App_Resources/Android/src/main/res/drawable-nodpi/splash_screen.xml 304 bytes [emitted]
App_Resources/Android/src/main/res/drawable-xhdpi/background.png 5.26 KiB [emitted]
App_Resources/Android/src/main/res/drawable-xhdpi/baseline_add_white_18.png 138 bytes [emitted]
App_Resources/Android/src/main/res/drawable-xhdpi/baseline_add_white_24.png 97 bytes [emitted]
App_Resources/Android/src/main/res/drawable-xhdpi/baseline_add_white_36.png 97 bytes [emitted]
App_Resources/Android/src/main/res/drawable-xhdpi/baseline_add_white_48.png 102 bytes [emitted]
0.js 11.8 KiB 0 [emitted]
App_Resources/Android/src/main/res/drawable-xhdpi/baseline_arrow_back_white_24.png 170 bytes [emitted]
App_Resources/Android/src/main/res/drawable-xhdpi/baseline_arrow_back_white_36.png 203 bytes [emitted]
App_Resources/Android/src/main/res/drawable-xhdpi/baseline_arrow_back_white_48.png 261 bytes [emitted]
App_Resources/Android/src/main/res/drawable-xhdpi/icon.png 10.4 KiB [emitted]
App_Resources/Android/src/main/res/drawable-xhdpi/logo.png 54 KiB [emitted]
App_Resources/Android/src/main/res/drawable-xhdpi/menu.png 297 bytes [emitted]
App_Resources/Android/src/main/res/drawable-xxhdpi/background.png 10.3 KiB [emitted]
App_Resources/Android/src/main/res/drawable-xxhdpi/baseline_add_white_18.png 158 bytes [emitted]
App_Resources/Android/src/main/res/drawable-xxhdpi/baseline_add_white_24.png 97 bytes [emitted]
App_Resources/Android/src/main/res/drawable-xxhdpi/baseline_add_white_36.png 186 bytes [emitted]
App_Resources/Android/src/main/res/drawable-xxhdpi/baseline_add_white_48.png 113 bytes [emitted]
App_Resources/Android/src/main/res/drawable-xxhdpi/baseline_arrow_back_white_18.png 176 bytes [emitted]
App_Resources/Android/src/main/res/drawable-xxhdpi/baseline_arrow_back_white_24.png 203 bytes [emitted]
App_Resources/Android/src/main/res/drawable-xxhdpi/baseline_arrow_back_white_36.png 253 bytes [emitted]
App_Resources/Android/src/main/res/drawable-xxhdpi/baseline_arrow_back_white_48.png 275 bytes [emitted]
App_Resources/Android/src/main/res/drawable-xxhdpi/icon.png 20.3 KiB [emitted]
App_Resources/Android/src/main/res/drawable-xxhdpi/logo.png 116 KiB [emitted]
App_Resources/Android/src/main/res/drawable-xxhdpi/menu.png 378 bytes [emitted]
App_Resources/Android/src/main/res/drawable-xxxhdpi/background.png 3.87 KiB [emitted]
App_Resources/Android/src/main/res/drawable-xxxhdpi/baseline_add_white_18.png 97 bytes [emitted]
App_Resources/Android/src/main/res/drawable-xxxhdpi/baseline_add_white_24.png 102 bytes [emitted]
App_Resources/Android/src/main/res/drawable-xxxhdpi/baseline_add_white_36.png 113 bytes [emitted]
App_Resources/Android/src/main/res/drawable-xxxhdpi/baseline_add_white_48.png 116 bytes [emitted]
App_Resources/Android/src/main/res/drawable-xxxhdpi/baseline_arrow_back_white_18.png 203 bytes [emitted]
App_Resources/Android/src/main/res/drawable-xxxhdpi/baseline_arrow_back_white_24.png 261 bytes [emitted]
App_Resources/Android/src/main/res/drawable-xxxhdpi/baseline_arrow_back_white_36.png 275 bytes [emitted]
App_Resources/Android/src/main/res/drawable-xxxhdpi/baseline_arrow_back_white_48.png 408 bytes [emitted]
App_Resources/Android/src/main/res/drawable-xxxhdpi/icon.png 73.8 KiB [emitted]
App_Resources/Android/src/main/res/drawable-xxxhdpi/logo.png 193 KiB [emitted]
App_Resources/Android/src/main/res/drawable-xxxhdpi/menu.png 466 bytes [emitted]
App_Resources/Android/src/main/res/drawable/baseline_add_24.xml 384 bytes [emitted]
App_Resources/Android/src/main/res/drawable/baseline_arrow_back_24.xml 411 bytes [emitted]
App_Resources/Android/src/main/res/values-v21/colors.xml 104 bytes [emitted]
App_Resources/Android/src/main/res/values-v21/styles.xml 1020 bytes [emitted]
App_Resources/Android/src/main/res/values/colors.xml 237 bytes [emitted]
App_Resources/Android/src/main/res/values/styles.xml 1.68 KiB [emitted]
fonts/FontAwesome.ttf 162 KiB [emitted]
assets/login-logo.png 11.8 KiB [emitted]
assets/logo.png 16.3 KiB [emitted]
package.json 82 bytes [emitted]
starter.js 39 bytes [emitted]
tns-java-classes.js 0 bytes [emitted]
[../$$_lazy_route_resource lazy recursive] ../$$_lazy_route_resource lazy namespace object 160 bytes {bundle} [built]
[./app.scss] 21.3 KiB {bundle} [built]
[./app/app-routing.module.ts] 791 bytes {bundle} [built]
[./app/app.component.html] 3.18 KiB {bundle} [built]
[./app/app.component.ts] 4.64 KiB {bundle} [built]
[./app/app.config.ts] 1.89 KiB {bundle} [built]
[./app/app.http-interceptor.ts] 1.4 KiB {bundle} [built]
[./app/app.module.ts] 1.33 KiB {bundle} [built]
[./app/login/login.module.ts] 773 bytes {0} [built]
[./main.ts] 620 bytes {bundle} [built]
[./package.json] 82 bytes {bundle} [optional] [built]
[./services/feedback.service.ts] 552 bytes {bundle} [built]
[./services/login.service.ts] 1.95 KiB {bundle} [built]
[./services/master.service.ts] 1.18 KiB {bundle} [built]
[./services/storage.service.ts] 1.22 KiB {bundle} [built]
+ 472 hidden modules
Webpack compilation complete. Watching for file changes.
Webpack build done!
Executing before-shouldPrepare hook from /Users/rahulgavande/Projects/production/cloint/hooks/before-shouldPrepare/nativescript-dev-webpack.js
Executing before-cleanApp hook from /Users/rahulgavande/Projects/production/cloint/hooks/before-cleanApp/nativescript-dev-webpack.js
Executing before-prepare hook from /Users/rahulgavande/Projects/production/cloint/hooks/before-prepare/nativescript-dev-sass.js
Hook skipped because either bundling or livesync is in progress.
Executing before-prepare hook from /Users/rahulgavande/Projects/production/cloint/hooks/before-prepare/nativescript-dev-typescript.js
Hook skipped because either bundling or livesync is in progress.
Preparing project...
Executing before-prepareJSApp hook from /Users/rahulgavande/Projects/production/cloint/hooks/before-prepareJSApp/nativescript-dev-webpack.js
Gradle clean...
+ setting applicationId
+ applying user-defined configuration from /Users/rahulgavande/Projects/production/cloint/App_Resources/Android/app.gradle
+ adding nativescript runtime package dependency: nativescript-optimized-with-inspector
+ adding aar plugin dependency: /Users/rahulgavande/Projects/production/cloint/node_modules/nativescript-camera/platforms/android/nativescript_camera.aar
+ adding aar plugin dependency: /Users/rahulgavande/Projects/production/cloint/node_modules/nativescript-ui-sidedrawer/platforms/android/TNSSideDrawer-release.aar
+ adding aar plugin dependency: /Users/rahulgavande/Projects/production/cloint/node_modules/nativescript-web-image-cache/platforms/android/nativescript_web_image_cache.aar
+ adding aar plugin dependency: /Users/rahulgavande/Projects/production/cloint/node_modules/nativescript-ui-core/platforms/android/TNSCore-release.aar
+ adding aar plugin dependency: /Users/rahulgavande/Projects/production/cloint/node_modules/tns-core-modules-widgets/platforms/android/widgets-release.aar
Unable to apply changes on device: emulator-5554. Error is: cp: cannot create directory '/Users/rahulgavande/Projects/production/cloint/platforms/android/app/src': No such file or directory.
Executing after-watch hook from /Users/rahulgavande/Projects/production/cloint/hooks/after-watch/nativescript-dev-sass.js
Executing after-watch hook from /Users/rahulgavande/Projects/production/cloint/hooks/after-watch/nativescript-dev-typescript.js
Executing after-watch hook from /Users/rahulgavande/Projects/production/cloint/hooks/after-watch/nativescript-dev-webpack.js
Stopping webpack watch
I had the exact same problem after following the upgrade guide:
https://docs.nativescript.org/releases/upgrade-instructions
After first launch (which works) set the permissions:
sudo chmod -R 755 platforms/android/
Thanks Narendra for the hint.
This must be done everytime your relaunch "tns run android --build"
Given this text
affiliates 1038 680 KB
article_ratings 699 168 KB
authors 30 40 KB
fs.chunks 3401 633.89 MB
fs.files 1476 680 KB
nodes 1432 24.29 MB
nodes_search 91 2.8 MB
nodes_tags 272 40 KB
page_views 107769 16.37 MB
page_views_map 212 40 KB
recommendations 34305 45.1 MB
rewrite_rules 209 168 KB
sign_ups 10331 12.52 MB
sitemaps 1 14.84 MB
suppliers 13 8 KB
tariff_price_check_reports 34 540 KB
tariff_price_checks 1129 968 KB
tariffs 5 680 KB
users 17 64 KB
users_tags 2 8 KB
versions 18031 156.64 MB
How can I sort by the 4th and then 3rd column so that it's sorted by file size?
I've tried :%!sort -k4 -k3n which partially works, but seems to fail on the 3rd size column.
What am I doing wrong?
I think I've figured it out.
:%!sort -k4 -bk3g
I sort by the the 4th column (-k4), followed by the 3rd column. We ignore leading blank spaces (b), and this time we sort using a general numeric sort (g).
I blogged about this too
I don't know how to handle it with sort(). I've found problems with the decimal point, although I changed the LC_NUMERIC environment variable, so I would switch to perl to solve it, like:
:%!perl -0777 -ne '
#l = map { [ $_, split " ", $_ ] } split /\n/, $_;
#l = sort { $a->[-1] cmp $b->[-1] or $a->[-2] <=> $b->[-2] } #l;
print "$_->[0]\n" for #l
'
Put it in the same line to run if from inside vim. It yields:
suppliers 13 8 KB
users_tags 2 8 KB
authors 30 40 KB
nodes_tags 272 40 KB
page_views_map 212 40 KB
users 17 64 KB
article_ratings 699 168 KB
rewrite_rules 209 168 KB
tariff_price_check_reports 34 540 KB
affiliates 1038 680 KB
fs.files 1476 680 KB
tariffs 5 680 KB
tariff_price_checks 1129 968 KB
nodes_search 91 2.8 MB
sign_ups 10331 12.52 MB
sitemaps 1 14.84 MB
page_views 107769 16.37 MB
nodes 1432 24.29 MB
recommendations 34305 45.1 MB
versions 18031 156.64 MB
fs.chunks 3401 633.89 MB
I have following result while running below powershell command,
PS C:\> Get-Process svchost
Handles NPM(K) PM(K) WS(K) VM(M) CPU(s) Id ProcessName
------- ------ ----- ----- ----- ------ -- -----------
546 34 18528 14884 136 49.76 260 svchost
357 14 4856 4396 47 18.05 600 svchost
314 17 6088 5388 42 12.62 676 svchost
329 17 10044 8780 50 12.98 764 svchost
1515 49 36104 38980 454 232.04 812 svchost
301 33 9736 6428 54 2.90 832 svchost
328 26 8844 9744 52 4.32 856 svchost
247 18 8144 9912 77 37.50 904 svchost
46 5 1504 968 14 0.02 1512 svchost
278 15 4048 5660 43 3.88 2148 svchost
98 14 2536 2460 35 0.66 2504 svchost
Here im trying to calculte the total memory size PM(K) of process(s).i've following line in my ps1 script file
get-process svchost | foreach {$mem=("{0:N2}MB " -f ($_.pm/1mb))}
It gives the output in the following format
17.58MB 4.79MB 6.05MB 9.99MB 35.29MB 9.56MB 8.64MB 7.95MB 1.47MB 3.95MB 2.48MB
but i need total size as a single value like 107.75MB
How to calculate the total used memory size of svchost process ?
Thanks
You can use the Measure-Object cmdlet
$measure = Get-Process svchost | Measure-Object PM -Sum
$mem = ("{0:N2}MB " -f ($measure.sum / 1mb))
Also, you can calculate the total size of the entire collection using the += syntax
$mem = 0
Get-Process svchost | %{$mem += $_.pm}
"{0:N2}MB " -f ($mem/1mb)