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

Hi, Can anyone help me for set up of local server with VS code of lwc components #138

Open
ShoaibIbrahim786 opened this issue Aug 3, 2022 · 1 comment

Comments

@ShoaibIbrahim786
Copy link

Hi,
I have followed the some process for this:-

_**1. Install node-gyp globally via npm: npm install --global node-gyp

Install windows-build-tools with any one of below, whichever first works:
npm install --global --production windows-build-tools
npm install --global windows-build-tools@4.0.0
npm install --global --production windows-build-tools --vs2015
3. Launch cmd: npm config set msvs_version 2017**_

But getting some error please see the errors and guide me where i am doing mistakes:-
PS C:\Users\SHOAIB IBRAHIM.vscode\FisrtProject> npm install --global --production windows-build-tools
npm WARN config global --global, --local are deprecated. Use --location=global instead.
npm WARN config global --global, --local are deprecated. Use --location=global instead.
npm WARN config production Use --omit=dev instead.
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see request/request#3142
npm WARN deprecated windows-build-tools@5.2.2: Node.js now includes build tools for Windows. You
probably no longer need this tool. See https://github.com/felixrieseberg/windows-build-tools for
details.
npm ERR! code 1
npm ERR! path C:\Users\SHOAIB IBRAHIM\AppData\Roaming\npm\node_modules\windows-build-tools
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node ./dist/index.js
Downloading python-2.7.15.amd64.msi
npm ERR! [> ] 0.0% (0 B/s)
npm ERR! Downloaded python-2.7.15.amd64.msi. Saved to C:\Users\SHOAIB IBRAHIM.windows-build-tools\python-2.7.15.amd64.msi.
Downloading vs_BuildTools.exe
npm ERR! [> ] 0.0% (0 B/s)
npm ERR! Downloaded vs_BuildTools.exe. Saved to C:\Users\SHOAIB IBRAHIM.windows-build-tools\vs_BuildTools.exe.
npm ERR!
npm ERR! Starting installation...
npm ERR! Please restart this script from an administrative PowerShell!
npm ERR! The build tools cannot be installed without administrative rights.
npm ERR! To fix, right-click on PowerShell and run "as Administrator".

#118 #137
Additional context
Add any other context or screenshots about the feature request here.

@stale
Copy link

stale bot commented Aug 12, 2022

This issue has been automatically marked as type:bug-p3 because it has not had recent activity.

@stale stale bot added the type:bug-p3 label Aug 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant