edina / fieldtrip-cps

A cat protection fieldtrip app
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

npm run bundle error on MAC OSX #42

Closed gmh04 closed 8 years ago

gmh04 commented 8 years ago

survey-designer@0.9.9 bundle /Users/xyz/geo-dev/survey-designer echo 'production' > config/.env & jspm bundle-sfx --minify app/main dist/main.js

 Building the single-file sfx bundle for app/main...

err SyntaxError: app/templates/general-fieldset.jst: 'with' in strict mode (3:0) 1 | module.exports = function(obj){ 2 | var t,p='',j=Array.prototype.join,print=function(){p+=__j.call(arguments,'');};

3 | with(obj||{}){ | ^ 4 | p+='

\n '+ 5 | ((t=( translate("general.field-title") ))==null?'':__t)+ 6 | '\n

npm ERR! Darwin 15.6.0 npm ERR! argv "/Users/xyz/.nvm/versions/node/v4.0.0/bin/node" "/Users/ghamilt2/.nvm/versions/node/v4.0.0/bin/npm" "run" "bundle" npm ERR! node v4.0.0 npm ERR! npm v2.14.2 npm ERR! code ELIFECYCLE npm ERR! survey-designer@0.9.9 bundle: echo 'production' > config/.env & jspm bundle-sfx --minify app/main dist/main.js npm ERR! Exit status 1

gmh04 commented 8 years ago

be explicit about jspm version in documentation:

https://github.com/edina/survey-designer/wiki/Development-Environment#user-content-clone-the-sd-repo-and-install-all-the-libs