HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Problem, theme-boilerplate vanilla build Node v13.12.0 - "ReferenceError: primordials not defined"

I follow the instructions for building the custom theme based on boilerplate.

When I try.

vanilla build

I get "ReferenceError: primordials is not defined" which I know is the problem with specific version for example, node and gulp or some other packages.

Path /home/user/.config/composer/vendor/vanilla/vanilla-cli/node_modules/natives/index.js:143

I use nvm so I tried with multiple versions of node without any luck.

Can anyone help with the problem?

Comments

  • UPDATE:

    Well I managed to get it work with node version: v10.17.0 and vanilla build --reinitialize

    However know the new custom theme brakes, with smarty syntax error, so I additionally had to remove:

    in default.master.tpl line 41

    {knowledge_link format=$linkFormat}

    Only now I can see the theme.

    R_J
Sign In or Register to comment.