Open ronaiza-cardoso opened 7 years ago
Same problem here :/
I found a temporary solution in:
https://github.com/FountainJS/generator-fountain-webapp/issues/150
Just do:
$ npm shrinkwrap
and replace code in node_modules > glob-stream > node-modules > glob-parent > index.js
to 3.0.0 version. likes this:
'use strict';
var path = require('path');
var isglob = require('is-glob');
module.exports = function globParent(str) {
str += 'a'; // preserves full path in case of trailing path separator
do {str = path.dirname(str)} while (isglob(str));
return str;
};
You use $ npm shrinkwrap
so you dont have to edit the files manually, but instead force it to use an older version of glob-parent.
This way, even when you were to set it up somewhere else, it'll use the old version and you wouldn't face it again, because it would just download glob-parent without the changes you made.
After $ npm shrinkwrap
it'll create a shrinkwrap.json
file for you where you can configure it to use the old non-broken version.
Is there any news to fix this by using the same thing we generate at the beginning? If the npm-shrinkwrap.json is the solution, is it ok if I commit the file to the generator?
Hi @paolocarrasco @yesroh I cannot reproduce it. Could you download the latest version of our generator (rc2) and tell me if it happens again ?
Description
I installed yo and was using the cli I to creating the hello world project. When I run the
npm run serve
it runs on port 3000 but the index.css is not delivered. I havegulp installed globally on version CLI version 3.9.1 and Local version 4.0.0-alpha.2Error Message & Stack Trace
when a change the
index.scss
toindex.css
I have this errorbut when I leave it the default way I have no error on cmd but on page dont appear nothing and the console says tha the
index.css
are not deliveredConfig
Copy the content from
.yo-rc.json
:Environment
Tell us which operating system you are using, as well as which versions of Node.js, npm, and yo. Run the following to get it quickly: