mozilla / node-client-sessions

secure sessions stored in cookies
Mozilla Public License 2.0
759 stars 104 forks source link

Build fails on primordials is not defined #146

Open literakl opened 4 years ago

literakl commented 4 years ago

travis_fold:end:install.npm  travis_time:start:0bbd4669 $ npm test

client-sessions@0.8.0 test /home/travis/build/mozilla/node-client-sessions vows --spec

fs.js:39 } = primordials; ^

ReferenceError: primordials is not defined  at fs.js:39:5 at req_ (/home/travis/build/mozilla/node-client-sessions/node_modules/natives/index.js:143:24) at Object.req [as require] (/home/travis/build/mozilla/node-client-sessions/node_modules/natives/index.js:55:10) at Object. (/home/travis/build/mozilla/node-client-sessions/node_modules/graceful-fs/fs.js:1:37)  at Module._compile (internal/modules/cjs/loader.js:1147:30)  at Object.Module._extensions..js (internal/modules/cjs/loader.js:1167:10)  at Module.load (internal/modules/cjs/loader.js:996:32)  at Function.Module._load (internal/modules/cjs/loader.js:896:14)  at Module.require (internal/modules/cjs/loader.js:1036:19)  at require (internal/modules/cjs/helpers.js:72:18) npm ERR! Test failed. See above for more details. travis_time:end:0bbd4669:start=1584554475298024475,finish=1584554475541329723,duration=243305248,event= The command "npm test" exited with 1.