You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When run npm start in a Ext JS CE application we have this ERROR:
[ext]: Writing content to \generatedFiles\desktop.json
i [ext]: Loading Build Environment
i [ext]: Waiting for changes...
i [ext]: Completed ext-webpack-plugin processing
× 「wdm」: Built at: 2019-02-12 20:05:39
ERROR in ./node_modules/react-hot-loader/dist/react-hot-loader.development.js
Module not found: Error: Can't resolve 'react-dom' in 'C:\laragon\www\treinamento\my-app\node_modules\react-hot-loader\dist'
@ ./node_modules/react-hot-loader/dist/react-hot-loader.development.js 10:31-51
@ ./node_modules/react-hot-loader/patch.js
@ multi (webpack)-dev-server/client?http://0.0.0.0:1962 react-hot-loader/patch
i 「wdm」: Failed to compile.
The text was updated successfully, but these errors were encountered:
I have seen this before but I'm not using CE. I resolved it by removing react and react-hot-loader from the devDependencies in package.json. Currently I'm running with the following "devDependencies": { "@sencha/ext-webpack-plugin": "~1.0.2", "command-line-args": "^5.0.2", "cross-env": "^5.2.0", "html-webpack-plugin": "^3.2.0", "portfinder": "^1.0.20", "webpack": "^4.27.1", "webpack-cli": "^3.1.2", "webpack-dev-server": "^3.1.14" }
When run npm start in a Ext JS CE application we have this ERROR:
[ext]: Writing content to \generatedFiles\desktop.json
i [ext]: Loading Build Environment
i [ext]: Waiting for changes...
i [ext]: Completed ext-webpack-plugin processing
× 「wdm」: Built at: 2019-02-12 20:05:39
ERROR in ./node_modules/react-hot-loader/dist/react-hot-loader.development.js
Module not found: Error: Can't resolve 'react-dom' in 'C:\laragon\www\treinamento\my-app\node_modules\react-hot-loader\dist'
@ ./node_modules/react-hot-loader/dist/react-hot-loader.development.js 10:31-51
@ ./node_modules/react-hot-loader/patch.js
@ multi (webpack)-dev-server/client?http://0.0.0.0:1962 react-hot-loader/patch
i 「wdm」: Failed to compile.
The text was updated successfully, but these errors were encountered: