Closed ziopod closed 2 years ago
Same issue with "the-vue-point" and Yarn:
yarn run v1.22.10
$ iles build
iles v0.2.2 vite v2.6.7
build error:
ReferenceError: performance is not defined
at withSpinner (/Volumes/vite/the-vue-point/node_modules/iles/dist/node/chunk-O4XPOHQQ.js:6:21)
at build (/Volumes/vite/the-vue-point/node_modules/iles/dist/node/chunk-SPI2F72X.js:27:61)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
error Command failed with exit code 1.
Thanks for reporting!
It seems related with Node 14, where performance
is not globally available (unlike in Node 16).
Releasing a patch soon 😃
Should be fixed in iles@0.2.3
, thanks for providing information about your environment!
After fresh new install:
I got this error:
My environment: