I'm having troubles with Zombie.js
and Behat
. I'm trying to install it locally to the project (as we're trying not to depend on global packages) but I keep getting Error: Cannot find module 'zombie/node_modules/tough-cookie'
when I run Behat.
Here's my behat.yml
default:
extensions:
MvLabs\Zf2Extension\Zf2Extension: ~
Behat\MinkExtension:
base_url: 'http://localhost'
sessions:
default:
zombie:
node_modules_path: ./node_modules/
And my package.json
{
"devDependencies": {
"zombie": "^4.2.1"
}
}