You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have deploy you boilerplate in a fresh ubuntu server. When i ran npm run build the console goes Brrrr, and an error occured (unexped token '('... ).
This error was here because in the package.json, in the "typecheck" script, tsc is called directly, to avoid other issue i suggest you should change this script from :
This change assures us that it will call tsc correctly and then build everything correctly. Don't forget by default that those who made Linux are not like us, they will always make something that works but without any ergonomics.
Hoping to help you, and thank you again for your boilerplate.
The text was updated successfully, but these errors were encountered:
MehdiBenbahri
changed the title
Npx should be marked in package.json in ubuntu
Npx should be precise in package.json for Linux environnement
Oct 4, 2023
Hi there,
I have deploy you boilerplate in a fresh ubuntu server. When i ran npm run build the console goes Brrrr, and an error occured (unexped token '('... ).
This error was here because in the package.json, in the "typecheck" script, tsc is called directly, to avoid other issue i suggest you should change this script from :
"typecheck": "tsc --noEmit -p client/tsconfig.json && tsc --noEmit -p server/tsconfig.json",
to
"typecheck": "npx tsc --noEmit -p client/tsconfig.json && npx tsc --noEmit -p server/tsconfig.json",
This change assures us that it will call tsc correctly and then build everything correctly. Don't forget by default that those who made Linux are not like us, they will always make something that works but without any ergonomics.
Hoping to help you, and thank you again for your boilerplate.
The text was updated successfully, but these errors were encountered: