Jhipster failure build war file - build

I use this mvn -Pprod and I get errors like this:
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.6:yarn (webpack build prod) on project jhi: Failed to run task: 'yarn run webpack:prod' failed. org.apache.commons.exec.ExecuteE
xception: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Arguments:
E:\vaqtinchalik\Vaqf\jhiProject\node\node.exe E:\vaqtinchalik\Vaqf\jhiProject\node\yarn\dist\bin\yarn.js install --force
PATH:
E:\vaqtinchalik\Vaqf\jhiProject\node;E:\vaqtinchalik\Vaqf\jhiProject\node\yarn\dist\bin;E:\vaqtinchalik\Vaqf\jhiProject\node_modules.bin;C:\Program Files (x86)\Google\Chrome\Application;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Java\jdk1.8.0_66\bin;E:\maven\apache-maven-3.5.4\bin;C:\Program Files (x86)\Yarn\bin\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files (x86)\Windows Kits\8.0\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\nodejs\;C:\Program Files\PuTTY\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files (x86)\WinMerge;C:\Program Files\Git\cmd;C:\Users\JavaProgUZ\AppData\Local\Microsoft\WindowsApps;C:\Users\JavaProgUZ\AppData\Local\Yarn\bin;C:\Users\JavaProgUZ\AppData\Roaming\npm;
Yarn version:
1.3.2
Node version:
8.9.4
Trace:
Error: EPERM: operation not permitted, unlink 'E:\vaqtinchalik\Vaqf\jhiProject\node_modules\node-sass\vendor\win32-x64-57\binding.node'

Related

using cmath special functions extending Python with C++

I am trying to build a Python package in C++, and when I build, I get no errors; however, when I use pip install, I get the following result:
----- Installing 'D:\GitHub\dir\dir\ --user' -----
Processing d:\github\dir\dir
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: package_name
Building wheel for package_name (pyproject.toml): started
Building wheel for package_name (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
Building wheel for package_name (pyproject.toml) did not run successfully.
exit code: 1
[14 lines of output]
Failed to build package_name
running bdist_wheel
running build
running build_ext
building 'package_name' extension
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\etcto\AppData\Local\Programs\Python\Python310\include -IC:\Users\etcto\AppData\Local\Programs\Python\Python310\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /EHsc /Tpmodule.cpp /Fobuild\temp.win-amd64-cpython-310\Release\module.obj
module.cpp
module.cpp(28): error C2039: 'comp_ellint_1f': is not a member of 'std'
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\include\cmath(710): note: see declaration of 'std'
module.cpp(28): error C3861: 'comp_ellint_1f': identifier not found
module.cpp(28): error C2039: 'comp_ellint_1f': is not a member of 'std'
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\include\cmath(710): note: see declaration of 'std'
module.cpp(28): error C3861: 'comp_ellint_1f': identifier not found
module.cpp(61): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data
error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.33.31629\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for package_name
ERROR: Could not build wheels for package_name, which is required to install pyproject.toml-based projects
----- Failed to install 'D:\GitHub\dir\dir\ --user' -----
I have a feeling it's trying to use C++ 14 (which didn't include comp_ellint_1f) because I see the number in the directories listed, but in my properties page (for both Release and Debug), I have the "C++ Language Standard" set to "ISO C++ 20 Standard (/std:c++20)".
When I remove that function from the project, pip installs the package just fine, and I can import it into Python without issue. I am not sure how to tell it to use C++ 20 for the pip install portion.
MRE:
#include <Python.h>
#include <Windows.h>
#include <cmath>
PyObject* k_func(PyObject* /* unused module reference */, PyObject* args) {
double k, integral;
PyArg_ParseTuple(args, "d", &k);
double integral = std::comp_ellint_1(k);
return PyFloat_FromDouble(integral);
}
static PyMethodDef package_name_methods[] = {
// The first property is the name exposed to Python, k
// The second is the C++ function with the implementation
// METH_O means it takes a single PyObject argument
{ "ellipticK", (PyCFunction)k_func, METH_VARARGS, "Calculate elliptic integral" },
// Terminate the array with an object containing nulls.
{ nullptr, nullptr, 0, nullptr }
};
static PyModuleDef package_name_module = {
PyModuleDef_HEAD_INIT,
"package_name",
"Module Description",
0,
package_name_methods
};
PyMODINIT_FUNC PyInit_package_name() {
return PyModule_Create(&package_name_module);
}
pyproject.toml is
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
setup.py is
from setuptools import setup, Extension
sfc_module = Extension('package_name', sources = ['module.cpp'])
setup(
name='package_name',
version='0.0',
description='Description',
ext_modules=[sfc_module]
)
Thanks for the compiler flag suggestion; the following worked:
from setuptools import setup, Extension
sfc_module = Extension('package_name', sources = ['module.cpp'],
extra_compile_args=["/std:c++20"],
)
setup(
name='package_name',
version='0.0',
scripts=[],
ext_modules=[sfc_module]
)

wrong version of expo-cli after upgrade

for many time i get the following info message after start expo projects, and it seems its not possible to upgrade expo-cli:
There is a new version of expo-cli available (4.2.1). You are currently using expo-cli 3.28.0 Install expo-cli globally using the package manager of your choice; for example: npm install -g expo-cli to get the latest version
This seems easier as it looks. After installing expo-cli globally without errors
+ expo-cli#4.2.1
OK, now im typing expo -V to check the new Version but wait: its 3.28.0
My project package.json dont have expo-cli in. Is there a way to locate the used expo version?
edit:
i found 1 PATH file till now.
(C:\Users\myuser.expo) it contents:
C:\Users\SYSTEM~1\AppData\Local\Temp\yarn--1615049876273-0.687029522126771;
C:\Users\myuser\WfManager\fmapp\node_modules\.bin;
C:\Users\myuser\AppData\Local\Yarn\Data\link\node_modules\.bin;
C:\Program Files\libexec\lib\node_modules\npm\bin\node-gyp-bin;
C:\Program Files\lib\node_modules\npm\bin\node-gyp-bin;
C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;
C:\Program Files (x86)\Lenovo\FusionEngine;
C:\Windows\system32;
C:\Windows;
C:\Windows\System32\Wbem;
C:\Windows\System32\WindowsPowerShell\v1.0\;
C:\Program Files (x86)\Common Files\lenovo\easyplussdk\bin;
C:\Program Files (x86)\Common Files\Apple\Apple Application Support;
C:\WINDOWS\system32;
C:\WINDOWS;
C:\WINDOWS\System32\Wbem;
C:\WINDOWS\System32\WindowsPowerShell\v1.0\;
C:\WINDOWS\System32\OpenSSH\;
C:\xampp\php;
C:\Program Files\Git\cmd;
C:\Program Files\PuTTY\;
C:\Program Files\Symfony;
C:\Program Files (x86)\Yarn\bin\;
C:\Program Files\nodejs\;
C:\composer;
C:\Users\myuser\AppData\Local\Microsoft\WindowsApps;
C:\Users\myuser\AppData\Local\Programs\Microsoft VS Code\bin;
C:\Users\myuser\AppData\Roaming\Composer\vendor\bin;
C:\Users\myuser\AppData\Local\Yarn\bin;
C:\Users\myuser\AppData\Local\GitHubDesktop\bin;
C:\Users\myuser\AppData\Roaming\npm
after writing this down and check the entries i found one entry which
links to an old version:
C:\Users\myuser\AppData\Local\Yarn\Data\link\node_modules\.bin; //old version
C:\Users\myuser\AppData\Roaming\npm //new version`
i want to update expo-cli with xarn global now and we will see what happens.
You can check path to binary with command -v expo.
In this case you most likely installed expo-cli globally both with npm and yarn, version 3.28.0 is just earlier in your PATH. It's also possible that you have two node versions (and 2 npm versions) installed, but it's less likely.

Visual C++ build tools seems to be installed But Bazel can't find the following tools: cl.exe, link.exe, lib.exe, ml64.exe

I am trying to build Angular on windows server 2019 AWS Virtual Machine.
I downloaded angular-master.zip from https://github.com/angular/angular
I unzipped this angular-master.zip
I downloaded following Prerequisite softwares.
1. Prerequisite Software
• Git and/or the GitHub app (for Mac or Windows); GitHub's Guide to Installing Git is a good source of information.
• Node.js, (version specified in the engines field of package.json) which is used to run a development web server, run tests, and generate distributable files.
• Yarn (version specified in the engines field of package.json) which is used to install dependencies.
• Java Development Kit which is used to execute the selenium standalone server for e2e testing.
I have done - yarn install
I have done - yarn global add windows-build-tools. It has installed C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools on my Virtual machine. It has also installed - C:\Users\Administrator.windows-build-tools\python27
I have done - node ./scripts/build/build-packages-dist.js
it is giving following error –
INFO: Analyzed 18 targets (1 packages loaded, 179 targets configured).
INFO: Found 18 targets...
ERROR: C:/users/administrator/_bazel_administrator/e2kq7fn3/external/com_google_protobuf/BUILD:267:11: C++ compilation of rule '#com_google_protobuf//:protoc_lib' failed (Exit 1)
The target you are compiling requires Visual C++ build tools.
Bazel couldn't find a valid Visual C++ build tools installation on your machine.
Visual C++ build tools seems to be installed at C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC
But Bazel can't find the following tools:
cl.exe, link.exe, lib.exe, ml64.exe
Please check your installation following https://docs.bazel.build/versions/master/windows.html#using
INFO: Elapsed time: 2210.447s, Critical Path: 1095.73s
INFO: 18 processes: 16 local, 2 worker.
FAILED: Build did NOT complete successfully
child_process.js:669
throw err;
^
Error: Command failed: yarn --cwd "c:\angular\angular-master" --silent bazel build --config=release --config=view-engine //packages/upgrade:npm_package //packages/service-worker:npm_package //packages/router:npm_package //packages/platform-webworker-dynamic:npm_package //packages/platform-webworker:npm_package //packages/platform-server:npm_package //packages/platform-browser-dynamic:npm_package //packages/platform-browser:npm_package //packages/localize:npm_package //packages/language-service:npm_package //packages/forms:npm_package //packages/elements:npm_package //packages/core:npm_package //packages/compiler-cli:npm_package //packages/compiler:npm_package //packages/common:npm_package //packages/bazel:npm_package //packages/animations:npm_package
at checkExecSyncError (child_process.js:630:11)
at execSync (child_process.js:666:15)
at exec (c:\angular\angular-master\scripts\build\package-builder.js:122:18)
at buildTargetPackages (c:\angular\angular-master\scripts\build\package-builder.js:81:3)
at Object.<anonymous> (c:\angular\angular-master\scripts\build\build-packages-dist.js:18:1)
at Module._compile (internal/modules/cjs/loader.js:1138:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
at Module.load (internal/modules/cjs/loader.js:986:32)
at Function.Module._load (internal/modules/cjs/loader.js:879:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) {
status: 1,
signal: null,
output: [ null, null, null ],
pid: 6708,
stdout: null,
stderr: null
}

Execute package failed in Sitecore Azure deployment

I have started the deployment of Editing farm and after some time got this error. Before that Databases are created in Azure.
Execute package failed System.ApplicationException: advaiyawebsiteDevScusCe01Role01SSc5e3Staging [S]
Execute package failed ---> System.ApplicationException: Execute package is failed ---> System.InvalidOperationException:
Build Package failed: Searching for imported module Caching at
C:\Program Files\Microsoft SDKs\Azure\.NET SDK\v2.5\bin\plugins\Caching\Caching.csplugin...
Copying 'C:\InetPub\Sitecoredemo\Data\AzurePackages\(7) Azure\Sitecore.Azure.CacheWorkerRole'
to C:\Windows\TEMP\odbndccq.v4c\roles\SitecoreCacheWorkerRole\approot... Copying
'C:\Program Files\Microsoft SDKs\Azure\.NET SDK\v2.5\bin\runtimes\base\x64'
to C:\Windows\TEMP\odbndccq.v4c\roles\SitecoreCacheWorkerRole\base\x64... Copying
'C:\Program Files\Microsoft SDKs\Azure\.NET SDK\v2.5\bin\runtimes\base\x86'
to C:\Windows\TEMP\odbndccq.v4c\roles\SitecoreCacheWorkerRole\base\x86... Copying
'C:\InetPub\Sitecoredemo\Data\AzurePackages\(7) Azure\SitecoreWebSite' to
C:\Windows\TEMP\odbndccq.v4c\roles\SitecoreWebRole\approot... Copying
'C:\Program Files\Microsoft SDKs\Azure\.NET SDK\v2.5\bin\runtimes\base\x64'
to C:\Windows\TEMP\odbndccq.v4c\roles\SitecoreWebRole\base\x64... Copying
'C:\Program Files\Microsoft SDKs\Azure\.NET SDK\v2.5\bin\runtimes\base\x86'
to C:\Windows\TEMP\odbndccq.v4c\roles\SitecoreWebRole\base\x86... Copying
'C:\Program Files\Microsoft SDKs\Azure\.NET SDK\v2.5\bin\plugins\Caching'
to C:\Windows\TEMP\odbndccq.v4c\roles\SitecoreCacheWorkerRole\plugins\Caching...
UCPack_Command_Line: Error : CloudServices41 : The entrypoint Sitecore.Azure.CacheWorkerRole.dll is not a valid assembly.
Please provide a relative path to the binary that implements the entrypoint.
at Sitecore.Diagnostics.Assert.IsFalse(Boolean condition, String message)
at Sitecore.Azure.Pipelines.CreateAzurePackage.Azure.ExecutePackage.Action(RolePipelineArgsBase arguments)
at Sitecore.Azure.Pipelines.BasePipeline.RolePipelineProcessor.Process(RolePipelineArgsBase args)
--- End of inner exception stack trace --- --- End of inner exception stack trace ---
It looks like you have incorrect version of Microsoft Azure SDK installed.
Sitecore Azure 8.0 rev. 150522 supports only version 2.5.1
Sitecore Azure 8.0 rev. 150522 Hotfix 68545-1 supports only version 2.7.1
Sitecore Azure 8.0 rev. 161110 supports only version 2.9.1
For more details, please check the following article: https://kb.sitecore.net/articles/026831

Not able to create ionic project after Visual studio installation

ionic start myApp tabs
Creating Ionic app in folder C:\Users\Swanandi\myAquire based on tabs project
Downloading: https://github.com/driftyco/ionic-app-base/archive/master.zip
[=============================] 100% 0.0s
Error with start Error: ENOENT: no such file or directory, open 'C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Java\jre1.8.0_101;C:\Program Files\Java\jdk1.8.0_101\bin;C:\Program Files (x86)\Skype\Phone\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\system32\config\systemprofile.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\nodejs\;C:\Users\Swanandi\AppData\Roaming\npm;C:\Program Files\nodejs\;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Java\jre1.8.0_101;C:\Program Files\Java\jdk1.8.0_101\bin;C:\Program Files\nodejs\;C:\Program Files (x86)\Skype\Phone\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Users\Swanandi\AppData\Local\Microsoft\WindowsApps;C:\Users\Swanandi\AppData\Roaming\npm;C:\Users\Swanandi\android-sdks\tools\ionic-starter-1476779357812.zip'
at Error (native)
at Object.fs.openSync (fs.js:640:18)
at Object.fs.writeFileSync (fs.js:1333:33)
at Request._callback (C:\Users\Swanandi\AppData\Roaming\npm\node_modules\ionic\node_modules\ionic-app-lib\lib\utils.js:121:10)
at Request.self.callback (C:\Users\Swanandi\AppData\Roaming\npm\node_modules\ionic\node_modules\request\request.js:373:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:191:7)
at Request. (C:\Users\Swanandi\AppData\Roaming\npm\node_modules\ionic\node_modules\request\request.js:1318:14)
at emitOne (events.js:101:20)
at Request.emit (events.js:188:7)
Error Initializing app: Error: ENOENT: no such file or directory, open 'C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Java\jre1.8.0_101;C:\Program Files\Java\jdk1.8.0_101\bin;C:\Program Files (x86)\Skype\Phone\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\system32\config\systemprofile.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\nodejs\;C:\Users\Swanandi\AppData\Roaming\npm;C:\Program Files\nodejs\;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Java\jre1.8.0_101;C:\Program Files\Java\jdk1.8.0_101\bin;C:\Program Files\nodejs\;C:\Program Files (x86)\Skype\Phone\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Users\Swanandi\AppData\Local\Microsoft\WindowsApps;C:\Users\Swanandi\AppData\Roaming\npm;C:\Users\Swanandi\android-sdks\tools\ionic-starter-1476779357812.zip'
Error: ENOENT: no such file or directory, open 'C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Java\jre1.8.0_101;C:\Program Files\Java\jdk1.8.0_101\bin;C:\Program Files (x86)\Skype\Phone\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\system32\config\systemprofile.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\nodejs\;C:\Users\Swanandi\AppData\Roaming\npm;C:\Program Files\nodejs\;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Java\jre1.8.0_101;C:\Program Files\Java\jdk1.8.0_101\bin;C:\Program Files\nodejs\;C:\Program Files (x86)\Skype\Phone\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Users\Swanandi\AppData\Local\Microsoft\WindowsApps;C:\Users\Swanandi\AppData\Roaming\npm;C:\Users\Swanandi\android-sdks\tools\ionic-starter-1476779357812.zip'
at Error (native)
at Object.fs.openSync (fs.js:640:18)
at Object.fs.writeFileSync (fs.js:1333:33)
at Request._callback (C:\Users\Swanandi\AppData\Roaming\npm\node_modules\ionic\node_modules\ionic-app-lib\lib\utils.js:121:10)
at Request.self.callback (C:\Users\Swanandi\AppData\Roaming\npm\node_modules\ionic\node_modules\request\request.js:373:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:191:7)
at Request. (C:\Users\Swanandi\AppData\Roaming\npm\node_modules\ionic\node_modules\request\request.js:1318:14)
at emitOne (events.js:101:20)
at Request.emit (events.js:188:7)
Caught exception:
Error: ENOENT: no such file or directory, open 'C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Java\jre1.8.0_101;C:\Program Files\Java\jdk1.8.0_101\bin;C:\Program Files (x86)\Skype\Phone\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\system32\config\systemprofile.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\nodejs\;C:\Users\Swanandi\AppData\Roaming\npm;C:\Program Files\nodejs\;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Java\jre1.8.0_101;C:\Program Files\Java\jdk1.8.0_101\bin;C:\Program Files\nodejs\;C:\Program Files (x86)\Skype\Phone\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Users\Swanandi\AppData\Local\Microsoft\WindowsApps;C:\Users\Swanandi\AppData\Roaming\npm;C:\Users\Swanandi\android-sdks\tools\ionic-starter-1476779357812.zip'
at Error (native)
at Object.fs.openSync (fs.js:640:18)
at Object.fs.writeFileSync (fs.js:1333:33)
at Request._callback (C:\Users\Swanandi\AppData\Roaming\npm\node_modules\ionic\node_modules\ionic-app-lib\lib\utils.js:121:10)
at Request.self.callback (C:\Users\Swanandi\AppData\Roaming\npm\node_modules\ionic\node_modules\request\request.js:373:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:191:7)
at Request. (C:\Users\Swanandi\AppData\Roaming\npm\node_modules\ionic\node_modules\request\request.js:1318:14)
at emitOne (events.js:101:20)
at Request.emit (events.js:188:7)
Please add the code to your question that demonstrates what you try to accomplish, what you tried and where you failed