简体   繁体   English

如何在没有终端的情况下运行npm start?

[英]How to run npm start without the terminal?

I have a Ether Explorer. 我有一个Ether Explorer。 I have made a native app of it using "npm-nativefier". 我使用“ npm-nativefier”制作了一个本机应用程序。 The problem is that every time i run the application, i have to start my private "geth" network and "npm-start" in the project directory using CMD to make the application work. 问题在于,每次运行该应用程序时,都必须使用CMD在项目目录中启动我的私有“ geth”网络和“ npm-start”,以使该应用程序正常工作。 running geth is not a problem as of now. 到目前为止,运行geth并不是问题。

Is there a way so that i don't have to do the npm start? 有没有一种方法可以让我不必启动npm? running a script or something like that. 运行脚本之类的东西。

It should start automatically when i run the explorer. 当我运行资源管理器时,它应该会自动启动。 Given that my geth is already running. 鉴于我的想法已经运行。

Thank you in advance! 先感谢您!

Maybe you are looking for something like this. 也许您正在寻找这样的东西。 auto-launch 自动启动

I also have no idea what Ether Explorer is, but maybe the above will help. 我也不知道什么是Ether Explorer,但也许以上内容会有所帮助。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 即使关闭终端后,如何为reactjs运行npm start? - How to run npm start for reactjs even after closing terminal? 如何在linux上不打开浏览器运行npm启动进行react开发 - How to run npm start without opening browser for react development on linux 是否可以在没有 npm start 的情况下运行 React 项目? - Is it possible to run React project without npm start? 如何让 npm 在终端中运行? - How do I get npm to run in terminal? 如何运行“ npm start”永远运行 - How to run “npm start” run forever Node.js 从终端运行应用程序一切正常,但是当应用程序通过 npm“启动”脚本启动时,它仅加载 html 而没有公共文件夹中的所有 static 文件 - Node.js run app from terminal all work fine but when app start by npm "start" script it load only html without all static files in public folder 如何使用“ nodemon”和简单的“ node”命令而不使用“ npm start”命令来运行Express的脚手架? - How to run express's scaffold using “nodemon” and simple “node” command, without using “npm start” command? 如何在进行大量更改的同时运行我的 MEAN 堆栈代码而无需重新启动 `npm start`? - How to run my MEAN stack code while making lots of changes without having to restart `npm start`? 如何运行使用npm启动服务器的网站 - How to run a website that uses npm to start the server 如何通过 PM2 运行“npm start”? - how to run "npm start" by PM2?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM