Menu icon Foundation
Error building for production

Hi,

I am having issues building my Foundation 6 site for production.

When executing '$ npm run build' or '$ gulp build -production' in the root of my project, I get the following error twice:

dyld: Symbol not found: _node_module_register
  Referenced from: /Applications/MAMP/htdocs/zurb/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil/build/Release/bufferutil.node
  Expected in: dynamic lookup

Any idea what goes wrong?

terminalproduction buildgulp

Hi,

I am having issues building my Foundation 6 site for production.

When executing '$ npm run build' or '$ gulp build -production' in the root of my project, I get the following error twice:

dyld: Symbol not found: _node_module_register
  Referenced from: /Applications/MAMP/htdocs/zurb/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil/build/Release/bufferutil.node
  Expected in: dynamic lookup

Any idea what goes wrong?

Brandon Arnold over 3 years ago

Hey Lef, has this been resolved for you? I haven't had this issue my self.

John Lewis about 1 year ago

Bit of a necropost but for the searchers really:

 

foundation build --production

 

would most likely solve this in 6.x