fourlabsldn / dep-linker

Copy your npm dependencies to server them to the front-end.
4 stars 3 forks source link

Linked Deps fail to load on ubuntu #4

Open zparduhn opened 7 years ago

zparduhn commented 7 years ago

I've been using dep-linker for development on os sierra. Very happy. When I deployed to test on my remote server I get an error "Uncaught SyntaxError: Unexpected token < "

Here's my gulp task gulp.task('link-dependencies', function () { return depLinker.linkDependenciesTo('./public/scripts'); });

and I've tried

gulp.task('link-dependencies', function () { return depLinker.copyDependenciesTo('./public/scripts'); });

I don't know if I'm having a friday end of a long week trouble or if it is incompatible with unix folder structures.

zparduhn commented 7 years ago

I also thought of running gulp on the remote server and I get this error getPackageJson(root = this.projectRoot) { ^ SyntaxError: Unexpected token =

lazamar commented 7 years ago

Hmm. Can you post the stack trace?