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.

version 0.24.1 run device build error

See original GitHub issue

when I follow react init awesome and build on my device, below error appear 😦
I try to run on simulator and it works well, what happend and what should I do?

+ DEST=/Users/mengwenqiaoxindongcom/Library/Developer/Xcode/DerivedData/Demo-briqvyofemfxkdcgbbmztuidiirl/Build/Products/Debug-iphoneos/Demo.app
+ node /Users/mengwenqiaoxindongcom/pra/javascript/react-full_stack/react-native/0.24/Demo/node_modules/react-native/local-cli/cli.js bundle --entry-file index.ios.js --platform ios --dev true --bundle-output /Users/mengwenqiaoxindongcom/Library/Developer/Xcode/DerivedData/Demo-briqvyofemfxkdcgbbmztuidiirl/Build/Products/Debug-iphoneos/Demo.app/main.jsbundle --assets-dest /Users/mengwenqiaoxindongcom/Library/Developer/Xcode/DerivedData/Demo-briqvyofemfxkdcgbbmztuidiirl/Build/Products/Debug-iphoneos/Demo.app
/Users/mengwenqiaoxindongcom/pra/javascript/react-full_stack/react-native/0.24/Demo/node_modules/react-native/packager/react-packager/index.js:121
  return Object.keys(obj).reduce((clone, key) => {
                                            ^

SyntaxError: missing ) after argument list
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:413:25)
    at Module._extensions..js (module.js:448:10)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/mengwenqiaoxindongcom/pra/javascript/react-full_stack/react-native/0.24/Demo/node_modules/babel-register/lib/node.js:134:7)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (buildBundle.js:13:23)
    at Module._compile (module.js:430:26)
Command /bin/sh failed with exit code 1

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
bslaytoncommented, Apr 29, 2016

Figured out why. I had to set NVM default @ above node version 4 since it opens a new console session.

0reactions
ghostcommented, Apr 29, 2016

Hey @L-Jovi and thanks for posting this! @DanielMSchmidt tells me this issue looks like a question that would be best asked on StackOverflow. StackOverflow is amazing for Q&A: it has a reputation system, voting, the ability to mark a question as answered. Because of the reputation system it is likely the community will see and answer your question there. This also helps us use the GitHub bug tracker for bugs only. Will close this as this is really a question that should be asked on SO.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python Scikit-Learn 0.24.1 has not been built correctly
I am unable to run python code as follows and the error are as shown below: username@synology:~$ venv/bin/python3 /volume1/homes/username/Drive/ ...
Read more >
This operation can fail if the version of the OS on the device is ...
Hi. I have Xcode version 13.2.1 and when I try to run the app on iPhone I get this error: "This operation can...
Read more >
Release Notes — Documentation Qiskit 0.24.1
You can now run Qiskit Aer using Python 3.9 without building from source. ... where an error was thrown in execute for valid...
Read more >
Package List — Spack 0.20.0.dev0 documentation
This is a list of things you can install using Spack. It is automatically generated based on the packages in this Spack version....
Read more >
Can't build and run SDK examples on device - Unity Forum
1st error: Error running MLDB install ... Can't build any versions of my unity project to magic leap. Tried to add a custom...
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