Open sibbl opened 8 years ago
This is indeed a problem, also on a mac. I did the following to fix this quickly:
$ cd node_modules/angular-translate-extract
$ npm install
$ npm run build
Ofcourse this is far from ideal, but it worked for me.I have to say, if you set up everything correctly it absolutely works like a charm. The extra info (empty/updated/deleted/new) are really usefull. Reason for me for changing from gulp-angular-translate-extract to this module is it's ability to extract strings in ternary operators. Great work!
I just installed the module via
npm install -D angular-translate-extract
but when importing it, Node always tells me that itCannot find module 'angular-translate-extract'
.As far as I can see, the
"main": "./lib/index.js",
inside thepackage.json
refers to a lib folder, which does not exist in my localnode_modules/angular-translate-extract
directory.I'm using the latest node and npm versions on Windows. Is it possible that the
rm
of theprebuild
steps might be the reason as it's not available on Windows?Update: removing the
prebuild
step and compiling it myself withnpm run build
in the directory helped. I guess you should rather use rimraf or some other useful package for this.