ignite-bowser icon indicating copy to clipboard operation
ignite-bowser copied to clipboard

new version issue

Open navneetgarggate6 opened this issue 5 years ago • 10 comments

I am getting following error in running the server

Looking for JS files in /home/owner/projects/BikeMaintenance/BikeMaintenance

Loading dependency graph, done. error: bundling failed: Error: Unable to resolve module emotion-theming from /home/owner/projects/BikeMaintenance/BikeMaintenance/node_modules/@storybook/react-native/dist/preview/index.js: Module emotion-theming does not exist in the Haste module map

This might be related to https://github.com/facebook/react-native/issues/4968 To resolve try the following:

  1. Clear watchman watches: watchman watch-del-all.
  2. Delete the node_modules folder: rm -rf node_modules && npm install.
  3. Reset Metro Bundler cache: rm -rf /tmp/metro-bundler-cache-* or npm start -- --reset-cache.
  4. Remove haste cache: rm -rf /tmp/haste-map-react-native-packager-*. at ModuleResolver.resolveDependency (/home/owner/projects/BikeMaintenance/BikeMaintenance/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:183:15) at ResolutionRequest.resolveDependency (/home/owner/projects/BikeMaintenance/BikeMaintenance/node_modules/metro/src/node-haste/DependencyGraph/ResolutionRequest.js:52:18) at DependencyGraph.resolveDependency (/home/owner/projects/BikeMaintenance/BikeMaintenance/node_modules/metro/src/node-haste/DependencyGraph.js:283:16) at Object.resolve (/home/owner/projects/BikeMaintenance/BikeMaintenance/node_modules/metro/src/lib/transformHelpers.js:264:42) at dependencies.map.result (/home/owner/projects/BikeMaintenance/BikeMaintenance/node_modules/metro/src/DeltaBundler/traverseDependencies.js:399:31) at Array.map () at resolveDependencies (/home/owner/projects/BikeMaintenance/BikeMaintenance/node_modules/metro/src/DeltaBundler/traverseDependencies.js:396:18) at /home/owner/projects/BikeMaintenance/BikeMaintenance/node_modules/metro/src/DeltaBundler/traverseDependencies.js:269:33 at Generator.next () at asyncGeneratorStep (/home/owner/projects/BikeMaintenance/BikeMaintenance/node_modules/metro/src/DeltaBundler/traverseDependencies.js:87:24) BUNDLE [android, dev] ./index.js ▓▓▓▓▓▓▓▓░░░░░░░░ 52.2% (555/791), failed.

navneetgarggate6 avatar Aug 09 '19 09:08 navneetgarggate6

Had the same, got running by manually adding emotion-theming and emotion/core:

yarn add --dev @emotion/core && yarn add --dev emotion-theming

plrdev avatar Aug 09 '19 11:08 plrdev

Same here.

Running: yarn add --dev @emotion/core && yarn add --dev emotion-theming

causes the white screen issue.

martin-richter-uk avatar Aug 12 '19 08:08 martin-richter-uk

I know it is quite obvious, but to install previous working version: ignite new MyApp -b [email protected]

martin-richter-uk avatar Aug 12 '19 09:08 martin-richter-uk

https://github.com/infinitered/ignite-bowser/pull/238 might fix this.

bryanstearns avatar Aug 13 '19 23:08 bryanstearns

@bryanstearns Getting these errors and warnings, Should I open a new issue for this?

✖ ignite-bowser was not able to be installed. Is it a valid NPM module?

Command failed: yarn add ignite-bowser --dev warning solidarity > gluegun > enquirer > [email protected]: Critical bug fixed in v3.0.1, please upgrade to the latest version. warning solidarity > gluegun > prompt-autocompletion > prompt-choices > [email protected]: Critical bug fixed in v3.0.1, please upgrade to the latest version. warning solidarity > gluegun > enquirer > prompt-question > prompt-choices > [email protected]: Critical bug fixed in v3.0.1, please upgrade to the latest version. warning "react-navigation > [email protected]" has unmet peer dependency "react-native-screens@^1.0.0 || ^1.0.0-alpha". warning "react-navigation > [email protected]" has unmet peer dependency "react-native-screens@^1.0.0 || ^1.0.0-alpha". warning "react-navigation > [email protected]" has unmet peer dependency "react-native-screens@^1.0.0 || ^1.0.0-alpha". warning " > [email protected]" has unmet peer dependency "reactotron-core-client@^2.5.0". warning "@storybook/addon-storyshots > @storybook/addons > @storybook/api > @storybook/[email protected]" has unmet peer dependency "react-dom@". warning "@storybook/react-native > @storybook/client-api > @storybook/[email protected]" has unmet peer dependency "react-dom@". warning "@storybook/addon-storyshots > @storybook/addons > @storybook/api > @storybook/router > @reach/[email protected]" has unmet peer dependency "[email protected] || 16.x || 16.4.0-alpha.0911da3". warning " > @typescript-eslint/[email protected]" has incorrect peer dependency "eslint@^5.0.0". warning " > @typescript-eslint/[email protected]" has incorrect peer dependency "eslint@^5.0.0". warning " > [email protected]" has incorrect peer dependency "eslint@^3.17.0 || ^4 || ^5". error Command failed with exit code 1.


⠼ ▸ installing react-native-gesture-handler@^1.3.0 There were errors while generating the project. Run with --debug to see verbose output.

an error occured while installing ignite-bowser boilerplate. { Error: Command failed: yarn add react-native-gesture-handler@^1.3.0 warning "react-navigation > [email protected]" has unmet peer dependency "react-native-screens@^1.0.0 || ^1.0.0-alpha". warning "react-navigation > [email protected]" has unmet peer dependency "react-native-screens@^1.0.0 || ^1.0.0-alpha". warning "react-navigation > [email protected]" has unmet peer dependency "react-native-screens@^1.0.0 || ^1.0.0-alpha". warning " > [email protected]" has unmet peer dependency "reactotron-core-client@^2.5.0". warning "@storybook/react-native > @storybook/client-api > @storybook/[email protected]" has unmet peer dependency "react-dom@". warning "@storybook/addon-storyshots > @storybook/addons > @storybook/api > @storybook/[email protected]" has unmet peer dependency "react-dom@". warning "@storybook/addon-storyshots > @storybook/addons > @storybook/api > @storybook/router > @reach/[email protected]" has unmet peer dependency "[email protected] || 16.x || 16.4.0-alpha.0911da3". warning " > @typescript-eslint/[email protected]" has incorrect peer dependency "eslint@^5.0.0". warning " > @typescript-eslint/[email protected]" has incorrect peer dependency "eslint@^5.0.0". warning " > [email protected]" has incorrect peer dependency "eslint@^3.17.0 || ^4 || ^5". error Command failed with exit code 1.

at ChildProcess.exithandler (child_process.js:294:12)
at ChildProcess.emit (events.js:198:13)
at maybeClose (internal/child_process.js:982:16)
at Socket.stream.socket.on (internal/child_process.js:389:11)
at Socket.emit (events.js:198:13)
at Pipe._handle.close (net.js:606:12)

killed: false, code: 1, signal: null, cmd: 'yarn add react-native-gesture-handler@^1.3.0', stderr: 'warning "react-navigation > [email protected]" has unmet peer dependency "react-native-screens@^1.0.0 || ^1.0.0-alpha".\nwarning "react-navigation > [email protected]" has unmet peer dependency "react-native-screens@^1.0.0 || ^1.0.0-alpha".\nwarning "react-navigation > [email protected]" has unmet peer dependency "react-native-screens@^1.0.0 || ^1.0.0-alpha".\nwarning " > [email protected]" has unmet peer dependency "reactotron-core-client@^2.5.0".\nwarning "@storybook/react-native > @storybook/client-api > @storybook/[email protected]" has unmet peer dependency "react-dom@".\nwarning "@storybook/addon-storyshots > @storybook/addons > @storybook/api > @storybook/[email protected]" has unmet peer dependency "react-dom@".\nwarning "@storybook/addon-storyshots > @storybook/addons > @storybook/api > @storybook/router > @reach/[email protected]" has unmet peer dependency "[email protected] || 16.x || 16.4.0-alpha.0911da3".\nwarning " > @typescript-eslint/[email protected]" has incorrect peer dependency "eslint@^5.0.0".\nwarning " > @typescript-eslint/[email protected]" has incorrect peer dependency "eslint@^5.0.0".\nwarning " > [email protected]" has incorrect peer dependency "eslint@^3.17.0 || ^4 || ^5".\nerror Command failed with exit code 1.\n' } error installing boilerplate

ahmedjamshed avatar Aug 15 '19 20:08 ahmedjamshed

@ahmedjamshed I'm pretty sure that's not this issue. It might be the same as https://github.com/infinitered/ignite-bowser/issues/223 - can you check, and if not, open a new one; please be sure to include the exact command you ran, plus the output of ignite doctor.

bryanstearns avatar Aug 15 '19 21:08 bryanstearns

@navneetgarggate6 Now that #238 has been merged and v4.6.1 released, can you please see if it fixes this problem for you?

bryanstearns avatar Aug 15 '19 21:08 bryanstearns

When used old version it's working but when install new version ignit-bowser 4.6.1 getting error!

Ignite doctor `System platform win32

arch x64 cpu 4 cores AMD Ryzen 3 1300X Quad-Core Processor directory F:\My Projects\Si Ngacir\Prototype

JavaScript node 12.8.0 C:\Program Files\nodejs\node.EXE npm 6.10.3 C:\Program Files\nodejs\npm.CMD yarn 1.17.3 C:\Program Files (x86)\Yarn\bin\yarn.CMD

React Native react-native-cli 2.0.1

Ignite ignite-cli 3.1.6 C:\Users\hai\AppData\Local\Yarn\bin\ignite.CMD

Android java - C:\ProgramData\Oracle\Java\javapath\java.EXE android home - C:\Users\hai\AppData\Local\Android\Sdk`

For Old Version ` igniting app SiNgacir
You're using a prerelease version of [email protected].
using the Infinite Red boilerplate v3 (code name 'Bowser')
added React Native 0.58.6 in 211.31s
added ignite-bowser in 336.41s
configured git
Installed dependencies
Linked dependencies
ignited SiNgacir in 599.17s

Ignite CLI ignited SiNgacir in 599.17s

To get started:

cd SiNgacir                                                                                 
react-native run-ios                                                                        
react-native run-android                                                                    
ignite --help                                                                               
                                                                                            

Need additional help? Join our Slack community at http://community.infinite.red.

Now get cooking! 🍽

(Running yarn install one last time to make sure everything is installed -- please be patient!

yarn complete`

And New Version `🔥 igniting app SiNgacirBowser √ using the Infinite Red boilerplate v3 (code name 'Bowser') √ added React Native 0.60.4 in 74.44s √ added ignite-bowser in 80.18s an error occured while installing ignite-bowser boilerplate. Error: Command failed: yarn pod was unexpected at this time. error Command failed with exit code 1.

at ChildProcess.exithandler (child_process.js:295:12)
at ChildProcess.emit (events.js:203:13)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5) {

killed: false, code: 1, signal: null, cmd: 'yarn', stderr: 'pod was unexpected at this time.\r\nerror Command failed with exit code 1.\n' } error installing boilerplate`

Update For Version 4.5.0 Successfull

What version requirement for new ignite-bowser 4.6.0 and above? Error install react-native 0.60.4

Thank you

alhiro avatar Aug 16 '19 01:08 alhiro

New error with latest commits ignite-bowser was not able to be installed. Is it a valid NPM module? Command failed: yarn add ignite-bowser --dev

humarkx avatar Aug 16 '19 19:08 humarkx

I had the same problem, my solution was to verify that I didn't have the android sdk, java 8 and react-native-cli installed

arepageek avatar Oct 21 '19 01:10 arepageek