Open trusktr opened 11 months ago
This is related to the ecmascript
package. When I comment out the package in .meteor/packages
, this error goes away, and the server runs fine (it has no import statements in it), but of course the client won't work.
I am able to work around the client not working by removing the few import
statements and instead using Package.*
to get dependencies in client/entry.ts
(compiled to client/entry.js
).
The rest of the client is plain vanilla ES modules located inside public/
, so no issues with that code, its the browser handling everything at that point (nice!).
I've not had any luck getting native ES modules working yet here:
Sidenote, this problem is caused when projects in the reproduction's super module repo (similar to a monorepo, but I'm using git submodules to pull in all the packages) are symlinked together with Yarn. This error goes away when things are not symlinked.
TLDR: this might show a problem with isobuild and handling symlinked dependencies in node_modules
.
Meteor 2.12
macOS
I am unable to run/build a project, I get an
EACCES
error fromisobuild
:It is similar to this issue in the forums:
https://forums.meteor.com/t/error-eacces-permission-denied-rename/57536
Reproduction:
This will cause the above error.