npm install github给出了意外的标识符错误

时间:2022-10-07 09:23:45

I have a github repo in which I'm trying to install Clockwork SMS via npm. However, when I checked the console, it displays a "Uncaught SyntaxError: Unexpected identifier" error. Website can be found here: https://refath.github.io/Niva/.

我有一个github回购,其中我试图通过npm安装发条短信。但是,当我检查控制台时,它会显示“Uncaught SyntaxError:Unexpected identifier”错误。网站可以在这里找到:https://refath.github.io/Niva/。

In summary, what I'm attempting to do is send a message to a phone via Clockwork, but when I attempt to $ npm install https://github.com/mediaburst/node-clockwork, the console displays the error: "Uncaught SyntaxError: Unexpected identifier", as shown below:

总之,我尝试做的是通过发条向手机发送消息,但是当我尝试$ npm安装https://github.com/mediaburst/node-clockwork时,控制台显示错误:“未捕获SyntaxError:意外的标识符“,如下所示:

npm install github给出了意外的标识符错误

Any help is appreciated. Thanks.

任何帮助表示赞赏。谢谢。

1 个解决方案

#1


0  

By looking at README in github repo of clockwork https://github.com/mediaburst/node-clockwork/blob/master/README.md you are probably typing the wrong command. Have you tried as described in README: npm install clockwork ?

通过查看clockwork https://github.com/mediaburst/node-clockwork/blob/master/README.md的github repo中的README,您可能输入了错误的命令。您是否按照README中的说明尝试:npm install clockwork?

Also you should give a look here SyntaxError: Unexpected Identifier in Chrome's Javascript console and then give a little bit look to your code.

另外,您应该在Chrome的Javascript控制台中查看SyntaxError:Unexpected Identifier,然后再看一下您的代码。

#1


0  

By looking at README in github repo of clockwork https://github.com/mediaburst/node-clockwork/blob/master/README.md you are probably typing the wrong command. Have you tried as described in README: npm install clockwork ?

通过查看clockwork https://github.com/mediaburst/node-clockwork/blob/master/README.md的github repo中的README,您可能输入了错误的命令。您是否按照README中的说明尝试:npm install clockwork?

Also you should give a look here SyntaxError: Unexpected Identifier in Chrome's Javascript console and then give a little bit look to your code.

另外,您应该在Chrome的Javascript控制台中查看SyntaxError:Unexpected Identifier,然后再看一下您的代码。