-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
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
isInUseContext #1
Comments
Hello @jgladen, I've got a different one. I've tried to reproduce your error and I've stuck on the same step yarn i18n-extract
yarn run v1.22.19
$ vite build
vite v3.1.1 building for production...
✓ 51 modules transformed.
'useLang' is not exported by node_modules/@builder.io/qwik/core.min.mjs, imported by src/i18n.js
file: /usr/justfun/qwik-i18n/src/i18n.js:4:21
2: import "@angular/localize/init";
3: import { loadTranslations } from "@angular/localize";
4: import { useEnvData, useLang, withLang, useOnDocument } from "@builder.io/qwik";
^
5: import EN from "./locale/message.en.json";
6: import SK from "./locale/message.sk.json";
error during build:
Error: 'useLang' is not exported by node_modules/@builder.io/qwik/core.min.mjs, imported by src/i18n.js
at error (file:///usr/justfun/qwik-i18n/node_modules/rollup/dist/es/shared/rollup.js:1858:30)
at Module.error (file:///usr/justfun/qwik-i18n/node_modules/rollup/dist/es/shared/rollup.js:12429:16)
at Module.traceVariable (file:///usr/justfun/qwik-i18n/node_modules/rollup/dist/es/shared/rollup.js:12788:29)
at ModuleScope.findVariable (file:///usr/justfun/qwik-i18n/node_modules/rollup/dist/es/shared/rollup.js:11440:39)
at TrackingScope.findVariable (file:///usr/justfun/qwik-i18n/node_modules/rollup/dist/es/shared/rollup.js:6372:38)
at BlockScope.findVariable (file:///usr/justfun/qwik-i18n/node_modules/rollup/dist/es/shared/rollup.js:6372:38)
at FunctionScope.findVariable (file:///usr/justfun/qwik-i18n/node_modules/rollup/dist/es/shared/rollup.js:6372:38)
at ChildScope.findVariable (file:///usr/justfun/qwik-i18n/node_modules/rollup/dist/es/shared/rollup.js:6372:38)
at Identifier.bind (file:///usr/justfun/qwik-i18n/node_modules/rollup/dist/es/shared/rollup.js:7439:40)
at CallExpression.bind (file:///usr/justfun/qwik-i18n/node_modules/rollup/dist/es/shared/rollup.js:5269:23)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn run v1.22.19
$ node_modules/.bin/localize-extract -s "dist/build/*.js" -f json -o src/locale/message.en.json
✨ Done in 1.04s. using node v16.14.2 |
I to am getting the same error now. since fixes for qwik-city . Maybe it's a development version of @builder.io/qwik ? |
Should be ok now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yarn build.client
reports:The text was updated successfully, but these errors were encountered: