Regarding the problem of using webpack instructions in vscode showing "Because running scripts is prohibited in this system" (perfect solution)

Regarding the problem of using webpack instructions in vscode showing "Because running scripts is prohibited in this system" (perfect solution)

When learning Vue, when I always use webpack instructions in the vscode terminal, the following problems occur:

The solution is:

1. Close vscode and restart vscode as an administrator; 2. Enter get-ExecutionPolicy in the terminal, and it will display Restricted, indicating that the status is prohibited; 3. Enter set-ExecutionPolicy RemoteSigned again; no content is displayed after execution; 4. Finally, enter get-ExecutionPolicy again, and it will display RemoteSigned;

The process is shown in the figure below:

Then enter the webpack command again and it will execute normally:

Take one more minute to study and make your life more wonderful!

This is the end of this article about solving the problem of "Because running scripts is prohibited in this system" when using webpack instructions in vscode. For more relevant content about using webpack instructions in vscode, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope everyone will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • Detailed explanation of adding code blocks in VScode (including C++ instructions to generate code)

<<:  A simple method to regularly delete expired data records in MySQL

>>:  Detailed installation and use tutorial of mysql 8.0.15 under windows

Recommend

A complete guide to clearing floats in CSS (summary)

1. Parent div defines pseudo-classes: after and z...

Flex layout realizes the layout mode of upper and lower fixed and middle sliding

This article mainly introduces the layout method ...

js implements shopping cart addition and subtraction and price calculation

This article example shares the specific code of ...

Detailed explanation of encoding issues during MySQL command line operations

1. Check the MySQL database encoding mysql -u use...

Learn more about MySQL indexes

1. Indexing principle Indexes are used to quickly...

Introduction to new ECMAscript object features

Table of contents 1. Object properties 1.1 Attrib...

Detailed explanation of the correct use of the count function in MySQL

1. Description In MySQL, when we need to get the ...

mysql5.7.19 winx64 decompressed version installation and configuration tutorial

Recorded the installation tutorial of mysql 5.7.1...

MySQL 8.0 New Features - Introduction to Check Constraints

Table of contents Preface Check Constraints Creat...

How to call the interrupted system in Linux

Preface Slow system calls refer to system calls t...

6 solutions for network failure in Docker container

6 solutions for network failure in Docker contain...

SQL implementation of LeetCode (196. Delete duplicate mailboxes)

[LeetCode] 196.Delete Duplicate Emails Write a SQ...

nginx proxy_cache batch cache clearing script introduction

Preface: I used the official nginx proxy_cache as...

Summary of common problems and application skills in MySQL

Preface In the daily development or maintenance o...