I am trying to open a file on another folder with nodejs using an absolute path.
This file contains a js program that has to be executed the node.
I am using johnny five to program an Arduino but the file is not in the same folder as the node files and the libraries.
How can this be done?
相关问题
- npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fs
- Inheritance impossible in Windows Runtime Componen
- how to get running process information in java?
- Is TWebBrowser dependant on IE version?
- google-drive can't get push notifications
相关文章
- 在vscode如何用code runner打开独立的控制台窗口,以及设置好调试模式时窗口的编码?
- node连接远程oracle报错
- 如何让cmd.exe 执行 UNICODE 文本格式的批处理?
- 怎么把Windows开机按钮通过修改注册表指向我自己的程序
- Warning : HTML 1300 Navigation occured?
- How can make folder with Firebase Cloud Functions
- Bundling the Windows Mono runtime with an applicat
- Windows 8.1 How to fix this obsolete code?
This will get 'run.js' file from C disk. But if you already tried this, than please can you explain in more detail what you want to do?