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

Update metavm.js #121

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update metavm.js #121

wants to merge 1 commit into from

Conversation

pyummm
Copy link

@pyummm pyummm commented Dec 15, 2023

Not working in container

api-example | /usr/server/node_modules/metavm/metavm.js:34
api-example | Blob,
api-example | ^
api-example |
api-example | ReferenceError: Blob is not defined
api-example | at Object. (/usr/server/node_modules/metavm/metavm.js:34:3)
api-example | at Module._compile (node:internal/modules/cjs/loader:1198:14)
api-example | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
api-example | at Module.load (node:internal/modules/cjs/loader:1076:32)
api-example | at Function.Module._load (node:internal/modules/cjs/loader:911:12)
api-example | at Module.require (node:internal/modules/cjs/loader:1100:19)
api-example | at require (node:internal/modules/cjs/helpers:119:18)
api-example | at Object. (/usr/server/node_modules/metaconfiguration/config.js:3:16)
api-example | at Module._compile (node:internal/modules/cjs/loader:1198:14)
api-example | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
api-example exited with code 0

  • tests and linter show no problems (npm t)
  • tests are added/updated for bug fixes and new features
  • code is properly formatted (npm run fmt)
  • description of changes is added in CHANGELOG.md
  • update .d.ts typings

api-example  | /usr/server/node_modules/metavm/metavm.js:34
api-example  |   Blob,
api-example  |   ^
api-example  |
api-example  | ReferenceError: Blob is not defined
api-example  |     at Object.<anonymous> (/usr/server/node_modules/metavm/metavm.js:34:3)
api-example  |     at Module._compile (node:internal/modules/cjs/loader:1198:14)
api-example  |     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
api-example  |     at Module.load (node:internal/modules/cjs/loader:1076:32)
api-example  |     at Function.Module._load (node:internal/modules/cjs/loader:911:12)
api-example  |     at Module.require (node:internal/modules/cjs/loader:1100:19)
api-example  |     at require (node:internal/modules/cjs/helpers:119:18)
api-example  |     at Object.<anonymous> (/usr/server/node_modules/metaconfiguration/config.js:3:16)
api-example  |     at Module._compile (node:internal/modules/cjs/loader:1198:14)
api-example  |     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
api-example exited with code 0
@tshemsedinov
Copy link
Member

Please provide versions of node and npm, @pyummm
I do not believe that it is related to container itself, looks like you have old version of node, maybe we do not support it.
Class Blob is global identifier in node since 18.0 and we do not support old node versions, dropped due to LTS schedule

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.

None yet

2 participants