I tried moving .bash_profile & .bashrc to a .bash_profile.old and .bashrc.old. Didn't fix anything. Below is the whole error message. I need to launch typescript compiler and run angular module by tomorrow. Appears to be something about cellar. See 1st or 2nd line. Cellar is a place where Homebrew puts Node I believe. So I may have installed node or npm in the proper place and there was some conflict with homebrew or there are two installations. Please don't ask me to reinstall node again globally because it took me a long time to figure it out that HOmebrew wants it where it wants it. ---------- 0 info it worked if it ends with ok 1 verbose cli [ '/usr/local/Cellar/node/8.8.1/bin/node', 1 verbose cli '/usr/local/bin/npm', 1 verbose cli 'run', 1 verbose cli 'build' ] 2 info using [email protected] 3 info using [email protected] 4 verbose run-script [ 'prebuild', 'build', 'postbuild' ] 5 info lifecycle [email protected]~prebuild: [email protected] 6 info lifecycle [email protected]~build: [email protected] 7 verbose lifecycle [email protected]~build: unsafe-perm in lifecycle true 8 verbose lifecycle [email protected]~build: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/Users/jrough/projects/toh-pt1/node_modules/.bin:/Applications/MAMP/bin/php/php5.4.10/bin:/usr/local/git/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:/Library/Frameworks/Mono.framework/Versions/Current/Commands 9 verbose lifecycle [email protected]~build: CWD: /Users/jrough/projects/toh-pt1 10 silly lifecycle [email protected]~build: Args: [ '-c', 'tsc -p src/' ] 11 silly lifecycle [email protected]~build: Returned: code: 2 signal: null 12 info lifecycle [email protected]~build: Failed to exec build script "~/.npm/_logs/2017-11-05T22_58_41_828Z-debug.log" 39L, 2496C
This is my /etc/paths file: ------------ /usr/local/git/bin /usr/local/bin /usr/bin /bin /usr/sbin /sbin -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
