Tag Archives: cnus.

[Solved] VScode cmpm Error: cnmp: Cannot Loading the File…

Report the wrong diagram first:

Solution:

Right-click the vscode icon and select run as administrator;

Execute get executionpolicy in the terminal and display restricted, indicating that the status is prohibited;

At this time, execute set executionpolicy remotesigned;

At this time, execute the get executionpolicy and display remotesigned, which indicates that the status is unblocked and can be run

An error is reported when running cnpm in vscode, indicating that the script cannot be run

    Right click the vscode icon and select run as administrator;

    Execute get executionpolicy in the terminal and display restricted, indicating that the status is prohibited;

    At this time, execute set executionpolicy remotesigned;

    At this time, execute the get executionpolicy and display remotesigned, which indicates that the status is unblocked and can be run