Now: I am trying to build the examples on my machine (MacOS, Node 18), in particular the examples/hi-temir example. npm run dev works fine, but when I try to build using npm run build I get the following error.
Steps to reproduce:
git clone git@github.com:webfansplz/temir.git
cd ./temir/examples/hi-temir
npm install
npm run build
errors: [
{
id: '',
pluginName: '',
text: 'Expected value for define "__VUE_OPTIONS_API__" to be a string, got boolean instead',
location: {
file: '/Users/maximillian/Development/temir/examples/hi-temir/node_modules/esbuild/lib/main.js',
namespace: 'file',
line: 299,
column: 10,
length: 0,
lineText: ' throw new Error(`Expected value for ${what}${key !== void 0 ? " " + quote(key) : ""} to be a string, got ${typeof value} instead`);\n' +
' at validateStringValue (/Users/maximillian/Development/temir/examples/hi-temir/node_modules/esbuild/lib/main.js:299:11)\n' +
' at pushCommonFlags (/Users/maximillian/Development/temir/examples/hi-temir/node_modules/esbuild/lib/main.js:390:37)\n' +
' at flagsForBuildOptions (/Users/maximillian/Development/temir/examples/hi-temir/node_modules/esbuild/lib/main.js:424:3)\n' +
' at buildOrContextContinue (/Users/maximillian/Development/temir/examples/hi-temir/node_modules/esbuild/lib/main.js:1009:9)\n' +
' at /Users/maximillian/Development/temir/examples/hi-temir/node_modules/esbuild/lib/main.js:983:11',
suggestion: ''
},
notes: [],
detail: Error: Expected value for define "__VUE_OPTIONS_API__" to be a string, got boolean instead
at validateStringValue (/Users/maximillian/Development/temir/examples/hi-temir/node_modules/esbuild/lib/main.js:299:11)
at pushCommonFlags (/Users/maximillian/Development/temir/examples/hi-temir/node_modules/esbuild/lib/main.js:390:37)
at flagsForBuildOptions (/Users/maximillian/Development/temir/examples/hi-temir/node_modules/esbuild/lib/main.js:424:3)
at buildOrContextContinue (/Users/maximillian/Development/temir/examples/hi-temir/node_modules/esbuild/lib/main.js:1009:9)
at /Users/maximillian/Development/temir/examples/hi-temir/node_modules/esbuild/lib/main.js:983:11
}
],
warnings: []
}
First of all: super cool framework.
Now: I am trying to build the examples on my machine (MacOS, Node 18), in particular the
examples/hi-temir
example.npm run dev
works fine, but when I try to build usingnpm run build
I get the following error.Steps to reproduce:
git clone git@github.com:webfansplz/temir.git
cd ./temir/examples/hi-temir
npm install
npm run build