Open RBFraxinus opened 7 years ago
I'm not having similar issues. What does node -v
show you?
@dce
robert@sequoia:/var/www/ia/gitprojects/nam-admin$ node -v
v8.4.0
Ok, that's a much newer version of node than what this app is set up to use (0.10.29). You might want to check out https://github.com/creationix/nvm to manage multiple versions of node.
looks like switching node versions did the trick!
@dce - I created a local copy of master and merged the humanitarian-scope branch (ngo-admin repo). The form styles were off, so i ran 'npm run grunt' (and ./node_modules/.bin/grunt) to compile/copy over the latest assets (really wish this repo had asset pipeline...). It threw an error. I can't get the assets to update because of it.
Did you try this at all? Have you gotten anything similar? The styles appear to be working fine on staging though...
Here is the grunt result:
robert@sequoia:/var/www/ia/gitprojects/nam-admin$ npm run grunt
(node:18058) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead. Running "clean:all" (clean) task
Running "jshint:all" (jshint) task Warning: Path must be a string. Received null Use --force to continue.
Aborted due to warnings.
Execution Time (2017-09-15 19:02:47 UTC) loading tasks 6ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 22% clean:all 3ms ▇▇▇▇▇▇▇▇▇▇▇▇ 11% jshint:all 17ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 63% Total 27ms
npm ERR! code ELIFECYCLE npm ERR! errno 3 npm ERR! iom@2.0.0 grunt:
grunt
npm ERR! Exit status 3 npm ERR! npm ERR! Failed at the iom@2.0.0 grunt script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in: npm ERR! /home/robert/.npm/_logs/2017-09-15T19_02_48_025Z-debug.log