App
App copied to clipboard
Failed to deploy because of CONFIG.DEV missing
cc @tgolen after I merged https://github.com/AndrewGable/ReactNativeChat/pull/111 it failed to deploy
Module not found: Error: Can't resolve './CONFIG.DEV' in '/home/runner/work/ReactNativeChat/ReactNativeChat/src'
@ ./src/CONFIG.js 2:0-37 18:82-91
@ ./src/lib/actions/ActionsSession.js
@ ./src/Expensify.js
npm ERR! errno 2
npm ERR! [email protected] build: `webpack --config webpack.prod.js`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
@ ./src/App.js
@ ./web/index.js
Child HtmlWebpackCompiler:
1 asset
Entrypoint HtmlWebpackPlugin_0 = __child-HtmlWebpackPlugin_0
[0] ./node_modules/html-webpack-plugin/lib/loader.js!./web/index.html 3.27 KiB {0} [built]
npm ERR! A complete log of this run can be found in:
npm ERR! /home/runner/.npm/_logs/2020-08-13T01_04_59_619Z-debug.log
I have pushed a quick fix to fix the import, but we will need to think about how to handle this for deploys 🤔
Quick fix: https://github.com/AndrewGable/ReactNativeChat/commit/8a8e5fcbc98c69007c48bca1c58931e530866e78
This seems critical?
@tgolen is fixing in https://github.com/AndrewGable/ReactNativeChat/pull/133