Closed EyeOfMidas closed 9 years ago
You need to npm install vulcanize -g
and browserify. I'm gonna updates
the readme and also sed if this is doable without global installs.
El 2/10/2015 7:26 p. m., "Justin Gilman" notifications@github.com
escribió:
It would be nice if you added in to the README or wiki some information about how to set up the development environment. I've got the bower install working, but when trying to buildjs, I get ./buildjs.sh vulcanize & browserify ./buildjs.sh: line 4: vulcanize: command not found ./buildjs.sh: line 6: browserify: command not found
and I'm not sure what to do to resolve this issue.
— Reply to this email directly or view it on GitHub https://github.com/gipsy-king/civmap-client/issues/78.
Ok, I did the global install, and now I get these two errors
Error: Cannot find module 'browserify-shim' from '[my civmap-client path]'
at /usr/local/lib/node_modules/browserify/node_modules/resolve/lib/async.js:46:17
at process (/usr/local/lib/node_modules/browserify/node_modules/resolve/lib/async.js:173:43)
at ondir (/usr/local/lib/node_modules/browserify/node_modules/resolve/lib/async.js:188:17)
at load (/usr/local/lib/node_modules/browserify/node_modules/resolve/lib/async.js:69:43)
at onex (/usr/local/lib/node_modules/browserify/node_modules/resolve/lib/async.js:92:31)
at /usr/local/lib/node_modules/browserify/node_modules/resolve/lib/async.js:22:47
at Object.oncomplete (fs.js:107:15)
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
Ignoring duplicate element definition: undefined
[Error: This version of vulcanize is not compatible with Polymer < 0.8. Please use vulcanize 0.7.x. File: [some file here]
npm install browserify-shim doesn't seem to work, and I'm not sure how to specify a specific version of vulcanize when using npm. But I'm one step closer!
Hmm I'm gonna npm shrinkwrap to pin the versión numbers and generally test install. I hope I have time tomorrow, otherwise monday. El 3/10/2015 12:08 a. m., "Justin Gilman" notifications@github.com escribió:
Ok, I did the global install, and now I get these two errors
Error: Cannot find module 'browserify-shim' from '/home/local/ADINFOCENTER/justin.gilman/src/civmap-client' at /usr/local/lib/node_modules/browserify/node_modules/resolve/lib/async.js:46:17 at process (/usr/local/lib/node_modules/browserify/node_modules/resolve/lib/async.js:173:43) at ondir (/usr/local/lib/node_modules/browserify/node_modules/resolve/lib/async.js:188:17) at load (/usr/local/lib/node_modules/browserify/node_modules/resolve/lib/async.js:69:43) at onex (/usr/local/lib/node_modules/browserify/node_modules/resolve/lib/async.js:92:31) at /usr/local/lib/node_modules/browserify/node_modules/resolve/lib/async.js:22:47 at Object.oncomplete (fs.js:107:15)
Ignoring duplicate element definition: undefined Ignoring duplicate element definition: undefined Ignoring duplicate element definition: undefined Ignoring duplicate element definition: undefined Ignoring duplicate element definition: undefined Ignoring duplicate element definition: undefined Ignoring duplicate element definition: undefined Ignoring duplicate element definition: undefined Ignoring duplicate element definition: undefined Ignoring duplicate element definition: undefined Ignoring duplicate element definition: undefined Ignoring duplicate element definition: undefined Ignoring duplicate element definition: undefined Ignoring duplicate element definition: undefined Ignoring duplicate element definition: undefined Ignoring duplicate element definition: undefined Ignoring duplicate element definition: undefined Ignoring duplicate element definition: undefined Ignoring duplicate element definition: undefined Ignoring duplicate element definition: undefined Ignoring duplicate element definition: undefined Ignoring duplicate element definition: undefined Ignoring duplicate element definition: undefined Ignoring duplicate element definition: undefined Ignoring duplicate element definition: undefined Ignoring duplicate element definition: undefined Ignoring duplicate element definition: undefined Ignoring duplicate element definition: undefined Ignoring duplicate element definition: undefined Ignoring duplicate element definition: undefined Ignoring duplicate element definition: undefined Ignoring duplicate element definition: undefined Ignoring duplicate element definition: undefined [Error: This version of vulcanize is not compatible with Polymer < 0.8. Please use vulcanize 0.7.x. File: [some file here]
npm install browserify-shim doesn't seem to work, and I'm not sure how to specify a specific version of vulcanize when using npm. But I'm one step closer!
— Reply to this email directly or view it on GitHub https://github.com/gipsy-king/civmap-client/issues/78#issuecomment-145167646 .
No worries! Thanks for helping me out.
@EyeOfMidas latest commit 0deebe6 (in master) should help with several issues, could you try?
Aha! It works!
npm install
bower update
./buildjs.sh
And now I have a working map :D Thanks a ton.
Great!
It would be nice if you added in to the README or wiki some information about how to set up the development environment. I've got the bower install working, but when trying to buildjs, I get
and I'm not sure what to do to resolve this issue.