I can’t see why …
node-wa# n8n-node-dev build
Build credentials and nodes
=========================
The nodes got build and saved into the following folder:
/root/.n8n/custom
node-wa# grep require *ts
const os = require('os');
const axios = require('axios');
node-wa# n8n-node-dev build
Build credentials and nodes
=========================
The nodes got build and saved into the following folder:
/root/.n8n/custom
node-wa# npm list -g | egrep "n8n|axios"
├─┬ [email protected]
├─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ ├─┬ [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected] deduped
│ ├─┬ [email protected]
│ ├─┬ [email protected]
│ │ │ │ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ ├─┬ [email protected]
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected] deduped
│ ├─┬ [email protected]
node-wa# cat ../../run
#!/bin/sh
#
export NODE_FUNCTION_ALLOW_BUILTIN=*
n8n
node-wa# sh ../../run
(node:19017) UnhandledPromiseRejectionWarning: Error: There was an error: Cannot find module 'axios'
at Object.error (/usr/lib/node_modules/n8n/node_modules/@oclif/errors/lib/index.js:26:15)
at Start.error (/usr/lib/node_modules/n8n/node_modules/@oclif/command/lib/command.js:60:23)
at /usr/lib/node_modules/n8n/dist/commands/start.js:114:22
(node:19017) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)
(node:19017) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
node-wa#