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
I am encountering two issues with the create-react-app v 3.4.1 and craco-cesium v 1.2.0.
I created a simple application using create-react-app and install @craco, craco-cesium and cesium. See project package.json file
in the view, I have the following Cesium import line which returns undefined:
import Cesium from 'cesium';
console.log(Cesium);
after deleting the node_modules and package-lock.json files and running npm install the depencencies are installed again, though starting the app npm run start showing the following error:
$ npm run start
> [email protected] start /home/ababakanian/SNT/scenario_analyzer/desktopapp
> craco start
There might be a problem with the project dependency tree.
It is likely not a bug in Create React App, but something you need to fix locally.
The react-scripts package provided by Create React App requires a dependency:
"webpack": "4.42.0"
Don't try to install it manually: your package manager does it automatically.
However, a different version of webpack was detected higher up in the tree:
/home/ababakanian/SNT/scenario_analyzer/desktopapp/node_modules/webpack (version: 4.43.0)
I am encountering two issues with the create-react-app v 3.4.1 and craco-cesium v 1.2.0.
I created a simple application using create-react-app and install @craco, craco-cesium and cesium. See project package.json file
in the view, I have the following Cesium import line which returns undefined:
after deleting the
node_modules
andpackage-lock.json
files and runningnpm install
the depencencies are installed again, though starting the appnpm run start
showing the following error:listing the webpack versions. this is what I see:
the associated react-scripts uses webpack v 4.43.0 see https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/package.json#L81
though craco-cesium uses 4.42.1, see https://github.com/darwin-education/craco-cesium/blob/master/package.json#L15
is this the cause of the issue?
The text was updated successfully, but these errors were encountered: