Closed svi3c closed 8 years ago
The typings error is gone now (seems I'd misspelled something in the tsconfig.json regarding the inclusion of rxjs). But one error still occurs regarding node-sass:-
fs.js:951
return binding.readdir(pathModule._makeLong(path), options.encoding);
^
Error: ENOENT: no such file or directory, scandir '/home/linne/Projects/ng2-jspm-template/node_modules/node-sass/vendor'
at Error (native)
at Object.fs.readdirSync (fs.js:951:18)
at Object.getInstalledBinaries (/home/linne/Projects/ng2-jspm-template/node_modules/node-sass/lib/extensions.js:119:13)
at foundBinariesList (/home/linne/Projects/ng2-jspm-template/node_modules/node-sass/lib/errors.js:20:15)
at foundBinaries (/home/linne/Projects/ng2-jspm-template/node_modules/node-sass/lib/errors.js:15:5)
at Object.module.exports.missingBinary (/home/linne/Projects/ng2-jspm-template/node_modules/node-sass/lib/errors.js:45:5)
at Object.<anonymous> (/home/linne/Projects/ng2-jspm-template/node_modules/node-sass/lib/index.js:15:28)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
This causes src/styles/main.scss
to not be watch and working on properly.
€dit: Running npm run dev-install
twice fixed the problem. Seem's that I've had some kind of "old" node modules within the project.
LGTM, thus ...
@DorianGrey what exactly were your issues? I only had problems compiling with plugin-typescript, because the rxjs typings entry was kicked out of package.json. Fixed that and now it works for me. Could you please re-check? Thanks in advance!