Closed MattLearn closed 5 years ago
@MattLearn please provide more information and steps to reproduce. Please also always provide tracebacks as text not as a picture.
@MattLearn I'm making a hard guess here, but I would say that the LESS loader has a problem? I don't know for what reason could that be... Also the SVG loader seems not to be working.
Closing due to inactivity. Feel free to re-open when more information about the problem is available.
@tisto Maybe this issue could be re-opened?
Edit: Error on Windows still exists. Tried the same steps as mentioned below on Debian 10.10 (64-Bit) and didn't get any errors.
I'm having the same problem on windows aswell.
For testing purposes I started with a fresh node 10 environment using nvm for windows.
This are the steps I took to install volto:
nvm install 10.17
nvm use 10.17
npm install -g @plone/create-volto-app@alpha /* installed v4.0.0-alpha */
npm install -g yarn
create-volto-app my-volto-app
cd my-volto-app
yarn start
The console output said something about Client compiled with errors
, the server compiled successfully. Upon yarn start
the website shows up in the browser for the split of a second but without any styles applied, before the error pops up.
Error message:
Failed to compile
./node_modules/semantic-ui-less/semantic.less 14:0
Module parse failed: Unexpected token (14:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|
| /* Global */
> & { @import "definitions/globals/reset"; }
| & { @import "definitions/globals/site"; }
|
This error occurred during the build time and cannot be dismissed.
The less-loader package is installed successfully and available in my node_modules... So I really don't know what would be causing this issue...
Btw, I'm also having a docker container running in the background, started with the command found in this repos README:
docker run -it --rm --name=plone -p 8080:8080 -e SITE=Plone -e ADDONS="kitconcept.voltodemo" -e ZCML="kitconcept.voltodemo.cors" plone
More info's on my system:
@AlexBueckig we don't support the build on Windows environments because we don't have enough bandwidth for it, at least for now.
Have you tried the WSL? https://docs.microsoft.com/en-us/windows/wsl/install-win10
I've heard lots of nice things about it.
I tried developing on WSL and it works, with docker for the backend plone. iirc also running regular plone through buildout works, installing python3.7 with linuxbrew.
@sneridagh Thanks for the info, I'll definitely give the WSL a try. 😃