Cannot find find Module after NPM install


#1

This is probably a noob question. I imported a project from a internal dev.

It works for when I do npm serve when there are no node-module.
When i do NPM install I have this error
import {MapPainter, Arrow} from '../services/map.painter';

There is such file in my app.build.js.


#2

Do you have a file in services/map.painter?

That doesn’t seem to be an error from npm, but just a missing file locally.


#3

I fixed the problem. I think the issue was because of a missing file.

There is also was a problem with going from angular
"angular2": “2.0.0-beta.6”,
to

"angular2": "2.0.0-beta.15",

It cannot load Data.

Will update if i find a fix.