We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
package.json
https://github.com/fable-compiler/Fable/blob/main/src/fable-compiler-js/package.json
"dependencies": { "fable-metadata": "^2.0.0", "fable-standalone": "^3.0.0" },
is outdated, and since
https://github.com/fable-compiler/Fable/blob/main/src/fable-compiler-js/src/app.fs
tries to call new npm package: @fable-org/fable-metadata etc., npx fable fails to launch.
@fable-org/fable-metadata
npx fable
node:internal/modules/esm/resolve:845 throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base), null); ^ Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@fable-org/fable-metadata' imported from /home/ken/Documents/p/c/fable/counter/node_modules/@fable-org/fable-compiler-js/dist/app.min.js at packageResolve (node:internal/modules/esm/resolve:845:9
Also,
dirname-filename-esm dependency is missing.
dirname-filename-esm
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'dirname-filename-esm' imported from /home/ken/Documents/p/c/fable/counter/node_modules/@fable-org/fable-compiler-js/node_modules/@fable-org/fable-metadata/index.js
npm install fable-compiler-js npx fable <PROJECT_PATH> <OUT_DIR> [--options]
https://www.npmjs.com/package/@fable-org/fable-compiler-js
npx fable command should work after the npm installation, but actually fails because the package.json dependencies are broken
npm
@fable-org/fable-compiler-js 1.1.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
https://github.com/fable-compiler/Fable/blob/main/src/fable-compiler-js/package.json
is outdated, and since
https://github.com/fable-compiler/Fable/blob/main/src/fable-compiler-js/src/app.fs
tries to call new npm package:
@fable-org/fable-metadata
etc.,npx fable
fails to launch.Also,
dirname-filename-esm
dependency is missing.Repro code
https://www.npmjs.com/package/@fable-org/fable-compiler-js
Expected and actual results
npx fable
command should work after thenpm
installation, but actually fails because thepackage.json
dependencies are brokenRelated information
@fable-org/fable-compiler-js
1.1.0
The text was updated successfully, but these errors were encountered: