Local app works, but Push To Deploy is unable to build

I have this app:

It works fine locally (see running instruction in README).

However Push to Deploy fails with errors like these:

2022-04-17 12:34:35-07:00client/imports/Messages.tsx: /home/mt/repo/client/imports/Messages.tsx:v0000
2022-04-17 12:34:35-07:00Namespace tags are not supported by default. React's JSX doesn't supportv0000
2022-04-17 12:34:35-07:00namespace tags. You can set `throwIfNamespace: false` to bypass this warning.v0000
2022-04-17 12:34:35-07:00114 | <Show when={user()} fallback={<input placeholder="Sign inv0000
2022-04-17 12:34:35-07:00to comment." disabled/>}>v0000
2022-04-17 12:34:35-07:00115 | <form className="message-form" onsubmit={addMessage}>v0000
2022-04-17 12:34:35-07:00> 116 | <input type="text" use:model={[() =>v0000
2022-04-17 12:34:35-07:00data.newMessage, v => (data.newMessage = v)]} placeholder="enter a message"v0000
2022-04-17 12:34:35-07:00required/>v0000
2022-04-17 12:34:35-07:00| ^^^^^^^^^

Maybe this is because the Push to Deploy script runs meteor npm install, but locally I use npm directly by running npm install. I prefer being on current tooling. meteor npm is at 6.14, while npm is 8.6.

So far I’ve tried to use Push to Deploy for 4 apps, but zero of them successfully have Push to Deploy enabled. :sweat_smile: Push to Deploy needs some smoothing, needs to reflect environments more similar to what developers actually use.

Btw, is it possible to install system dependencies? I think that would help with this issue, as well as Push To Deploy is unable to install dependencies

Hi @trusktr,
Probably the problem is related to the npm version. Could you try removing the node_modules folder, package-lock.json, and run meteor npm install to see if that solves the issue?

Sorry I didn’t follow up here. I switched to NodeChef: easy to use without any hiccups, good enough for what I need.