ignite-bowser
ignite-bowser copied to clipboard
new version issue
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:
- Clear watchman watches:
watchman watch-del-all
. - Delete the
node_modules
folder:rm -rf node_modules && npm install
. - Reset Metro Bundler cache:
rm -rf /tmp/metro-bundler-cache-*
ornpm start -- --reset-cache
. - 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.
Had the same, got running by manually adding emotion-theming and emotion/core:
yarn add --dev @emotion/core && yarn add --dev emotion-theming
Same here.
Running: yarn add --dev @emotion/core && yarn add --dev emotion-theming
causes the white screen issue.
I know it is quite obvious, but to install previous working version: ignite new MyApp -b [email protected]
https://github.com/infinitered/ignite-bowser/pull/238 might fix this.
@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 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
.
@navneetgarggate6 Now that #238 has been merged and v4.6.1 released, can you please see if it fixes this problem for you?
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
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
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