🕹️ Open-source, developer-first LLMOps platform designed to streamline prompt design, version management, instant delivery, collaboration, troubleshooting, observability and more.
An error is thrown when trying to build the project:
"./node_modules/@pezzo/client/index.esm.js:1:0 - Error: Module parse failed: 'import' and 'export' may appear only with >'sourceType: module' (1:0)
File was processed with these loaders:
./node_modules/@angular-devkit/build-angular/src/tools/babel/webpack-loader.js
You may need an additional loader to handle the result of these loaders.
import 'reflect-metadata';
| import { awaiter, decorate, __metadata } from 'tslib';
| import fetch from 'cross-fetch';"
Report
An error is thrown when trying to build the project:
Angular version - 16.2.2
In tsconfig.json: "compilerOptions": { "baseUrl": "./", "outDir": "./dist/out-tsc", "sourceMap": true, "allowSyntheticDefaultImports": true, "declaration": false, "module": "es2020", "moduleResolution": "node", "emitDecoratorMetadata": true, "experimentalDecorators": true, "importHelpers": true, "target": "ES2022", "skipLibCheck": true, "typeRoots": ["node_modules/@types", "src/typings.d.ts"], "lib": ["es2018", "dom"] }"
Expected behavior
No response
Steps to reproduce the problem
No response
Logs (if applicable)
No response
Pezzo version
0.4.18
How do you use Pezzo?
Local Development Setup