emulsify-ds / emulsify-drupal

Drupal theme built with Storybook and Webpack
GNU General Public License v2.0
92 stars 42 forks source link

Unable to yarn install on node 16.13.0 or 17.0.1 #228

Closed marceldobrica closed 3 years ago

marceldobrica commented 3 years ago

emulsify version (see releases): 3.0.2 node version: 16.13.0 or 17.0.1 npm (or yarn) version: npm 8.1.3 yarn 1.22.17 What you did: follow docs.emulsify.info - composer & drupal install ... cd../../custom/Theme/.... and npm install... not working... delete node_modules... yarn install... not working. What happened:

Reproduction repository (if necessary):

Problem description:

Suggested solution: Please mention what node version to use.

ModulesUnraveled commented 3 years ago

Hi, thanks for reporting!

There's a .nvmrc file that, I think, references v14 right now.

We recommend using nvm so that you can automate the process of using the correct node/npm version. This might help: https://stackoverflow.com/questions/23556330/run-nvm-use-automatically-every-time-theres-a-nvmrc-file-on-the-directory

Please feel free to reopen this if that doesn't solve your issue!