Module not found when building in circle ci, though it's found locally

nodejs

#1

As per title…

I’ve checked versions, I’m installing the same version of node I’m running locally, the same version of grunt, npm, bower.

When I run my grunt build task, the TypeScript compiler (also matching version) throws an error saying my Restangular module isn’t found. I know it’s pulled through, in the same path, due to the bower install logs.

I really can’t wrap my head around it. It’s a module whose path I’ve defined in my core requirejs configuration file, other modules are defined this way and do not throw the same error.

Any suggestions?


#2

Can you provide the full error message so we can see where it is looking for the module?


#3