Skip to content
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

Update shell.js to fix broken build after Meteor 2.3 + node 14 #6

Closed
evan-coygo opened this issue Feb 11, 2022 · 1 comment · Fixed by #7
Closed

Update shell.js to fix broken build after Meteor 2.3 + node 14 #6

evan-coygo opened this issue Feb 11, 2022 · 1 comment · Fixed by #7

Comments

@evan-coygo
Copy link

See wojtkowiak#303

Projects on Meteor 2.3+ will see this error when building on local

internal/fs/utils.js:811
  throw new ERR_INVALID_ARG_TYPE(
  ^

TypeError [ERR_INVALID_ARG_TYPE] [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined
    at Object.writeFileSync (fs.js:1521:5)
    at Module.<anonymous> (/home/evan/.meteor/packages/meteor-tool/.2.6.0.vf20yq.9k39d++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/tools/fs/tools/fs/files.ts:1493:23)
    at packages/meteor-desktop-bundler/bundler.js:869:48
    at runAsync (/home/evan/devel/coygo/webapp/node_modules/@babel/core/lib/transformation/index.js:40:10)
    at /home/evan/devel/coygo/webapp/node_modules/@babel/core/lib/transform.js:34:34
    at processTicksAndRejections (internal/process/task_queues.js:77:11) {
  code: 'ERR_INVALID_ARG_TYPE'
}
@evan-coygo
Copy link
Author

@KoenLav can we get this published to npm so we can release fixes like this? See #5

StorytellerCZ added a commit that referenced this issue Apr 11, 2022
fix/meteor 2.6 for #6, changes to publish to npm/atmosphere under new org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant