Skip to content

script not working with node #236666

Closed
Closed
@Bibekksah123

Description

Type: Bug

npm : File C:\Program Files\nodejs\npm.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see
about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1

  • npm run
  •   + CategoryInfo          : SecurityError: (:) [], PSSecurityException
      + FullyQualifiedErrorId : UnauthorizedAccess
    
    

VS Code version: Code 1.96.2 (fabdb6a, 2024-12-19T10:22:47.216Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info
Item Value
CPUs 12th Gen Intel(R) Core(TM) i5-12450H (12 x 2496)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 7.70GB (2.60GB free)
Process Argv --crash-reporter-id b9912ba2-5696-47e9-9ed3-3fcbb97c9d9d
Screen Reader no
VM 0%
Extensions (22)
Extension Author (truncated) Version
vscode-tailwindcss bra 0.12.16
simple-react-snippets bur 1.2.8
npm-intellisense chr 1.4.5
dadroit-json-generator Dad 1.2.2
es7-react-js-snippets dsz 4.4.3
vsc-material-theme-icons equ 3.8.10
prettier-vscode esb 11.0.0
code-runner for 0.12.2
copilot Git 1.253.0
copilot-chat Git 0.23.2
cmake-tools ms- 1.19.52
cpptools ms- 1.22.11
cpptools-extension-pack ms- 1.3.0
live-server ms- 0.4.15
material-icon-theme PKi 5.16.0
LiveServer rit 5.7.9
es7-react-js-snippets rod 1.9.3
cmake twx 0.0.17
intellicode-api-usage-examples Vis 0.2.9
vscodeintellicode Vis 1.3.2
gitblame wad 11.1.1
JavaScriptSnippets xab 1.8.0

(2 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythonnoceb:30805159
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
dvdeprecation:31068756
dwnewjupytercf:31046870
nativerepl1:31139838
pythonrstrctxt:31112756
nativeloc1:31192215
cf971741:31144450
iacca1:31171482
notype1:31157159
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530
6074i472:31201624

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions