decosoftware / decosoftware/deco-ide

"Cannot find module './cli'" when launching simulator

Open
#91 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.8k
Forks
300
PR merge metrics
No merged PRs in 30d

Description

After installing deco for the first time today and creating a new project, I see this error in the console after launching the simulator:

```
[15:45:18] Finished 'build' after 4.72 s
[15:45:18] Starting 'start'...
info: Deco initializing...
info: No user specified config file was found, falling back to default!

error: packager stderr module.js:341
throw err;
^

Error: Cannot find module './cli'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (internal/module.js:20:19)
at Object. (/Users/zcarter/.Deco/tmp/Project/node_modules/.bin/react-native:24:3)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Function.Module.runMain (module.js:447:10)

info: No user specified config file was found, falling back to default!

info: org.reactjs.native.example.Project: 28754

parent has disconnected, process will shut down
```

along with the red "cannot connect to dev server" error screen for the app.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.