pnpm-react-native-expo-example icon indicating copy to clipboard operation
pnpm-react-native-expo-example copied to clipboard

Not Working on Fresh Clone

Open shellscape opened this issue 4 years ago • 0 comments

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/[email protected] 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/[email protected]/node_modules/jest-haste-map/build/index.js:543:17)
    at workerReply (/Users/code/forks/pnpm-react-native-expo-example/node_modules/.pnpm/[email protected]/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/[email protected]/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/[email protected]/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)

shellscape avatar Dec 08 '21 21:12 shellscape