Closed yiyanw closed 1 year ago
@michaelchin @matthew-merkas
I know it's not ideal, but I've been using --force. That's working for me. Maybe try deleting package-lock.json and node_modules and trying again?
Try npm install --legacy-peer-deps
or use node 16
I tried --force, --legacy-peer-deps, and delete package-loack.json, also I use node V16.17.1. However, the cesium.js report the same error " Module not found: Error: Can't resolve 'xxx' ". I will continuously try on it, please let me know if you have any new ideas. @michaelchin @matthew-merkas
Do not upgrade cesium. The latest cesium does not work.
Get Outlook for Androidhttps://aka.ms/AAb9ysg
From: yiyanw @.> Sent: Monday, October 17, 2022 5:46:49 PM To: GPlates/gplates-app @.> Cc: michaelchin @.>; Mention @.> Subject: Re: [GPlates/gplates-app] initialization problem (Issue #176)
I tried --force, --legacy-peer-deps, and delete package-loack.json, also I use node V16.17.1. However, the cesium.js report the same error " Module not found: Error: Can't resolve 'xxx' ". I will continuously try on it, please let me know if you have any new ideas. @michaelchinhttps://github.com/michaelchin @matthew-merkashttps://github.com/matthew-merkas
— Reply to this email directly, view it on GitHubhttps://github.com/GPlates/gplates-app/issues/176#issuecomment-1280369706, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAUQKPC5RR5R62LMRCHDMVDWDTY5TANCNFSM6AAAAAARGIQTAI. You are receiving this because you were mentioned.Message ID: @.***>
I checked package.json, the current cesium version is ^1.95.0. the version in node_modeles is 1.98.1. Which version I should use? @michaelchin
Use 1.95
Get Outlook for Androidhttps://aka.ms/AAb9ysg
From: yiyanw @.> Sent: Monday, October 17, 2022 5:56:27 PM To: GPlates/gplates-app @.> Cc: michaelchin @.>; Mention @.> Subject: Re: [GPlates/gplates-app] initialization problem (Issue #176)
I checked package.json, the current cesium version is ^1.95.0. the version in node_modeles is 1.98.1. Which version I should use? @michaelchinhttps://github.com/michaelchin
— Reply to this email directly, view it on GitHubhttps://github.com/GPlates/gplates-app/issues/176#issuecomment-1280377114, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAUQKPF6NYIBAH635FFIXGTWDT2BXANCNFSM6AAAAAARGIQTAI. You are receiving this because you were mentioned.Message ID: @.***>
@michaelchin it works on 1.95.
Btw, Eslint has error "ESLint: TypeError: this.libOptions.parse is not a function". This can be solved by downgrading to 8.22.x or earlier.
when I re-run "npm install", it got dependencies conflict:
I tried to run "npm install --force" to avoid this issue, but cesium.js had other problem when running "npm start":
I did some searching on it, there is a solution that we can degrade react-scripts to 4.0.x to solve this problem. However, more problems appear.
So I think I better post it to check whether someone else has the same issue, or I did something wrong with project settings.