SolidOS / solid-ui

User Interface widgets and utilities for Solid
https://solidos.github.io/solid-ui/dist/solid-ui.js
MIT License
148 stars 41 forks source link

npm run build-form-examples uanble to compile #559

Open vishkudlu opened 5 months ago

vishkudlu commented 5 months ago

Getting this error on npm run build-form-examples:

ERROR in ./lib/index.js 167:19-43 Module not found: Error: Can't resolve './versionInfo' in 'C:\Users\KaranthP\solid-ui\lib' resolve './versionInfo' in 'C:\Users\KaranthP\solid-ui\lib' using description file: C:\Users\KaranthP\solid-ui\package.json (relative path: ./lib) Field 'browser' doesn't contain a valid alias configuration using description file: C:\Users\KaranthP\solid-ui\package.json (relative path: ./lib/versionInfo) no extension Field 'browser' doesn't contain a valid alias configuration C:\Users\KaranthP\solid-ui\lib\versionInfo doesn't exist .js Field 'browser' doesn't contain a valid alias configuration C:\Users\KaranthP\solid-ui\lib\versionInfo.js doesn't exist .json Field 'browser' doesn't contain a valid alias configuration C:\Users\KaranthP\solid-ui\lib\versionInfo.json doesn't exist .wasm Field 'browser' doesn't contain a valid alias configuration C:\Users\KaranthP\solid-ui\lib\versionInfo.wasm doesn't exist as directory C:\Users\KaranthP\solid-ui\lib\versionInfo doesn't exist

webpack 5.91.0 compiled with 1 error in 1755 ms

bourgeoa commented 5 months ago

Try to remove ./versionInfo or rm -r node_modules and RM package-lock.json and then run install