-1
Hi everyone,

I am new to mini apps but I followed the documentation of [Electrode native]    
(https://native.electrode.io/v/v0.31/quick-start/getting-started) and [this]    
(https://github.com/electrode-io/electrode-native).I am facing same issue again and     again. My 
installation versions are -
electrode-native: 1.0.17
ern platform: 0.40.0
node version - 9.1.0
react-native-cli: 2.0.1

I am trying to create a new project using ern create-miniapp MovieListMiniApp but         getting 
this error. The yarn file is already at this location .ern\versions    \0.40.0\node_modules\ern- 
core\node_modules\.bin\yarn but its continuously telling me   

'错误:产生 .ern\versions\0.40.0\node_modules\ern-core\node_modules.bin\yarn ENOENT events.js:196 throw er; // 未处理的“错误”事件 ^ 错误:在 Process.ChildProcess._handle.onexit (internal/child_process.js:266:19) 处生成 C:\Users.ern\versions\0.40.0\node_modules.bin\yarn ENOENT onErrorNT (internal/child_process.js:468:16) at processTicksAndRejections (internal/process/task_queues.js:84:21) 在 ChildProcess 实例上发出“错误”事件:在 Process.ChildProcess._handle.onexit (internal/child_process. js:272:12) onErrorNT (internal/child_process.js:468:16) at processTicksAndRejections (internal/process/task_queues.js:84:21) { errno: -4058, code: 'ENOENT', syscall: 'spawn C:\Users.ern\versions\0.40.0\node_modules.bin\yarn',路径:'C:\Users.

Please help me. Thanks in advance.
4

1 回答 1

0

我尝试了很多,研究了很多,但没有找到运气。所以最终我发现问题出在 Window machine 上。当我在mac机器上尝试运行良好时,根本原因是 Electrode Native 还不是很成熟,它与 Windows 架构不兼容。所以最好使用 mac 或基于通用 Linux 的机器,直到迷你应用团队修复它。

于 2020-04-09T11:24:11.187 回答