-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
just updated to 3.4.0 and I get this:
========================================
Your Yarn packages are out of date!
Please run `yarn install` to update.
========================================
To disable this check, please add `config.webpacker.check_yarn_integrity = false`
to your Rails development config file (config/environments/development.rb).
yarn check v1.5.1
warning package.json: No license field
warning No license field
warning Integrity check: Flags don't match
error Integrity check failed
error An unexpected error occurred: "Found 1 errors.".
info If you think this is a bug, please open a bug report with the information provided in "/Users/markus/svn/caseman-events/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/check for documentation about this command.
If I run it manually, everything is fine:
→ yarn check --integrity [demo/develop]
yarn check v1.5.1
warning package.json: No license field
warning No license field
success Folder in sync.
Done in 0.10s.
If I use NODE_ENV=production
I can reproduce it:
→ NODE_ENV=production yarn check --integrity [demo/develop]
yarn check v1.5.1
warning package.json: No license field
warning No license field
warning Integrity check: Flags don't match
error Integrity check failed
error An unexpected error occurred: "Found 1 errors.".
info If you think this is a bug, please open a bug report with the information provided in "/Users/markus/svn/caseman-events/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/check for documentation about this command.
If I install with production ...
NODE_ENV=production yarn install
... I can use rails again and the rails integrity check works. But of course I want to use my development yarn packages, so this is no solution.
The problems seems to be that yarn check --integrity
is run with NODE_ENV=producion
, even locally when developing.
roolo, Chagchen, pablorsk, yb66, surgentt and 10 moreChagchen
Metadata
Metadata
Assignees
Labels
No labels