-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build fixes #188
build fixes #188
Conversation
Fix bitsharesjs reference
max_jobs: 3 | ||
platform: | ||
- x64 | ||
environment: | ||
nodejs_version: 12 | ||
nodejs_version: 16 | ||
GITHUB_TOKEN: | ||
secure: jr08/oNuLLnJAth0P0/KslT6bJPfGGA/QkkPWo83z82i0R+U6jJMZxWVrqDBMXKL | ||
cache: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess the permission issue Appveyor reports (EPERM: operation not permitted, unlink
) can be solved by not caching the node modules?
phoenixframework/phoenix#2464 -> lint-staged/lint-staged#274 -> lint-staged/lint-staged#289
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doing so made some progress, now failing to minify bitsharesjs (develop branch):
$ cross-env NODE_ENV=production minify build/bitsharesjs.js --mangle --outFile build/bitsharesjs.min.js
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module './_baseGetTag'
Require stack:
The EPERM
error still ocurrs, however appveyor passes by it now treating it as a warning.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yarn run dist
works in my beet dev environment, so it's something environmental in appveyor
Relevant for github action: https://github.com/marketplace/actions/electron-builder-action |
Fix bitsharesjs reference