VinayMatta63 / threejs-galaxy-generator

Three.js app to generate spiral shaped galaxies with many parameters (like texture, branches, rotation speed etc.) that can be tweaked by users.
2 stars 0 forks source link

Package subpath './package.json' is not defined by "exports" #1

Open mgerylrm opened 2 years ago

mgerylrm commented 2 years ago

Hello i facing this issue can you help me ? I'm trying installing with npm install but i have this

ERROR in ./src/style.css
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/css-loader/dist/cjs.js):
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './package.json' is not defined by "exports" in /home/mgery/Téléchargements/threejs-galaxy-generator/node_modules/postcss/package.jso
VinayMatta63 commented 2 years ago

Did you change some config in bundler folder? If not there might have been an issue while cloning the project because it seems to be working just fine. (You can try deleting node_modules folder and reinstalling if not already done).