Skip to content
This repository has been archived by the owner on Aug 29, 2022. It is now read-only.

Error building next app #5

Closed
matthieuh opened this issue Jul 23, 2022 · 2 comments
Closed

Error building next app #5

matthieuh opened this issue Jul 23, 2022 · 2 comments

Comments

@matthieuh
Copy link

matthieuh commented Jul 23, 2022

Running yarn build from the /next folder i'm getting this error:

SyntaxError: Unexpected token 'export'
    at Object.compileFunction (node:vm:352:18)
    at wrapSafe (node:internal/modules/cjs/loader:1033:15)
    at Module._compile (node:internal/modules/cjs/loader:1069:27)
    at Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
    at Object.newLoader (/Users/matthieuh/workspace/perso/starters/next-expo-solito/node_modules/esbuild-register/dist/node.js:2262:9)
    at Object.extensions..js (/Users/matthieuh/workspace/perso/starters/next-expo-solito/node_modules/esbuild-register/dist/node.js:4801:24)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at ChildProcess.listener (/Users/matthieuh/workspace/perso/starters/next-expo-solito/node_modules/@tamagui/static/dist/cjs/extractor/getStaticBindingsForScope.js:68:13)

I'm trying to build next on this commit: 33e7fe0

@natew
Copy link
Member

natew commented Jul 30, 2022

@matthieuh can you try the new version, I think we've fixed this.

@matthieuh
Copy link
Author

I confirm it now works! Great job you are doing with Tamagui 💜

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

2 participants