Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not Working on Fresh Clone #1

Open
shellscape opened this issue Dec 8, 2021 · 0 comments
Open

Not Working on Fresh Clone #1

shellscape opened this issue Dec 8, 2021 · 0 comments

Comments

@shellscape
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant