Closed ashiquemohammed closed 7 years ago
It seems to be a problem inside sass-loader for Webpack. Maybe sass-loader evolved and is not compatible anymore with the beta version of Webpack fixed in Fountain rc1.
Try upgrading to Fountain final which use a final version of Webpack.
Would upgrading the generator , update the project for the already generated project ?
It's not perfect but the question is well explained here: http://stackoverflow.com/questions/18480316/how-to-upgrade-existing-project-scaffolded-with-yeoman
That or you have to track down the compatibility issues between the versions of Webpack / style-loader / sass-loader. The first attempt I would make would be to remove the ^
of the sass-loader version number.
I upgraded the generator and the problem still exists.
It works on CI, just tried your options and works too. I don't see right now the difference which can cause the problem.
Haven't selected any of the continuous integration tools .
I update the generator, but "version": "1.0.0-rc1"
is the far i can get . Why is that ? I updated the generator starting with yo
.
npm i -g generator-fountain-angular1
then re-run yo
in your project
I did that and 1.0.0-rc1 is the version I see in .yo-rc.json
file and the issue still exists .
can you run npm ls -g --depth=0
and give me result ?
├── generator-fountain-angular1@1.0.0
├── generator-fountain-webapp@1.0.0
├── generator-gulp-angular@1.1.1
├── heroku@0.2.0
├── http-server@0.9.0
└── npm@4.1.2 ```
Can you publish your project somehere?
The project is the basic boiler plate created using the generator . Where do you want me to publish it ,
on github ?
Can you create a new directory and run yo inside this new folder ?
mkdir testFountainAngular1 && cd testFountainAngular1 && yo fountain-webapp && gulp serve:dist
I just run a basic boilerplate with this command and everything works
Yes , will do that . Thank you for taking the time to help me out .
Please find it on https://github.com/32teeths/fountainAngular1
I update the generator, but "version": "1.0.0-rc1" is the far i can get . Why is that ? I updated the generator starting with yo.
Just updated your project with yo
inside folder and now working ...
Description
I was trying out the Angular1 + Webpack choice from the generator . It works fine on dev server , But the built failes unfortunately .
Error Message & Stack Trace
Config
Copy the content from
.yo-rc.json
:Environment