hi!
i was setting up PhantomJS for headless browser testing with the existing code ,
i get following error saying
exact output
type or paste code hereRunning "connect:server" (connect) task
Started connect web server on http://localhost:8000
Running "mocha_phantomjs:all" (mocha_phantomjs) task
Did you just try to use p5.js's text() function? If so, you may want to move it into your sketch's setup() function.
For more details, see: https://github.com/processing/p5.js/wiki/Frequently-Asked-Questions#why-cant-i-assign-variables-using-p5-functions-and-variables-before-setup
TypeError: undefined is not an object (evaluating '(self.AudioContext||self.webkitAudioContext).prototype')
at file:///home/endurance21/gsoc/p5.js-sound/lib/p5.sound.js:2978
at file:///home/endurance21/gsoc/p5.js-sound/lib/p5.sound.js:2978
in __webpack_require__ at file:///home/endurance21/gsoc/p5.js-sound/lib/p5.sound.js:84
at file:///home/endurance21/gsoc/p5.js-sound/lib/p5.sound.js:2899
at file:///home/endurance21/gsoc/p5.js-sound/lib/p5.sound.js:2972
in __webpack_require__ at file:///home/endurance21/gsoc/p5.js-sound/lib/p5.sound.js:84
at file:///home/endurance21/gsoc/p5.js-sound/lib/p5.sound.js:120
i didn’t understand the part saying
why-cant-i-assign-variables-using-p5-functions-and-variables-before-setup
which i think is something to do p5.js code
@lmccart @therewasaguy
please help!