Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

Can't build example hi-temir #17

Open
maximilliangeorge opened this issue Apr 29, 2023 · 0 comments
Open

Can't build example hi-temir #17

maximilliangeorge opened this issue Apr 29, 2023 · 0 comments

Comments

@maximilliangeorge
Copy link

maximilliangeorge commented Apr 29, 2023

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 using npm run build I get the following error.

Steps to reproduce:

  1. git clone [email protected]:webfansplz/temir.git
  2. cd ./temir/examples/hi-temir
  3. npm install
  4. 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: []
}
@maximilliangeorge maximilliangeorge changed the title Can't build example hi-temir Can't build example hi-temir Apr 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant