M
M
maxemga2021-03-03 14:23:16
Node.js
maxemga, 2021-03-03 14:23:16

I can't start json-server, what should I do?

I want to run json-server, but it gives me the following problem (screenshot1).
Okay, I found a solution to the problem, you need to run PowerShell as an administrator and type in the command
Set-ExecutionPolicy unrestricted
Then I try to run it again and the same error
The main thing in PowerShell I score Get-ExecutionPolicyand issues Unrestricted
But I score the same thing in the vs code terminal (I run json server there) and there Restricted
What to do and how to solve this problem?
603f710ba749a911264776.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2021-03-03
@maxemga

Use cmd.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question