An error occurred during docker deployment

Hey @Hao_Tan!

Can you share some more details? Which version you’re deploying, what steps you took to deploy it to Docker?

[[email protected] ~]# docker info
Containers: 6
Running: 6
Paused: 0
Stopped: 0
Images: 62
Server Version: 18.09.8
Storage Driver: overlay2
Backing Filesystem: xfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
runc version: 425e105d5a03fabd737a126ad93d62a9eeede87f
init version: fec3683
Security Options:
Profile: default
Kernel Version: 3.10.0-693.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 7.613GiB
Name: ceshi
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Experimental: true
Insecure Registries:
Registry Mirrors:
Live Restore Enabled: false
Product License: Community Engine

[[email protected] ~]# cat /proc/version
Linux version 3.10.0-693.el7.x86_64 ([email protected]) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC) ) #1 SMP Tue Aug 22 21:09:27 UTC 2017
[[email protected] ~]# cat /etc/issue
Kernel \r on an \m

[[email protected] ~]# cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)
[[email protected] ~]#

Does not look like you are docker deploying n8n rather building it yourself.

Anyway you seem to have outdated code. If you do a git pull it should work fine.

I modified the code of n8n and added my own node.

But I don’t seem to modify the code of the mail node

nodes/EmailSend.node.ts:213:22 - error TS2322: Type ‘SentMessageInfo’ is not assignable to type ‘IDataObject’.
Index signature is missing in type ‘SentMessageInfo’.

213 returnData.push({ json: info });

299 json: IDataObject;
The expected type comes from property ‘json’ which is declared here on type ‘INodeExecutionData’

Were you using the latest version of n8n when you modified the code? Are you getting this error when you build with the latest version?

As written above do you not use the latest code. That issue got already fixed a few days ago:

You have to run git pull. It will then run fine.