File tree 1 file changed +4
-2
lines changed
npm-packages/convex/src/bundler
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -156,8 +156,10 @@ async function doEsbuild(
156
156
// We don't print any error because esbuild already printed
157
157
// all the relevant information.
158
158
printedMessage : recommendUseNode
159
- ? `It looks like you are using Node APIs from a file without the "use node" directive.\n` +
160
- `See https://docs.convex.dev/functions/runtimes#nodejs-runtime`
159
+ ? `\nIt looks like you are using Node APIs from a file without the "use node" directive.\n` +
160
+ `Split out actions using Node.js APIs like this into a new file only containing actions that uses "use node" ` +
161
+ `so these actions will run in a Node.js environment.\n` +
162
+ `For more information see https://docs.convex.dev/functions/runtimes#nodejs-runtime\n`
161
163
: null ,
162
164
} ) ;
163
165
}
You can’t perform that action at this time.
0 commit comments