-
Notifications
You must be signed in to change notification settings - Fork 1.6k
yarn setup fails @budibase/types #11518
Replies: 3 comments · 8 replies
-
Hey @widojansen, which branch have you got checked out? Thanks |
Beta Was this translation helpful? Give feedback.
All reactions
-
I don't think we use |
Beta Was this translation helpful? Give feedback.
All reactions
-
I checked out develop branch at first. Now I also tested the master branch. Only containers running are proxy, Redis, couched and minio. Nothing else. Same error as before: These is a new one: complete log:
————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
$ yarn run dev:stack:up && rimraf dist/ && nodemon |
Beta Was this translation helpful? Give feedback.
All reactions
-
Hey @widojansen, if you're running on master branch this latest commit might fix the issue for you: 2dd1930 Hope this helps! |
Beta Was this translation helpful? Give feedback.
All reactions
-
Hey @widojansen Here's a few things to try:
Maybe try stopping those before hand as well. |
Beta Was this translation helpful? Give feedback.
All reactions
-
@melohagan
The main problem persists and is:
This error is repeated several times and when I check the path there is no dist folder in budibase/node_modules/@budibase/backend-core! |
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
And you tried to delete the node_modules folder and do another |
Beta Was this translation helpful? Give feedback.
All reactions
-
Also I do think I was wrong about the submodule command, so don't worry about it. |
Beta Was this translation helpful? Give feedback.
All reactions
-
@melohagan
Then 4 containers are running redis, minio, couchdb and proxy. Nothing else. The last part of the log is: When I check then there is no dist folder in the budibase/node_modules/@budibase/backend-core |
Beta Was this translation helpful? Give feedback.
All reactions
-
try diff --git a/packages/types/tsconfig.build.json b/packages/types/tsconfig.build.json
index 8df63fac57..fd2daae933 100644
--- a/packages/types/tsconfig.build.json
+++ b/packages/types/tsconfig.build.json
@@ -11,7 +11,8 @@
"sourceMap": true,
"declaration": true,
"skipLibCheck": true,
- "outDir": "dist"
+ "outDir": "dist",
+ "paths": {}
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist", "**/*.spec.ts", "**/*.spec.js"] |
Beta Was this translation helpful? Give feedback.
-
Hi,
I try to get a local development up and running but yarn setup always fails. (yarn && yarn build fails on the same spot.)
Tested on an Intel Mac and on an M2 Mac. Both with MacOS 13.5 and python 3.10.10, node 18.17.0, Yarn 1.22.19 and lerna 7.1.5
budibase/types always fails here:
@budibase/types: /Users/widojansen/Study/budibase/scripts/build.js:28
@budibase/types: delete tsconfigPathPluginContent.compilerOptions.paths[
@budibase/types: ^
@budibase/types: TypeError: Cannot convert undefined or null to object
@budibase/types: at runBuild (/Users/widojansen/Study/budibase/scripts/build.js:28:54)
@budibase/types: at Object. (/Users/widojansen/Study/budibase/scripts/build.js:87:3)
@budibase/types: at Module._compile (node:internal/modules/cjs/loader:1256:14)
@budibase/types: at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
@budibase/types: at Module.load (node:internal/modules/cjs/loader:1119:32)
@budibase/types: at Module._load (node:internal/modules/cjs/loader:960:12)
@budibase/types: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
@budibase/types: at node:internal/main/run_main_module:23:47
@budibase/types: Node.js v18.17.0
@budibase/types: error Command failed with exit code 1.
Please help!
Full log:
yarn run v1.22.19
$ git config submodule.recurse true && git submodule update && node ./hosting/scripts/setup.js && yarn && yarn build && yarn dev
Docker installed - continuing.
$ node scripts/syncProPackage.js
[1/5] 🔍 Validating package.json...
[2/5] 🔍 Resolving packages...
warning Resolution field "@budibase/backend-core@0.0.0" is incompatible with requested version "@budibase/backend-core@2.9.24-alpha.4"
warning Resolution field "@budibase/shared-core@0.0.0" is incompatible with requested version "@budibase/shared-core@2.9.24-alpha.4"
warning Resolution field "@budibase/string-templates@0.0.0" is incompatible with requested version "@budibase/string-templates@2.9.24-alpha.4"
warning Resolution field "@budibase/types@0.0.0" is incompatible with requested version "@budibase/types@2.9.24-alpha.4"
warning Resolution field "@budibase/backend-core@0.0.0" is incompatible with requested version "@budibase/backend-core@2.9.24-alpha.4"
warning Resolution field "@budibase/shared-core@0.0.0" is incompatible with requested version "@budibase/shared-core@2.9.24-alpha.4"
warning Resolution field "@budibase/string-templates@0.0.0" is incompatible with requested version "@budibase/string-templates@2.9.24-alpha.4"
warning Resolution field "@budibase/types@0.0.0" is incompatible with requested version "@budibase/types@2.9.24-alpha.4"
[3/5] 🚚 Fetching packages...
warning Pattern ["esprima-fb@~3001.0001.0000-dev-harmony-fb"] is trying to unpack in the same destination "/Users/widojansen/Library/Caches/Yarn/v6/npm-esprima-fb-3001.1.0-dev-harmony-fb-b77d37abcd38ea0b77426bb8bc2922ce6b426411-integrity/node_modules/esprima-fb" as pattern ["esprima-fb@~3001.1.0-dev-harmony-fb"]. This could result in non-deterministic behavior, skipping.
[4/5] 🔗 Linking dependencies...
warning "@budibase/backend-core > ioredis-mock@8.7.0" has unmet peer dependency "@types/ioredis-mock@^8".
warning "@budibase/backend-core > jest-serial-runner@1.2.1" has unmet peer dependency "jest-runner@24.x - 29.x".
warning " > @rollup/plugin-json@4.1.0" has unmet peer dependency "rollup@^1.20.0 || ^2.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/bbui > @spectrum-css/accordion@3.0.24" has incorrect peer dependency "@spectrum-css/icon@^3.0.21".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/bbui > @spectrum-css/accordion@3.0.24" has incorrect peer dependency "@spectrum-css/vars@^8.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/bbui > @spectrum-css/inlinealert@2.0.1" has incorrect peer dependency "@spectrum-css/icon@^3.0.4".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/bbui > @spectrum-css/inlinealert@2.0.1" has incorrect peer dependency "@spectrum-css/vars@^4.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/bbui > @spectrum-css/pagination@3.0.3" has unmet peer dependency "@spectrum-css/splitbutton@^3.0.1".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/bbui > @spectrum-css/tabs@3.2.12" has incorrect peer dependency "@spectrum-css/menu@^3.0.11-beta.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/bbui > @spectrum-css/tabs@3.2.12" has incorrect peer dependency "@spectrum-css/picker@^1.1.6-beta.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/bbui > @spectrum-css/tabs@3.2.12" has incorrect peer dependency "@spectrum-css/vars@^7.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/builder > @codemirror/autocomplete@6.7.1" has unmet peer dependency "@lezer/common@^1.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/builder > @spectrum-css/accordion@3.0.34" has unmet peer dependency "@spectrum-css/icon@^3.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/builder > @spectrum-css/accordion@3.0.34" has incorrect peer dependency "@spectrum-css/vars@^8.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/builder > cypress-multi-reporters@1.6.2" has unmet peer dependency "mocha@>=3.1.2".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/builder > mochawesome@7.1.3" has unmet peer dependency "mocha@>=7".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/builder > svelte-jester@1.8.2" has incorrect peer dependency "jest@<= 26".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/cli > ts-node@10.9.1" has unmet peer dependency "@types/node@*".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/client > @spectrum-css/card@3.0.3" has unmet peer dependency "@spectrum-css/actionbutton@^1.0.1".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/client > @spectrum-css/card@3.0.3" has unmet peer dependency "@spectrum-css/asset@^3.0.1".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/client > @spectrum-css/card@3.0.3" has unmet peer dependency "@spectrum-css/checkbox@^3.0.1".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/client > @spectrum-css/card@3.0.3" has unmet peer dependency "@spectrum-css/icon@^3.0.1".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/client > @spectrum-css/card@3.0.3" has unmet peer dependency "@spectrum-css/quickaction@^3.0.1".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/client > @spectrum-css/link@3.1.23" has incorrect peer dependency "@spectrum-css/vars@^8.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/client > @spectrum-css/tag@3.3.15" has unmet peer dependency "@spectrum-css/clearbutton@^1.2.10".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/client > @spectrum-css/tag@3.3.15" has incorrect peer dependency "@spectrum-css/vars@^8.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @socket.io/redis-adapter@8.2.1" has unmet peer dependency "socket.io-adapter@^2.4.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > koa2-ratelimit@1.1.1" has unmet peer dependency "mongoose@>= 5".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > koa2-ratelimit@1.1.1" has unmet peer dependency "sequelize@>=5.8.7".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > snowflake-promise > snowflake-sdk > asn1.js-rfc2560@5.0.1" has unmet peer dependency "asn1.js@^5.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/actionbutton@1.1.14" has incorrect peer dependency "@spectrum-css/vars@^8.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/actiongroup@1.0.26" has incorrect peer dependency "@spectrum-css/vars@^8.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/buttongroup@3.0.10" has incorrect peer dependency "@spectrum-css/button@^4.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/buttongroup@3.0.10" has incorrect peer dependency "@spectrum-css/vars@^4.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/checkbox@3.1.3" has incorrect peer dependency "@spectrum-css/vars@^8.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/dialog@3.0.12" has incorrect peer dependency "@spectrum-css/button@^4.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/dialog@3.0.12" has incorrect peer dependency "@spectrum-css/vars@^4.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/dropzone@3.0.34" has incorrect peer dependency "@spectrum-css/illustratedmessage@^4.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/dropzone@3.0.34" has incorrect peer dependency "@spectrum-css/vars@^8.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/fieldgroup@3.1.4" has incorrect peer dependency "@spectrum-css/vars@^8.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/icon@3.0.33" has incorrect peer dependency "@spectrum-css/vars@^8.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/illustratedmessage@3.0.17" has incorrect peer dependency "@spectrum-css/typography@^4.0.8-beta.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/illustratedmessage@3.0.17" has incorrect peer dependency "@spectrum-css/vars@^7.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/inlinealert@2.0.6" has incorrect peer dependency "@spectrum-css/vars@^4.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/inputgroup@3.0.8" has incorrect peer dependency "@spectrum-css/vars@^4.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/menu@3.0.21" has incorrect peer dependency "@spectrum-css/vars@^7.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/modal@3.0.31" has incorrect peer dependency "@spectrum-css/vars@^8.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/pagination@3.0.11" has incorrect peer dependency "@spectrum-css/button@^4.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/pagination@3.0.11" has unmet peer dependency "@spectrum-css/splitbutton@^3.0.4".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/pagination@3.0.11" has incorrect peer dependency "@spectrum-css/vars@^4.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/picker@1.2.21" has incorrect peer dependency "@spectrum-css/menu@^4.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/picker@1.2.21" has incorrect peer dependency "@spectrum-css/popover@^5.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/picker@1.2.21" has incorrect peer dependency "@spectrum-css/vars@^8.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/popover@3.0.11" has incorrect peer dependency "@spectrum-css/vars@^4.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/progressbar@1.0.33" has incorrect peer dependency "@spectrum-css/fieldlabel@^4.0.24".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/progressbar@1.0.33" has incorrect peer dependency "@spectrum-css/vars@^8.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/progresscircle@1.0.23" has incorrect peer dependency "@spectrum-css/vars@^8.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/radio@3.0.24" has incorrect peer dependency "@spectrum-css/vars@^8.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/search@3.1.2" has incorrect peer dependency "@spectrum-css/button@^4.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/search@3.1.2" has incorrect peer dependency "@spectrum-css/vars@^4.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/sidenav@3.0.34" has incorrect peer dependency "@spectrum-css/vars@^8.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/statuslight@3.0.8" has incorrect peer dependency "@spectrum-css/vars@^4.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/stepper@3.0.37" has incorrect peer dependency "@spectrum-css/vars@^8.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/switch@1.0.23" has incorrect peer dependency "@spectrum-css/vars@^8.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/tabs@3.2.30" has incorrect peer dependency "@spectrum-css/menu@^4.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/tabs@3.2.30" has incorrect peer dependency "@spectrum-css/vars@^8.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/textfield@3.2.14" has incorrect peer dependency "@spectrum-css/vars@^8.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/tooltip@3.1.20" has incorrect peer dependency "@spectrum-css/vars@^8.0.0".
warning "workspace-aggregator-bd5c93a3-1a99-42de-bdf3-d1749ca34aeb > @budibase/server > @budibase/standard-components > @budibase/bbui > @spectrum-css/underlay@2.0.39" has incorrect peer dependency "@spectrum-css/vars@^8.0.0".
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
[5/5] 🔨 Building fresh packages...
[24/32] ⠄ oracledb
[9/32] ⠄ cpu-features
[27/32] ⠄ dd-trace
[7/32] ⠄ leveldown
warning Error running install script for optional dependency: "/Users/widojansen/Study/budibase/node_modules/oracledb: Command failed.
Exit code: 87
Command: node package/install.js
Arguments:
Directory: /Users/widojansen/Study/budibase/node_modules/oracledb
success Saved lockfile.
$ husky install
husky - Git hooks installed
$ lerna run build --stream
lerna notice cli v7.1.1
—————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
@budibase/string-templates: $ tsc && rollup -c
@budibase/cli: $ rm -rf prebuilds 2> /dev/null && cp -r ../../node_modules/leveldown/prebuilds prebuilds
@budibase/types: $ rimraf dist/
@budibase/server: $ rimraf dist/
@budibase/worker: $ rimraf dist/
@budibase/cli: $ yarn prebuild && yarn rename && yarn tsc && yarn pkg && yarn postbuild
@budibase/server: $ node ./scripts/build.js
@budibase/types: $ node ../../scripts/build.js && tsc -p tsconfig.build.json --emitDeclarationOnly
$ node ../../scripts/build.js
@budibase/cli: $ rm -rf prebuilds 2> /dev/null && cp -r ../../node_modules/leveldown/prebuilds prebuilds
@budibase/types: /Users/widojansen/Study/budibase/scripts/build.js:28
@budibase/types: delete tsconfigPathPluginContent.compilerOptions.paths[
@budibase/types: ^
@budibase/types: TypeError: Cannot convert undefined or null to object
@budibase/types: at runBuild (/Users/widojansen/Study/budibase/scripts/build.js:28:54)
@budibase/types: at Object. (/Users/widojansen/Study/budibase/scripts/build.js:87:3)
@budibase/types: at Module._compile (node:internal/modules/cjs/loader:1256:14)
@budibase/types: at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
@budibase/types: at Module.load (node:internal/modules/cjs/loader:1119:32)
@budibase/types: at Module._load (node:internal/modules/cjs/loader:960:12)
@budibase/types: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
@budibase/types: at node:internal/main/run_main_module:23:47
@budibase/types: Node.js v18.17.0
@budibase/types: error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
@budibase/server: ▲ [WARNING] Using direct eval with a bundler is not recommended and may cause problems [direct-eval]
@budibase/server: src/db/inMemoryView.ts:29:4:
@budibase/server: 29 │ eval("fn = " + view?.map?.replace("function (doc)", "function ...
@budibase/server: ╵ ~~~~
@budibase/server: You can read more about direct eval and bundling here: https://esbuild.github.io/link/direct-eval
@budibase/server: ▲ [WARNING] Using direct eval with a bundler is not recommended and may cause problems [direct-eval]
@budibase/server: src/db/inMemoryView.ts:29:4:
@budibase/server: 29 │ eval("fn = " + view?.map?.replace("function (doc)", "function ...
@budibase/server: ╵ ~~~~
@budibase/server: You can read more about direct eval and bundling here: https://esbuild.github.io/link/direct-eval
@budibase/worker: Build successfully in 0.464 seconds
@budibase/server: ▲ [WARNING] Using direct eval with a bundler is not recommended and may cause problems [direct-eval]
@budibase/server: src/db/inMemoryView.ts:29:4:
@budibase/server: 29 │ eval("fn = " + view?.map?.replace("function (doc)", "function ...
@budibase/server: ╵ ~~~~
@budibase/server: You can read more about direct eval and bundling here: https://esbuild.github.io/link/direct-eval
@budibase/cli: $ renamer --find .node --replace .fake 'prebuilds/**'
@budibase/server: Build successfully in 0.811 seconds
@budibase/server: Build successfully in 0.861 seconds
@budibase/server: Build successfully in 0.927 seconds
@budibase/server: $ copyfiles -f ../client/dist/budibase-client.js ../client/manifest.json client
@budibase/cli: ✔︎ prebuilds/android-arm/node.napi.armv7.node → prebuilds/android-arm/node.napi.armv7.fake
@budibase/cli: ✔︎ prebuilds/android-arm64/node.napi.armv8.node → prebuilds/android-arm64/node.napi.armv8.fake
@budibase/cli: ✔︎ prebuilds/darwin-x64/node.napi.node → prebuilds/darwin-x64/node.napi.fake
@budibase/cli: ✔︎ prebuilds/linux-arm/node.napi.armv6.node → prebuilds/linux-arm/node.napi.armv6.fake
@budibase/cli: ✔︎ prebuilds/linux-arm/node.napi.armv7.node → prebuilds/linux-arm/node.napi.armv7.fake
@budibase/cli: ✔︎ prebuilds/linux-arm64/node.napi.armv8.node → prebuilds/linux-arm64/node.napi.armv8.fake
@budibase/cli: ✔︎ prebuilds/linux-x64/node.napi.glibc.node → prebuilds/linux-x64/node.napi.glibc.fake
@budibase/cli: ✔︎ prebuilds/linux-x64/node.napi.musl.node → prebuilds/linux-x64/node.napi.musl.fake
@budibase/cli: ✔︎ prebuilds/win32-ia32/node.napi.node → prebuilds/win32-ia32/node.napi.fake
@budibase/cli: ✔︎ prebuilds/win32-x64/node.napi.node → prebuilds/win32-x64/node.napi.fake
@budibase/cli: Rename complete: 10 of 19 files renamed.
$ node ../../scripts/build.js
@budibase/cli: Build successfully in 0.413 seconds
@budibase/cli: $ pkg . --out-path build --no-bytecode --public --public-packages "*" -C GZip
@budibase/cli: > pkg@5.8.0
@budibase/cli: compression: GZip
@budibase/cli: > Warning Cannot find module '@budibase/backend-core' from '/Users/widojansen/Study/budibase/packages/cli/dist' in /Users/widojansen/Study/budibase/packages/cli/dist/index.js
@budibase/cli: > Warning Cannot find module '@budibase/types' from '/Users/widojansen/Study/budibase/packages/cli/dist' in /Users/widojansen/Study/budibase/packages/cli/dist/index.js
@budibase/cli: > Warning Cannot find module '@budibase/backend-core' from '/Users/widojansen/Study/budibase/packages/cli/dist' in /Users/widojansen/Study/budibase/packages/cli/dist/index.js
@budibase/cli: > Warning Cannot find module '@budibase/backend-core' from '/Users/widojansen/Study/budibase/packages/cli/dist' in /Users/widojansen/Study/budibase/packages/cli/dist/index.js
@budibase/cli: > Warning Cannot find module '@budibase/backend-core' from '/Users/widojansen/Study/budibase/packages/cli/dist' in /Users/widojansen/Study/budibase/packages/cli/dist/index.js
@budibase/string-templates:
@budibase/string-templates: src/index.mjs → ./dist/bundle.mjs...
@budibase/cli: > Warning Cannot include directory %1 into executable.
@budibase/cli: The directory must be distributed with executable as %2.
@budibase/cli: %1: ../../node_modules/leveldown/prebuilds
@budibase/cli: %2: path-to-executable/prebuilds
@budibase/cli: > Warning Cannot include directory %1 into executable.
@budibase/cli: The directory must be distributed with executable as %2.
@budibase/cli: %1: ../../node_modules/leveldown/prebuilds
@budibase/cli: %2: path-to-executable/prebuilds
@budibase/string-templates: created ./dist/bundle.mjs in 8s
@budibase/cli: $ rm -rf prebuilds 2> /dev/null
@budibase/cli: $ rm -rf prebuilds 2> /dev/null
—————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
Tasks not run because their dependencies failed or --nx-bail=true:
Failed tasks:
View structured, searchable error logs at https://nx.app/runs/QM7bXNcTRN
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Beta Was this translation helpful? Give feedback.
All reactions