ebeaufay / threedtiles

3DTiles viewer for three.js
MIT License
270 stars 32 forks source link

Hello, when I run "NPM run dev", webpack cli reports the following error #7

Closed WaterSeeding closed 1 year ago

WaterSeeding commented 2 years ago

image

Excuse me, how can I solve this problem?

ebeaufay commented 2 years ago

Hi, this seems like an error related to incompatible versions of webpack and webpack-cli.

I suppose if you installed some libraries globally, they might be taken into account before anything defined in package.json.

Check the versions you have installed, this is what I use:

"webpack": "^5.74.0", "webpack-cli": "^4.10.0", "webpack-dev-server": "^4.9.3",