question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Packager isn't working for my hello world

See original GitHub issue

Description

I’m trying to start a new app following the readme steps. But npm start is taking too long.

I never used npm before, just saying. My guess it’s some dependence is missing, I even tried npm install -g react with no success (npm start keeps taking too long). I’m lost here.

Expected Behavior

Since it’s the very first time I’m trying to run this, I don’t really know what should be happening here.

Observed Behavior

npm start

InfoBusUFRN-App@0.1.0 start /home/mazuh/Projects/InfoBusUFRN-App react-native-scripts start 6:00:04 PM: Starting packager… 6:42:37 PM: Stopping packager… 6:42:37 PM: Packager stopped.

Environment

Please run these commands in the project folder and fill in their results:

  • npm ls react-native-scripts: InfoBusUFRN-App@0.1.0 /home/mazuh/Projects/InfoBusUFRN-App └── react-native-scripts@1.1.0

  • npm ls react-native: InfoBusUFRN-App@0.1.0 /home/mazuh/Projects/InfoBusUFRN-App └── react-native@0.46.4

  • npm ls expo: └─┬ expo@19.0.1 └── UNMET PEER DEPENDENCY react@>=15.3.1

npm ERR! peer dep missing: react@>=15.3.1, required by lottie-react-native@1.1.1 npm ERR! peer dep missing: react@>=15.4.0, required by react-native-branch@2.0.0-beta.3

  • node -v: v6.11.2

  • npm -v: 3.10.10

  • yarn --version: Not installed.

  • watchman version: Not found.

  1. Operating system: Ubuntu 17
  2. Phone/emulator/simulator & version: Android 6

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:17 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
limichangecommented, Aug 13, 2017

you can try this. turn off your wifi, and run it.

1reaction
vs1682commented, Aug 12, 2017

@Mazuh you should try @Brejw15’s solution. You can refer to https://github.com/react-community/create-react-native-app/issues/234. Those command tells if the system is capable of tracking your files for any changes. Watchman need those commands. Also refer https://facebook.github.io/watchman/docs/install.html#system-specific-preparation

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hello World Example not working · Issue #211 · Gottwik/Enduro
I'm trying to run the hello world example, but am getting the following error when loading the admin interface: Possibly related to #91...
Read more >
Hello World dotnet core example not working - Stack Overflow
The example gives package not found error: PS d:\test> dotnet new console --force The template "Console Application" was created successfully.
Read more >
Hello World - package name error - Heaps.io
Trying to get the first Hello World example working on Windows. I have this error in VS Code: Error: Could not process argument...
Read more >
Error message run I tried to run the hello world in java - Eclipse
It sems that the cheat sheet is out of date. There should be a step for package creation after project creation and before...
Read more >
Go (Golang) Hello World Tutorial Updated for Go 1.17
Learn to compile and run a simple hello world program using Go. You will learn how to run the program using go install,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found