Open lorensr opened 12 years ago
The issue is due to a bad dependency definition on the npm package definition of persistencejs. The package defines the mysql dependeny's version (node-mysql) as larger or equal than 0.7.0, so basically npm currently installs mysql 0.9.4 as the latest version.
node-mysql however added changes in 0.9.2 that break backward compatibility after version 0.9.1, so basically persistencejs is downloading a dependency that breaks the package.
My current workaround is to separately download mysql 0.9.1 and copy/paste it in the persistencejs dependency folder, untill persistencejs is patched for that. (The patch should be relatively easy to produce given the changes made in the mysql module, I don't really have time to do it right now though :/).
Hopefully my pull request will squash this issue once and for all.
gives
persistencejs version 0.2.5