Open devmattrick opened 5 years ago
My apologies, I was importing normalize, which is the npm package normalize.css
, not normalize
. It might still be worth changing the error to something less ambiguous, though.
Thank you for letting me know that it was not an error with this package! I might add better error handling in the future, you're absolutely right that it would be very useful!
https://github.com/maoberlehner/node-sass-magic-importer/issues/198
Could also be a problem with different npm versions resolving different versions of the dependencies. Do you use a lock file (yarn.lock
or package-lock.json
)?
198
Could also be a problem with different npm versions resolving different versions of the dependencies. Do you use a lock file (
yarn.lock
orpackage-lock.json
)?
Yes, we use a lock file.
Having the same issue. It seems issue at line 59 with const packagePath = path.dirname(findupSync(packageSearchPath, { cwd: options.cwd }));
findupSync
returns null and causes this issue. Adding a path.resolve before might solve this issue but not sure.
The documentation is saying Returns the first filepath found (by respecting the order) or null.
Any clue @maoberlehner ?
Hi! This looks like a great project but I'm having a bit of trouble using it. When I try to run it, it gives me this error:
This is the code I'm currently using:
Thanks for your time!