andrey-skl / ng-annotate-loader

Webpack loader to annotate angular applications
MIT License
120 stars 28 forks source link

Babel example doesn't work #14

Closed britter closed 8 years ago

britter commented 8 years ago

I'm having trouble getting ng-annotate-loader to work together with babel-loader, so I tried the babel example.

After npm install babel babel-loader and then running webpack in the examples/babel folder I get:

$ webpack
Hash: d6b7d6bad8ca0746b6ec
Version: webpack 1.12.2
Time: 55ms
    + 1 hidden modules

ERROR in Cannot find module 'ng-annotate'
andrey-skl commented 8 years ago

Sorry, but you did it wrong. Please run npm install on root and then npm test

britter commented 8 years ago

Thank you for the pointer, that did the trick.

andrey-skl commented 8 years ago

@britter thank you for reporting, I'm going to put it into the readme.