Skip to content
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

Closed
wants to merge 18 commits into from
Closed

build fixes #188

wants to merge 18 commits into from

Conversation

grctest
Copy link
Contributor

@grctest grctest commented Aug 30, 2022

Fix bitsharesjs reference

@grctest grctest changed the title Update package.json build fixes Aug 30, 2022
appveyor.yml Outdated Show resolved Hide resolved
max_jobs: 3
platform:
- x64
environment:
nodejs_version: 12
nodejs_version: 16
GITHUB_TOKEN:
secure: jr08/oNuLLnJAth0P0/KslT6bJPfGGA/QkkPWo83z82i0R+U6jJMZxWVrqDBMXKL
cache:
Copy link
Member

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

Copy link
Contributor Author

@grctest grctest Aug 30, 2022

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.

Copy link
Contributor Author

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

@grctest
Copy link
Contributor Author

grctest commented Aug 31, 2022

Relevant for github action: https://github.com/marketplace/actions/electron-builder-action

@grctest grctest closed this Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants