Skip to content
This repository was archived by the owner on May 31, 2022. It is now read-only.
This repository was archived by the owner on May 31, 2022. It is now read-only.

running surrender --yarn cannot find modules #12

@jacketti

Description

@jacketti

Describe the bug
when I run surrender --yarn I get an error about modules.

To Reproduce
Steps to reproduce the behavior:

  1. install react-native-surrender using yarn global add...
  2. run surrender --yarn

Expected behavior
I expect the command to clear Watchman, remove node_modules and clean cache and other goodies

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Macos 10.14.3

Additional context

➜  app git:(master) ✗ surrender --yarn
module.js:550
    throw err;
    ^

Error: Cannot find module './commands/android'
    at Function.Module._resolveFilename (module.js:548:15)
    at Function.Module._load (module.js:475:25)
    at Module.require (module.js:597:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/Users/username/.config/yarn/global/node_modules/react-native-surrender/index.js:9:25)
    at Module._compile (module.js:653:30)
    at Object.Module._extensions..js (module.js:664:10)
    at Module.load (module.js:566:32)
    at tryModuleLoad (module.js:506:12)
    at Function.Module._load (module.js:498:3)```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions