Skip to content

Not Working on Fresh Clone #1

@shellscape

Description

@shellscape

Hey there. Just cloned this repo, ran pnpm install, and tried to run pnpm start in the react-native-v65 directory. Unfortunately it didn't work, and it just hangs on loading metro graph. I let it run for about 2 hours and it didn't progress. Here's the output:

→ pnpm start

> @live/template.react-native-v65@0.0.1 start /Users/code/forks/pnpm-react-native-expo-example/packages/react-native-v65
> react-native start

Reading config!
⠋ Loading Metro dependency graph (this may take a while on first load)--------------------------------------------------------------------------------
NOTE: Missing dependencies are reported to `tmp/err.log`.
Add them to pnpmfile.js and then run `pnpm update --depth=-1` in the project dir they are missing from.
--------------------------------------------------------------------------------
Not using expo
{
  hasReducedPerformance: false,
  port: 8081,
  type: 'initialize_started'
}
{ type: 'dep_graph_loading', hasReducedPerformance: false }
⠹ Loading Metro dependency graph (this may take a while on first load)jest-haste-map: Haste module naming collision: @live/app-template.expo-v42
  The following files share their name; please adjust your hasteImpl:
    * <rootDir>/../expo-v42/package.json
    * <rootDir>/../expo/package.json

Failed to construct transformer:  DuplicateError: Duplicated files or mocks. Please check the console for more info
    at setModule (/Users/code/forks/pnpm-react-native-expo-example/node_modules/.pnpm/jest-haste-map@26.6.2/node_modules/jest-haste-map/build/index.js:543:17)
    at workerReply (/Users/code/forks/pnpm-react-native-expo-example/node_modules/.pnpm/jest-haste-map@26.6.2/node_modules/jest-haste-map/build/index.js:614:9)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async Promise.all (index 31530)
    at async /Users/code/forks/pnpm-react-native-expo-example/node_modules/.pnpm/jest-haste-map@26.6.2/node_modules/jest-haste-map/build/index.js:426:22
    at async Function.load (/Users/code/forks/pnpm-react-native-expo-example/node_modules/.pnpm/metro@0.66.2/node_modules/metro/src/node-haste/DependencyGraph.js:143:36) {
  mockPath1: '../expo-v42/package.json',
  mockPath2: '../expo/package.json'
}
⠙ Loading Metro dependency graph (this may take a while on first load)

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