-
Notifications
You must be signed in to change notification settings - Fork 0
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
Other ways to run CLASS #51
Comments
sverhoeven
added a commit
that referenced
this issue
Oct 11, 2024
Could also try a slimmed Docker image with https://pnpm.io/docker#example-1-build-a-bundle-in-a-docker-container and https://github.com/slimtoolkit/slim |
CLI almost works npx @classmodel/class config.json
Need to install the following packages:
@classmodel/[email protected]
Ok to proceed? (y)
node:internal/modules/esm/assert:88
throw new ERR_IMPORT_ATTRIBUTE_MISSING(url, 'type', validType);
^
TypeError [ERR_IMPORT_ATTRIBUTE_MISSING]: Module "file:///home/verhoes/.npm/_npx/ce43375ca7ce951b/node_modules/@classmodel/class/dist/config.json" needs an import attribute of "type: json"
at validateAttributes (node:internal/modules/esm/assert:88:15)
at defaultLoad (node:internal/modules/esm/load:132:3)
at async ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:479:32) {
code: 'ERR_IMPORT_ATTRIBUTE_MISSING'
}
Node.js v22.10.0
|
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be nice to be able to run the same CLASS code in different ways:
config.json
file as a command-line argumentThe text was updated successfully, but these errors were encountered: