Yesterday the build worked fine, but today I've made no changes and I'm 
getting npm issues:

npm WARN package.json graylog-web-interface@1.3.0-SNAPSHOT No repository 
field.
npm WARN package.json graylog-web-interface@1.3.0-SNAPSHOT No README data
npm http GET https://registry.npmjs.org/npm/3.3.4
npm http 200 https://registry.npmjs.org/npm/3.3.4
npm http GET https://registry.npmjs.org/npm/-/npm-3.3.4.tgz
npm http 200 https://registry.npmjs.org/npm/-/npm-3.3.4.tgz
npm WARN prefer global npm@3.3.4 should be installed with -g
npm@3.3.4 node_modules/npm
Using npm 
module.js:340
    throw err;
          ^
Error: Cannot find module 'are-we-there-yet'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> 
(/home/jesse/IdeaProjects/graylog2-web-interface/javascript/node_modules/npm/node_modules/npmlog/log.js:2:16)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)


Changing build_release.sh from:

# Install same npm version as we use in travis
rm -rf ./node_modules
npm install --no-spin npm@latest

to

# Install same npm version as we use in travis
rm -rf ./node_modules
npm install --no-spin npm@2


allows it to build properly. Any ideas?

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to graylog2+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/c5303cb6-f651-4cc5-bd04-fedab9a9e6da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to